51 |
|
|
52 |
|
void analyze (const edm::Event &, const edm::EventSetup &); |
53 |
|
bool evaluateComparison (double, string, double); |
54 |
+ |
bool evaluateTriggers (vector<string>,const BNtriggerCollection*); |
55 |
+ |
double applyFunction(string, double); |
56 |
|
|
57 |
< |
double valueLookup (const BNjet*, string); |
58 |
< |
double valueLookup (const BNmuon*, string); |
59 |
< |
double valueLookup (const BNelectron*, string); |
60 |
< |
double valueLookup (const BNevent*, string); |
61 |
< |
double valueLookup (const BNtau*, string); |
62 |
< |
double valueLookup (const BNmet*, string); |
63 |
< |
double valueLookup (const BNtrack*, string); |
64 |
< |
double valueLookup (const BNgenjet*, string); |
65 |
< |
double valueLookup (const BNmcparticle*, string); |
66 |
< |
double valueLookup (const BNprimaryvertex*, string); |
67 |
< |
double valueLookup (const BNbxlumi*, string); |
68 |
< |
double valueLookup (const BNphoton*, string); |
69 |
< |
double valueLookup (const BNsupercluster*, string); |
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); |
70 |
|
//BNskimbits |
71 |
|
//BNtrigger |
72 |
|
//BNtrigobj |
103 |
|
edm::InputTag bxlumis_; |
104 |
|
edm::InputTag photons_; |
105 |
|
edm::InputTag superclusters_; |
106 |
+ |
edm::InputTag triggers_; |
107 |
|
|
108 |
|
|
109 |
|
vector<edm::ParameterSet> channels_; |
120 |
|
string inputCollection; |
121 |
|
string variable; |
122 |
|
string comparativeOperator; |
123 |
+ |
string function; |
124 |
|
double cutValue; |
125 |
|
int numberRequired; |
126 |
|
string eventComparativeOperator; |
129 |
|
|
130 |
|
struct channel { |
131 |
|
string name; |
132 |
+ |
vector<string> triggers; |
133 |
|
vector<cut> cuts; |
134 |
|
vector<string> inputCollections; |
135 |
|
}; |