-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdataset.h
34 lines (32 loc) · 1.05 KB
/
dataset.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include <string>
#include "TChain.h"
//class to hold information about the dataset. This will be extracted during config parsing.
class Dataset{
std::string name_;
float lumi_;
bool isMC_;
float crossSection_;
std::string fillName_;
std::string treeName_;
std::string fileList_;
long totalEvents_;
int colour_;
std::string plotLabel_;
std::string plotType_;
std::string triggerFlag_;
public:
Dataset(std::string name, float lumi, bool isMC, float crossSection, std::string fileList, std::string histoName, std::string treeName,long,int,std::string,std::string,std::string);
std::string name(){return name_;};
float lumi(){return lumi_;};
bool isMC(){return isMC_;};
std::string getFillHisto(){return fillName_;};
std::string treeName(){return treeName_;};
int getColour(){return colour_;};
std::string getPlotLabel(){return plotLabel_;};
std::string getPlotType(){return plotType_;};
int fillChain(TChain*, int);
float getDatasetWeight(double);
float getEventWeight();
std::string getTriggerFlag(){return triggerFlag_;};
}
;