5 |
|
#include <map> |
6 |
|
#include <string> |
7 |
|
#include <vector> |
8 |
– |
#include <algorithm> |
8 |
|
|
9 |
+ |
#include <fstream> |
10 |
+ |
#include <iostream> |
11 |
+ |
#include <algorithm> |
12 |
|
#include "TH1.h" |
13 |
|
#include "TH2.h" |
14 |
|
#include "TH1D.h" |
68 |
|
double valueLookup (const BNelectron* object, string variable, string function = ""); |
69 |
|
double valueLookup (const BNelectron* object1, const BNelectron* object2, string variable, string function = ""); |
70 |
|
double valueLookup (const BNelectron* object1, const BNmuon* object2, string variable, string function = ""); |
71 |
+ |
//added for isolation by jdb |
72 |
+ |
//double valueLookup (const BNtrack* track1, const BNtrackCollection & trackColl, string variable, string function = ""); |
73 |
|
double valueLookup (const BNevent* object, string variable, string function = ""); |
74 |
|
double valueLookup (const BNtau* object, string variable, string function = ""); |
75 |
|
double valueLookup (const BNmet* object, string variable, string function = ""); |
80 |
|
double valueLookup (const BNbxlumi* object, string variable, string function = ""); |
81 |
|
double valueLookup (const BNphoton* object, string variable, string function = ""); |
82 |
|
double valueLookup (const BNsupercluster* object, string variable, string function = ""); |
83 |
+ |
|
84 |
+ |
int getTrkIsIso (const BNtrack* track1, const BNtrackCollection* trackColl); |
85 |
+ |
void WriteDeadEcal (); |
86 |
+ |
int getTrkIsMatchedDeadEcal (const BNtrack* track1); |
87 |
+ |
|
88 |
|
//BNskimbits |
89 |
|
//BNtrigobj |
90 |
|
|
122 |
|
edm::InputTag superclusters_; |
123 |
|
edm::InputTag triggers_; |
124 |
|
std::string puFile_; |
125 |
+ |
std::string deadEcalFile_; |
126 |
|
std::string dataPU_; |
127 |
|
std::string dataset_; |
128 |
|
std::string datasetType_; |
130 |
|
vector<edm::ParameterSet> histogramSets_; |
131 |
|
bool plotAllObjectsInPassingEvents_; |
132 |
|
|
133 |
+ |
struct DeadEcal { |
134 |
+ |
double etaEcal; |
135 |
+ |
double phiEcal; |
136 |
+ |
}; |
137 |
+ |
|
138 |
+ |
std::vector<DeadEcal> DeadEcalVec; |
139 |
+ |
|
140 |
+ |
//Collections |
141 |
|
edm::Handle<BNtriggerCollection> triggers; |
142 |
|
edm::Handle<BNjetCollection> jets; |
143 |
|
edm::Handle<BNmuonCollection> muons; |
211 |
|
int getPdgIdBinValue(int); |
212 |
|
int findTauMotherIndex(const BNmcparticle*); |
213 |
|
|
214 |
+ |
|
215 |
|
}; |
216 |
|
|
217 |
|
#endif |