47 |
|
#include "OSUT3Analysis/AnaTools/interface/PUWeight.h" |
48 |
|
#include "OSUT3Analysis/AnaTools/interface/SFWeight.h" |
49 |
|
|
50 |
< |
|
51 |
< |
|
50 |
> |
#ifdef DISPLACED_SUSY |
51 |
> |
#include "DisplacedSUSY/Configuration/interface/CTauWeight.h" |
52 |
> |
#endif |
53 |
|
|
54 |
|
using namespace std; |
55 |
|
|
70 |
|
double valueLookup (const BNelectron* object, string variable, string function = ""); |
71 |
|
double valueLookup (const BNelectron* object1, const BNelectron* object2, string variable, string function = ""); |
72 |
|
double valueLookup (const BNelectron* object1, const BNmuon* object2, string variable, string function = ""); |
73 |
+ |
double valueLookup (const BNelectron* object1, const BNtrack* object2, string variable, string function = ""); |
74 |
+ |
double valueLookup (const BNmuon* object1, const BNtrack* object2, string variable, string function = ""); |
75 |
+ |
double valueLookup (const BNmuon* object1, const BNtau* object2, string variable, string function = ""); |
76 |
+ |
double valueLookup (const BNtau* object1, const BNtau* object2, string variable, string function = ""); |
77 |
+ |
double valueLookup (const BNtau* object1, const BNtrack* object2, string variable, string function); |
78 |
|
double valueLookup (const BNevent* object, string variable, string function = ""); |
79 |
|
double valueLookup (const BNtau* object, string variable, string function = ""); |
80 |
|
double valueLookup (const BNmet* object, string variable, string function = ""); |
81 |
|
double valueLookup (const BNtrack* object, string variable, string function = ""); |
82 |
+ |
double valueLookup (const BNtrack* object1, const BNevent* object2, string variable, string function = ""); |
83 |
|
double valueLookup (const BNgenjet* object, string variable, string function = ""); |
84 |
|
double valueLookup (const BNmcparticle* object, string variable, string function = ""); |
85 |
|
double valueLookup (const BNprimaryvertex* object, string variable, string function = ""); |
91 |
|
double getTrkPtTrue (const BNtrack* track1, const BNmcparticleCollection* genPartColl); |
92 |
|
double getTrkPtRes (const BNtrack* track1); |
93 |
|
double getTrkIsIso (const BNtrack* track1); |
94 |
+ |
double getTrkCaloTotRhoCorr(const BNtrack* track); |
95 |
|
void WriteDeadEcal (); |
96 |
|
int getTrkIsMatchedDeadEcal (const BNtrack* track1); |
97 |
|
|
126 |
|
edm::InputTag tracks_; |
127 |
|
edm::InputTag genjets_; |
128 |
|
edm::InputTag mcparticles_; |
129 |
+ |
edm::InputTag stops_; |
130 |
|
edm::InputTag primaryvertexs_; |
131 |
|
edm::InputTag bxlumis_; |
132 |
|
edm::InputTag photons_; |
145 |
|
bool plotAllObjectsInPassingEvents_; |
146 |
|
bool doPileupReweighting_; |
147 |
|
bool printEventInfo_; |
148 |
+ |
bool useTrackCaloRhoCorr_; // to use the calo-based rho correction for the by-hand calculation of the track isolation energy |
149 |
+ |
vector<double> stopCTau_; |
150 |
|
|
151 |
|
struct DeadEcal { |
152 |
|
double etaEcal; |
171 |
|
edm::Handle<BNbxlumiCollection> bxlumis; |
172 |
|
edm::Handle<BNphotonCollection> photons; |
173 |
|
edm::Handle<BNsuperclusterCollection> superclusters; |
174 |
+ |
edm::Handle<double> rhokt6CaloJetsHandle_; |
175 |
|
|
176 |
|
flagMap cumulativeFlags; |
177 |
|
|
219 |
|
PUWeight *puWeight_; |
220 |
|
MuonSFWeight *muonSFWeight_; |
221 |
|
ElectronSFWeight *electronSFWeight_; |
222 |
+ |
#ifdef DISPLACED_SUSY |
223 |
+ |
CTauWeight *cTauWeight_; |
224 |
+ |
#endif |
225 |
+ |
double cTauScaleFactor_; |
226 |
|
|
227 |
|
template <class InputCollection> void setObjectFlags(cut &, uint, flagMap &, flagMap &, InputCollection, string); |
228 |
|
template <class InputCollection1, class InputCollection2> void setObjectFlags(cut &, uint, flagMap &, flagMap &, InputCollection1, InputCollection2, vector<bool>, vector<bool>, string); |