ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/UHHAnalysis/NtupleWriter/interface/NtupleWriter.h
(Generate patch)

Comparing UserCode/UHHAnalysis/NtupleWriter/interface/NtupleWriter.h (file contents):
Revision 1.15 by peiffer, Tue Jun 12 11:43:17 2012 UTC vs.
Revision 1.20 by rkogler, Wed Jun 19 22:05:46 2013 UTC

# Line 44 | Line 44
44   #include "RecoEgamma/EgammaTools/interface/ConversionTools.h"
45   #include "DataFormats/Luminosity/interface/LumiSummary.h"
46  
47 + #include "EGamma/EGammaAnalysisTools/interface/ElectronEffectiveArea.h"
48 +
49   #include "UHHAnalysis/NtupleWriter/Objects/Particle.h"
50 + #include "UHHAnalysis/NtupleWriter/Objects/PFParticle.h"
51   #include "UHHAnalysis/NtupleWriter/Objects/Jet.h"
52   #include "UHHAnalysis/NtupleWriter/Objects/Electron.h"
53   #include "UHHAnalysis/NtupleWriter/Objects/Muon.h"
# Line 53 | Line 56
56   #include "UHHAnalysis/NtupleWriter/Objects/MET.h"
57   #include "UHHAnalysis/NtupleWriter/Objects/PrimaryVertex.h"
58   #include "UHHAnalysis/NtupleWriter/Objects/TopJet.h"
59 + #include "UHHAnalysis/NtupleWriter/Objects/GenTopJet.h"
60   #include "UHHAnalysis/NtupleWriter/Objects/GenInfo.h"
61   #include "UHHAnalysis/NtupleWriter/Objects/GenParticle.h"
62  
# Line 81 | Line 85 | class NtupleWriter : public edm::EDAnaly
85        virtual void endRun(edm::Run const&, edm::EventSetup const&);
86        virtual void beginLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&);
87        virtual void endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&);
88 +      void StoreJetConstituents(pat::Jet* pat_jet, Jet* topjet);
89 +      void StorePFCandsInCone(Particle* part, const std::vector<reco::PFCandidate>& pf_cands, double R0);
90  
91        // ----------member data ---------------------------
92        TFile *outfile;
# Line 91 | Line 97 | class NtupleWriter : public edm::EDAnaly
97        bool doMuons;
98        bool doTaus;
99        bool doJets;
100 <      bool doJECUncertainty;
100 >      bool doGenJets;
101        bool doTopJets;
102 +      bool doTopJetsConstituents;
103        bool doGenTopJets;
104        bool doMET;
105        bool doPhotons;
# Line 101 | Line 108 | class NtupleWriter : public edm::EDAnaly
108        bool doLumiInfo;
109        bool doPV;
110        bool doTrigger;
111 +      bool doTagInfos;
112 +      bool storePFsAroundLeptons;
113  
114        int run;
115        int luminosityBlock;
# Line 132 | Line 141 | class NtupleWriter : public edm::EDAnaly
141        double jet_ptmin;
142        double jet_etamax;
143  
144 +      std::vector<std::string> genjet_sources;
145 +      std::vector<Particle> genjets[Nmax];
146 +      double genjet_ptmin;
147 +      double genjet_etamax;
148 +
149        std::vector<std::string> topjet_sources;
150        std::vector<TopJet> topjets[Nmax];
151        double topjet_ptmin;
152        double topjet_etamax;
153  
154 +      std::vector<std::string> topjet_constituents_sources;
155 +      std::vector<PFParticle> pfparticles; // only one collection allowed!
156 +
157        std::vector<std::string> gentopjet_sources;
158 <      std::vector<TopJet> gentopjets[Nmax];
158 >      std::vector<GenTopJet> gentopjets[Nmax];
159        double gentopjet_ptmin;
160        double gentopjet_etamax;
161  
# Line 155 | Line 172 | class NtupleWriter : public edm::EDAnaly
172        float beamspot_y0;
173        float beamspot_z0;
174  
175 +      std::string pf_around_leptons_source;
176 +
177 +      edm::InputTag genparticle_source;
178        GenInfo genInfo;
179        std::vector<GenParticle> genps;
180 <
180 >      edm::InputTag SVComputer_;
181        std::vector<std::string> trigger_prefixes;
182        //std::map<std::string, bool> triggerResults;
183        std::vector<std::string> triggerNames;
184        std::vector<bool> triggerResults;
185 < /*       std::vector<int> L1_prescale; */
186 < /*       std::vector<int> HLT_prescale; */
185 >      //std::vector<int> L1_prescale;
186 >      //std::vector<int> HLT_prescale;
187        
188        //HLTConfigProvider hlt_cfg;
189        bool newrun;
190        bool previouslumiblockwasfilled;
191  
172      JetCorrectionUncertainty *jecUnc;
192   };
193  
194  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines