54 |
|
bool evaluateTriggers (vector<string>,const BNtriggerCollection*); |
55 |
|
double applyFunction(string, double); |
56 |
|
|
57 |
< |
double valueLookup (const BNjet*, string, string); |
58 |
< |
double valueLookup (const BNmuon*, string, string); |
59 |
< |
double valueLookup (const BNelectron*, string, string); |
60 |
< |
double valueLookup (const BNevent*, string, string); |
61 |
< |
double valueLookup (const BNtau*, string, string); |
62 |
< |
double valueLookup (const BNmet*, string, string); |
63 |
< |
double valueLookup (const BNtrack*, string, string); |
64 |
< |
double valueLookup (const BNgenjet*, string, string); |
65 |
< |
double valueLookup (const BNmcparticle*, string, string); |
66 |
< |
double valueLookup (const BNprimaryvertex*, string, string); |
67 |
< |
double valueLookup (const BNbxlumi*, string, string); |
68 |
< |
double valueLookup (const BNphoton*, string, string); |
69 |
< |
double valueLookup (const BNsupercluster*, string, string); |
57 |
> |
double valueLookup (const BNjet* object, string variable, string function = ""); |
58 |
> |
double valueLookup (const BNmuon* object, string variable, string function = ""); |
59 |
> |
double valueLookup (const BNelectron* object, string variable, string function = ""); |
60 |
> |
double valueLookup (const BNevent* object, string variable, string function = ""); |
61 |
> |
double valueLookup (const BNtau* object, string variable, string function = ""); |
62 |
> |
double valueLookup (const BNmet* object, string variable, string function = ""); |
63 |
> |
double valueLookup (const BNtrack* object, string variable, string function = ""); |
64 |
> |
double valueLookup (const BNgenjet* object, string variable, string function = ""); |
65 |
> |
double valueLookup (const BNmcparticle* object, string variable, string function = ""); |
66 |
> |
double valueLookup (const BNprimaryvertex* object, string variable, string function = ""); |
67 |
> |
double valueLookup (const BNbxlumi* object, string variable, string function = ""); |
68 |
> |
double valueLookup (const BNphoton* object, string variable, string function = ""); |
69 |
> |
double valueLookup (const BNsupercluster* object, string variable, string function = ""); |
70 |
|
//BNskimbits |
71 |
– |
//BNtrigger |
71 |
|
//BNtrigobj |
72 |
|
|
73 |
|
vector<string> splitString (string); |
106 |
|
|
107 |
|
|
108 |
|
vector<edm::ParameterSet> channels_; |
109 |
+ |
vector<edm::ParameterSet> histogramSets_; |
110 |
|
|
111 |
|
vector<map<string, TH1D*> > oneDHists_; |
112 |
|
|
115 |
|
CutFlow *masterCutFlow_; |
116 |
|
vector<CutFlow *> cutFlows_; |
117 |
|
|
118 |
+ |
typedef struct { |
119 |
+ |
string name; |
120 |
+ |
string title; |
121 |
+ |
vector<double> bins; |
122 |
+ |
string inputCollection; |
123 |
+ |
string inputVariable; |
124 |
+ |
string function; |
125 |
+ |
} histogram; |
126 |
|
|
127 |
|
struct cut { |
128 |
|
string inputCollection; |
139 |
|
string name; |
140 |
|
vector<string> triggers; |
141 |
|
vector<cut> cuts; |
134 |
– |
vector<string> inputCollections; |
142 |
|
}; |
143 |
|
|
144 |
+ |
vector<string> objectsToPlot; |
145 |
|
vector<string> allNecessaryObjects; |
146 |
|
vector<channel> channels; |
147 |
+ |
vector<histogram> histograms; |
148 |
|
|
149 |
|
template <class InputCollection> void setObjectFlags(cut &, uint, flagMap &, flagMap &, InputCollection, string); |
150 |
+ |
template <class InputCollection> void fillHistogram(TH1D*, histogram, InputCollection); |
151 |
|
|
152 |
|
|
153 |
|
|