ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/AnaTools/plugins/OSUAnalysis.h
(Generate patch)

Comparing UserCode/OSUT3Analysis/AnaTools/plugins/OSUAnalysis.h (file contents):
Revision 1.20 by wulsin, Wed Mar 27 22:38:08 2013 UTC vs.
Revision 1.24 by lantonel, Thu Apr 25 07:51:24 2013 UTC

# Line 47 | Line 47
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  
# Line 73 | Line 74 | class OSUAnalysis : public edm::EDAnalyz
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 = "");
# Line 85 | Line 87 | class OSUAnalysis : public edm::EDAnalyz
87        double valueLookup (const BNphoton* object, string variable, string function = "");
88        double valueLookup (const BNsupercluster* object, string variable, string function = "");
89  
90 + #ifdef DISPLACED_SUSY
91 +      double valueLookup (const BNstop* object, string variable, string function = "");
92 + #endif
93        int getTrkIsIso (const BNtrack* track1, const BNtrackCollection* trackColl);
94        double getTrkPtTrue (const BNtrack* track1, const BNmcparticleCollection* genPartColl);
95        double getTrkPtRes (const BNtrack* track1);
# Line 97 | Line 102 | class OSUAnalysis : public edm::EDAnalyz
102        //BNtrigobj
103  
104        vector<string> splitString (string);
105 <
105 >      void getTwoObjs(string tempInputCollection, string& obj1, string& obj2);
106 >      string getObjToGet(string obj);  
107  
108      private:
109  
# Line 124 | Line 130 | class OSUAnalysis : public edm::EDAnalyz
130        edm::InputTag tracks_;
131        edm::InputTag genjets_;
132        edm::InputTag mcparticles_;
133 +      edm::InputTag stops_;
134        edm::InputTag primaryvertexs_;
135        edm::InputTag bxlumis_;
136        edm::InputTag photons_;
# Line 143 | Line 150 | class OSUAnalysis : public edm::EDAnalyz
150        bool doPileupReweighting_;
151        bool printEventInfo_;  
152        bool useTrackCaloRhoCorr_;  // to use the calo-based rho correction for the by-hand calculation of the track isolation energy
153 +      vector<double> stopCTau_;
154  
155        struct DeadEcal {
156          double etaEcal;
# Line 167 | Line 175 | class OSUAnalysis : public edm::EDAnalyz
175        edm::Handle<BNbxlumiCollection> bxlumis;
176        edm::Handle<BNphotonCollection> photons;
177        edm::Handle<BNsuperclusterCollection> superclusters;
178 + #ifdef DISPLACED_SUSY
179 +      edm::Handle<BNstopCollection> stops;
180 + #endif
181        edm::Handle<double> rhokt6CaloJetsHandle_;  
182  
183        flagMap cumulativeFlags;
# Line 215 | Line 226 | class OSUAnalysis : public edm::EDAnalyz
226        PUWeight *puWeight_;
227        MuonSFWeight *muonSFWeight_;
228        ElectronSFWeight *electronSFWeight_;
229 + #ifdef DISPLACED_SUSY
230 +      CTauWeight *cTauWeight_;
231 + #endif
232 +      double cTauScaleFactor_;
233  
234        template <class InputCollection> void setObjectFlags(cut &, uint, flagMap &, flagMap &, InputCollection, string);
235        template <class InputCollection1, class InputCollection2> void setObjectFlags(cut &, uint, flagMap &, flagMap &, InputCollection1, InputCollection2, vector<bool>, vector<bool>, string);
# Line 223 | Line 238 | class OSUAnalysis : public edm::EDAnalyz
238        template <class InputCollection1, class InputCollection2> void fill1DHistogram(TH1*, histogram, InputCollection1, InputCollection2, vector<bool>, vector<bool>, vector<bool>, double);
239        template <class InputCollection> void fill2DHistogram(TH2*, histogram, InputCollection, vector<bool>, double);
240        template <class InputCollection1, class InputCollection2> void fill2DHistogram(TH2*, histogram, InputCollection1, InputCollection2, vector<bool>, vector<bool>, vector<bool>, double);
241 +      bool getPreviousCumulativeFlags(uint currentCutIndex, flagMap &individualFlags, string obj1Type, uint object1);  
242  
243        template <class InputObject> int getGenMatchedParticleIndex(InputObject);
244        int getPdgIdBinValue(int);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines