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 |
|
|
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 = ""); |
99 |
|
//BNtrigobj |
100 |
|
|
101 |
|
vector<string> splitString (string); |
102 |
< |
|
102 |
> |
void getTwoObjs(string tempInputCollection, string& obj1, string& obj2); |
103 |
> |
string getObjToGet(string obj); |
104 |
|
|
105 |
|
private: |
106 |
|
|
127 |
|
edm::InputTag tracks_; |
128 |
|
edm::InputTag genjets_; |
129 |
|
edm::InputTag mcparticles_; |
130 |
+ |
edm::InputTag stops_; |
131 |
|
edm::InputTag primaryvertexs_; |
132 |
|
edm::InputTag bxlumis_; |
133 |
|
edm::InputTag photons_; |
147 |
|
bool doPileupReweighting_; |
148 |
|
bool printEventInfo_; |
149 |
|
bool useTrackCaloRhoCorr_; // to use the calo-based rho correction for the by-hand calculation of the track isolation energy |
150 |
+ |
vector<double> stopCTau_; |
151 |
|
|
152 |
|
struct DeadEcal { |
153 |
|
double etaEcal; |
220 |
|
PUWeight *puWeight_; |
221 |
|
MuonSFWeight *muonSFWeight_; |
222 |
|
ElectronSFWeight *electronSFWeight_; |
223 |
+ |
#ifdef DISPLACED_SUSY |
224 |
+ |
CTauWeight *cTauWeight_; |
225 |
+ |
#endif |
226 |
+ |
double cTauScaleFactor_; |
227 |
|
|
228 |
|
template <class InputCollection> void setObjectFlags(cut &, uint, flagMap &, flagMap &, InputCollection, string); |
229 |
|
template <class InputCollection1, class InputCollection2> void setObjectFlags(cut &, uint, flagMap &, flagMap &, InputCollection1, InputCollection2, vector<bool>, vector<bool>, string); |
232 |
|
template <class InputCollection1, class InputCollection2> void fill1DHistogram(TH1*, histogram, InputCollection1, InputCollection2, vector<bool>, vector<bool>, vector<bool>, double); |
233 |
|
template <class InputCollection> void fill2DHistogram(TH2*, histogram, InputCollection, vector<bool>, double); |
234 |
|
template <class InputCollection1, class InputCollection2> void fill2DHistogram(TH2*, histogram, InputCollection1, InputCollection2, vector<bool>, vector<bool>, vector<bool>, double); |
235 |
+ |
bool getPreviousCumulativeFlags(uint currentCutIndex, flagMap &individualFlags, string obj1Type, uint object1); |
236 |
|
|
237 |
|
template <class InputObject> int getGenMatchedParticleIndex(InputObject); |
238 |
|
int getPdgIdBinValue(int); |