CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Static Private Attributes
AnalysisRootpleProducerOnlyMC Class Reference

#include <AnalysisRootpleProducerOnlyMC.h>

Inheritance diagram for AnalysisRootpleProducerOnlyMC:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 AnalysisRootpleProducerOnlyMC (const edm::ParameterSet &)
 
void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void endJob () override
 
void fillChargedJet (float, float, float, float)
 
void fillEventInfo (int)
 
void fillInclusiveJet (float, float, float, float)
 
void fillMCParticles (float, float, float, float)
 
void store ()
 
 ~AnalysisRootpleProducerOnlyMC () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Attributes

TTree * AnalysisTree
 
edm::Handle< std::vector< reco::GenParticle > > CandHandleMC
 
TClonesArray * ChargedJet
 
edm::Handle< reco::GenJetCollectionChgGenJetsHandle
 
edm::EDGetTokenT< std::vector< reco::GenParticle > > chgGenPartCollToken
 
edm::EDGetTokenT< reco::GenJetCollectionchgJetCollToken
 
float EtaCJ [NCJMAX]
 
float EtaEHJ [NEHJMAX]
 
float EtaIJ [NIJMAX]
 
float EtaMC [NMCPMAX]
 
float EtaTJ [NTJMAX]
 
float EtaTK [NTKMAX]
 
int EventKind
 
edm::Handle< edm::HepMCProductEvtHandle
 
edm::Service< TFileServicefs
 
edm::EDGetTokenT< reco::GenJetCollectiongenJetCollToken
 
edm::Handle< reco::GenJetCollectionGenJetsHandle
 
TClonesArray * InclusiveJet
 
edm::EDGetTokenT< edm::HepMCProductmcEventToken
 
float MomentumCJ [NCJMAX]
 
float MomentumEHJ [NEHJMAX]
 
float MomentumIJ [NIJMAX]
 
float MomentumMC [NMCPMAX]
 
float MomentumTJ [NTJMAX]
 
float MomentumTK [NTKMAX]
 
TClonesArray * MonteCarlo
 
int NumberCaloJet
 
int NumberChargedJet
 
int NumberInclusiveJet
 
int NumberMCParticles
 
int NumberTracks
 
int NumberTracksJet
 
float PhiCJ [NCJMAX]
 
float PhiEHJ [NEHJMAX]
 
float PhiIJ [NIJMAX]
 
float PhiMC [NMCPMAX]
 
float PhiTJ [NTJMAX]
 
float PhiTK [NTKMAX]
 
float piG
 
float TransverseMomentumCJ [NCJMAX]
 
float TransverseMomentumEHJ [NEHJMAX]
 
float TransverseMomentumIJ [NIJMAX]
 
float TransverseMomentumMC [NMCPMAX]
 
float TransverseMomentumTJ [NTJMAX]
 
float TransverseMomentumTK [NTKMAX]
 

Static Private Attributes

static const int NCJMAX = 10000
 
static const int NEHJMAX = 10000
 
static const int NIJMAX = 10000
 
static const int NMCPMAX = 10000
 
static const int NTJMAX = 10000
 
static const int NTKMAX = 10000
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Definition at line 31 of file AnalysisRootpleProducerOnlyMC.h.

Constructor & Destructor Documentation

◆ AnalysisRootpleProducerOnlyMC()

AnalysisRootpleProducerOnlyMC::AnalysisRootpleProducerOnlyMC ( const edm::ParameterSet pset)
explicit

Definition at line 52 of file AnalysisRootpleProducerOnlyMC.cc.

52  {
53  mcEventToken = consumes<edm::HepMCProduct>(pset.getUntrackedParameter<InputTag>("MCEvent", std::string("")));
55  consumes<reco::GenJetCollection>(pset.getUntrackedParameter<InputTag>("GenJetCollectionName", std::string("")));
56  chgJetCollToken = consumes<reco::GenJetCollection>(
57  pset.getUntrackedParameter<InputTag>("ChgGenJetCollectionName", std::string("")));
58  chgGenPartCollToken = consumes<std::vector<reco::GenParticle> >(
59  pset.getUntrackedParameter<InputTag>("ChgGenPartCollectionName", std::string("")));
60 
61  piG = acos(-1.);
64  NumberChargedJet = 0;
65 }

References muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ ~AnalysisRootpleProducerOnlyMC()

AnalysisRootpleProducerOnlyMC::~AnalysisRootpleProducerOnlyMC ( )
inlineoverride

Definition at line 34 of file AnalysisRootpleProducerOnlyMC.h.

34 {}

Member Function Documentation

◆ analyze()

void AnalysisRootpleProducerOnlyMC::analyze ( const edm::Event e,
const edm::EventSetup  
)
overridevirtual

Implements edm::EDAnalyzer.

Definition at line 111 of file AnalysisRootpleProducerOnlyMC.cc.

111  {
112  e.getByToken(mcEventToken, EvtHandle);
113  e.getByToken(chgGenPartCollToken, CandHandleMC);
114  e.getByToken(chgJetCollToken, ChgGenJetsHandle);
115  e.getByToken(genJetCollToken, GenJetsHandle);
116 
117  const HepMC::GenEvent* Evt = EvtHandle->GetEvent();
118 
119  EventKind = Evt->signal_process_id();
120 
121  std::vector<math::XYZTLorentzVector> GenPart;
122  std::vector<GenJet> ChgGenJetContainer;
123  std::vector<GenJet> GenJetContainer;
124 
125  GenPart.clear();
126  ChgGenJetContainer.clear();
127  GenJetContainer.clear();
128 
129  ChargedJet->Clear();
130  InclusiveJet->Clear();
131  MonteCarlo->Clear();
132 
133  if (!ChgGenJetsHandle->empty()) {
134  for (GenJetCollection::const_iterator it(ChgGenJetsHandle->begin()), itEnd(ChgGenJetsHandle->end()); it != itEnd;
135  ++it) {
136  ChgGenJetContainer.push_back(*it);
137  }
138 
139  std::stable_sort(ChgGenJetContainer.begin(), ChgGenJetContainer.end(), GenJetSort());
140 
141  std::vector<GenJet>::const_iterator it(ChgGenJetContainer.begin()), itEnd(ChgGenJetContainer.end());
142  for (int iChargedJet(0); it != itEnd; ++it, ++iChargedJet) {
143  fillChargedJet(it->p(), it->pt(), it->eta(), it->phi());
144  new ((*ChargedJet)[iChargedJet]) TLorentzVector(it->px(), it->py(), it->pz(), it->energy());
145  }
146  }
147 
148  if (!GenJetsHandle->empty()) {
149  for (GenJetCollection::const_iterator it(GenJetsHandle->begin()), itEnd(GenJetsHandle->end()); it != itEnd; ++it) {
150  GenJetContainer.push_back(*it);
151  }
152 
153  std::stable_sort(GenJetContainer.begin(), GenJetContainer.end(), GenJetSort());
154 
155  std::vector<GenJet>::const_iterator it(GenJetContainer.begin()), itEnd(GenJetContainer.end());
156  for (int iInclusiveJet(0); it != itEnd; ++it, ++iInclusiveJet) {
157  fillInclusiveJet(it->p(), it->pt(), it->eta(), it->phi());
158  new ((*InclusiveJet)[iInclusiveJet]) TLorentzVector(it->px(), it->py(), it->pz(), it->energy());
159  }
160  }
161 
162  if (!CandHandleMC->empty()) {
163  for (vector<GenParticle>::const_iterator it(CandHandleMC->begin()), itEnd(CandHandleMC->end()); it != itEnd; it++) {
164  GenPart.push_back(it->p4());
165  }
166 
167  std::stable_sort(GenPart.begin(), GenPart.end(), GreaterPt());
168 
169  std::vector<math::XYZTLorentzVector>::const_iterator it(GenPart.begin()), itEnd(GenPart.end());
170  for (int iMonteCarlo(0); it != itEnd; ++it, ++iMonteCarlo) {
171  fillMCParticles(it->P(), it->Pt(), it->Eta(), it->Phi());
172  new ((*MonteCarlo)[iMonteCarlo]) TLorentzVector(it->Px(), it->Py(), it->Pz(), it->E());
173  }
174  }
175 
176  store();
177 }

References MillePedeFileConverter_cfg::e, nanoDQM_cfi::GenPart, and HLT_2018_cff::MonteCarlo.

◆ beginJob()

void AnalysisRootpleProducerOnlyMC::beginJob ( void  )
overridevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 67 of file AnalysisRootpleProducerOnlyMC.cc.

67  {
68  // use TFileService for output to root file
69  AnalysisTree = fs->make<TTree>("AnalysisTree", "MBUE Analysis Tree ");
70 
71  // process type
72  AnalysisTree->Branch("EventKind", &EventKind, "EventKind/I");
73 
74  // store p, pt, eta, phi for particles and jets
75 
76  // GenParticles at hadron level
77  AnalysisTree->Branch("NumberMCParticles", &NumberMCParticles, "NumberMCParticles/I");
78  AnalysisTree->Branch("MomentumMC", MomentumMC, "MomentumMC[NumberMCParticles]/F");
79  AnalysisTree->Branch("TransverseMomentumMC", TransverseMomentumMC, "TransverseMomentumMC[NumberMCParticles]/F");
80  AnalysisTree->Branch("EtaMC", EtaMC, "EtaMC[NumberMCParticles]/F");
81  AnalysisTree->Branch("PhiMC", PhiMC, "PhiMC[NumberMCParticles]/F");
82 
83  // GenJets
84  AnalysisTree->Branch("NumberInclusiveJet", &NumberInclusiveJet, "NumberInclusiveJet/I");
85  AnalysisTree->Branch("MomentumIJ", MomentumIJ, "MomentumIJ[NumberInclusiveJet]/F");
86  AnalysisTree->Branch("TrasverseMomentumIJ", TransverseMomentumIJ, "TransverseMomentumIJ[NumberInclusiveJet]/F");
87  AnalysisTree->Branch("EtaIJ", EtaIJ, "EtaIJ[NumberInclusiveJet]/F");
88  AnalysisTree->Branch("PhiIJ", PhiIJ, "PhiIJ[NumberInclusiveJet]/F");
89 
90  // jets from charged GenParticles
91  AnalysisTree->Branch("NumberChargedJet", &NumberChargedJet, "NumberChargedJet/I");
92  AnalysisTree->Branch("MomentumCJ", MomentumCJ, "MomentumCJ[NumberChargedJet]/F");
93  AnalysisTree->Branch("TrasverseMomentumCJ", TransverseMomentumCJ, "TransverseMomentumCJ[NumberChargedJet]/F");
94  AnalysisTree->Branch("EtaCJ", EtaCJ, "EtaCJ[NumberChargedJet]/F");
95  AnalysisTree->Branch("PhiCJ", PhiCJ, "PhiCJ[NumberChargedJet]/F");
96 
97  // alternative storage method:
98  // save TClonesArrays of TLorentzVectors
99  // i.e. store 4-vectors of particles and jets
100 
101  MonteCarlo = new TClonesArray("TLorentzVector", 10000);
102  AnalysisTree->Branch("MonteCarlo", "TClonesArray", &MonteCarlo, 128000, 0);
103 
104  InclusiveJet = new TClonesArray("TLorentzVector", 10000);
105  AnalysisTree->Branch("InclusiveJet", "TClonesArray", &InclusiveJet, 128000, 0);
106 
107  ChargedJet = new TClonesArray("TLorentzVector", 10000);
108  AnalysisTree->Branch("ChargedJet", "TClonesArray", &ChargedJet, 128000, 0);
109 }

References HLT_2018_cff::MonteCarlo.

◆ endJob()

void AnalysisRootpleProducerOnlyMC::endJob ( void  )
overridevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 179 of file AnalysisRootpleProducerOnlyMC.cc.

179 {}

◆ fillChargedJet()

void AnalysisRootpleProducerOnlyMC::fillChargedJet ( float  p,
float  pt,
float  eta,
float  phi 
)

◆ fillEventInfo()

void AnalysisRootpleProducerOnlyMC::fillEventInfo ( int  e)

Definition at line 26 of file AnalysisRootpleProducerOnlyMC.cc.

26 { EventKind = e; }

References MillePedeFileConverter_cfg::e.

◆ fillInclusiveJet()

void AnalysisRootpleProducerOnlyMC::fillInclusiveJet ( float  p,
float  pt,
float  eta,
float  phi 
)

◆ fillMCParticles()

void AnalysisRootpleProducerOnlyMC::fillMCParticles ( float  p,
float  pt,
float  eta,
float  phi 
)

◆ store()

void AnalysisRootpleProducerOnlyMC::store ( )

Definition at line 18 of file AnalysisRootpleProducerOnlyMC.cc.

18  {
19  AnalysisTree->Fill();
20 
23  NumberChargedJet = 0;
24 }

Member Data Documentation

◆ AnalysisTree

TTree* AnalysisRootpleProducerOnlyMC::AnalysisTree
private

Definition at line 61 of file AnalysisRootpleProducerOnlyMC.h.

◆ CandHandleMC

edm::Handle<std::vector<reco::GenParticle> > AnalysisRootpleProducerOnlyMC::CandHandleMC
private

Definition at line 53 of file AnalysisRootpleProducerOnlyMC.h.

◆ ChargedJet

TClonesArray* AnalysisRootpleProducerOnlyMC::ChargedJet
private

Definition at line 81 of file AnalysisRootpleProducerOnlyMC.h.

◆ ChgGenJetsHandle

edm::Handle<reco::GenJetCollection> AnalysisRootpleProducerOnlyMC::ChgGenJetsHandle
private

Definition at line 55 of file AnalysisRootpleProducerOnlyMC.h.

◆ chgGenPartCollToken

edm::EDGetTokenT<std::vector<reco::GenParticle> > AnalysisRootpleProducerOnlyMC::chgGenPartCollToken
private

Definition at line 50 of file AnalysisRootpleProducerOnlyMC.h.

◆ chgJetCollToken

edm::EDGetTokenT<reco::GenJetCollection> AnalysisRootpleProducerOnlyMC::chgJetCollToken
private

Definition at line 49 of file AnalysisRootpleProducerOnlyMC.h.

◆ EtaCJ

float AnalysisRootpleProducerOnlyMC::EtaCJ[NCJMAX]
private

Definition at line 75 of file AnalysisRootpleProducerOnlyMC.h.

◆ EtaEHJ

float AnalysisRootpleProducerOnlyMC::EtaEHJ[NEHJMAX]
private

Definition at line 77 of file AnalysisRootpleProducerOnlyMC.h.

◆ EtaIJ

float AnalysisRootpleProducerOnlyMC::EtaIJ[NIJMAX]
private

Definition at line 74 of file AnalysisRootpleProducerOnlyMC.h.

◆ EtaMC

float AnalysisRootpleProducerOnlyMC::EtaMC[NMCPMAX]
private

Definition at line 72 of file AnalysisRootpleProducerOnlyMC.h.

◆ EtaTJ

float AnalysisRootpleProducerOnlyMC::EtaTJ[NTJMAX]
private

Definition at line 76 of file AnalysisRootpleProducerOnlyMC.h.

◆ EtaTK

float AnalysisRootpleProducerOnlyMC::EtaTK[NTKMAX]
private

Definition at line 73 of file AnalysisRootpleProducerOnlyMC.h.

◆ EventKind

int AnalysisRootpleProducerOnlyMC::EventKind
private

Definition at line 70 of file AnalysisRootpleProducerOnlyMC.h.

◆ EvtHandle

edm::Handle<edm::HepMCProduct> AnalysisRootpleProducerOnlyMC::EvtHandle
private

Definition at line 52 of file AnalysisRootpleProducerOnlyMC.h.

◆ fs

edm::Service<TFileService> AnalysisRootpleProducerOnlyMC::fs
private

Definition at line 59 of file AnalysisRootpleProducerOnlyMC.h.

◆ genJetCollToken

edm::EDGetTokenT<reco::GenJetCollection> AnalysisRootpleProducerOnlyMC::genJetCollToken
private

Definition at line 48 of file AnalysisRootpleProducerOnlyMC.h.

◆ GenJetsHandle

edm::Handle<reco::GenJetCollection> AnalysisRootpleProducerOnlyMC::GenJetsHandle
private

Definition at line 54 of file AnalysisRootpleProducerOnlyMC.h.

◆ InclusiveJet

TClonesArray* AnalysisRootpleProducerOnlyMC::InclusiveJet
private

Definition at line 80 of file AnalysisRootpleProducerOnlyMC.h.

◆ mcEventToken

edm::EDGetTokenT<edm::HepMCProduct> AnalysisRootpleProducerOnlyMC::mcEventToken
private

Definition at line 47 of file AnalysisRootpleProducerOnlyMC.h.

◆ MomentumCJ

float AnalysisRootpleProducerOnlyMC::MomentumCJ[NCJMAX]
private

Definition at line 75 of file AnalysisRootpleProducerOnlyMC.h.

◆ MomentumEHJ

float AnalysisRootpleProducerOnlyMC::MomentumEHJ[NEHJMAX]
private

Definition at line 77 of file AnalysisRootpleProducerOnlyMC.h.

◆ MomentumIJ

float AnalysisRootpleProducerOnlyMC::MomentumIJ[NIJMAX]
private

Definition at line 74 of file AnalysisRootpleProducerOnlyMC.h.

◆ MomentumMC

float AnalysisRootpleProducerOnlyMC::MomentumMC[NMCPMAX]
private

Definition at line 72 of file AnalysisRootpleProducerOnlyMC.h.

◆ MomentumTJ

float AnalysisRootpleProducerOnlyMC::MomentumTJ[NTJMAX]
private

Definition at line 76 of file AnalysisRootpleProducerOnlyMC.h.

◆ MomentumTK

float AnalysisRootpleProducerOnlyMC::MomentumTK[NTKMAX]
private

Definition at line 73 of file AnalysisRootpleProducerOnlyMC.h.

◆ MonteCarlo

TClonesArray* AnalysisRootpleProducerOnlyMC::MonteCarlo
private

Definition at line 79 of file AnalysisRootpleProducerOnlyMC.h.

◆ NCJMAX

const int AnalysisRootpleProducerOnlyMC::NCJMAX = 10000
staticprivate

Definition at line 66 of file AnalysisRootpleProducerOnlyMC.h.

◆ NEHJMAX

const int AnalysisRootpleProducerOnlyMC::NEHJMAX = 10000
staticprivate

Definition at line 68 of file AnalysisRootpleProducerOnlyMC.h.

◆ NIJMAX

const int AnalysisRootpleProducerOnlyMC::NIJMAX = 10000
staticprivate

Definition at line 65 of file AnalysisRootpleProducerOnlyMC.h.

◆ NMCPMAX

const int AnalysisRootpleProducerOnlyMC::NMCPMAX = 10000
staticprivate

Definition at line 63 of file AnalysisRootpleProducerOnlyMC.h.

◆ NTJMAX

const int AnalysisRootpleProducerOnlyMC::NTJMAX = 10000
staticprivate

Definition at line 67 of file AnalysisRootpleProducerOnlyMC.h.

◆ NTKMAX

const int AnalysisRootpleProducerOnlyMC::NTKMAX = 10000
staticprivate

Definition at line 64 of file AnalysisRootpleProducerOnlyMC.h.

◆ NumberCaloJet

int AnalysisRootpleProducerOnlyMC::NumberCaloJet
private

Definition at line 70 of file AnalysisRootpleProducerOnlyMC.h.

◆ NumberChargedJet

int AnalysisRootpleProducerOnlyMC::NumberChargedJet
private

Definition at line 70 of file AnalysisRootpleProducerOnlyMC.h.

◆ NumberInclusiveJet

int AnalysisRootpleProducerOnlyMC::NumberInclusiveJet
private

Definition at line 70 of file AnalysisRootpleProducerOnlyMC.h.

◆ NumberMCParticles

int AnalysisRootpleProducerOnlyMC::NumberMCParticles
private

Definition at line 70 of file AnalysisRootpleProducerOnlyMC.h.

◆ NumberTracks

int AnalysisRootpleProducerOnlyMC::NumberTracks
private

Definition at line 70 of file AnalysisRootpleProducerOnlyMC.h.

◆ NumberTracksJet

int AnalysisRootpleProducerOnlyMC::NumberTracksJet
private

Definition at line 70 of file AnalysisRootpleProducerOnlyMC.h.

◆ PhiCJ

float AnalysisRootpleProducerOnlyMC::PhiCJ[NCJMAX]
private

Definition at line 75 of file AnalysisRootpleProducerOnlyMC.h.

◆ PhiEHJ

float AnalysisRootpleProducerOnlyMC::PhiEHJ[NEHJMAX]
private

Definition at line 77 of file AnalysisRootpleProducerOnlyMC.h.

◆ PhiIJ

float AnalysisRootpleProducerOnlyMC::PhiIJ[NIJMAX]
private

Definition at line 74 of file AnalysisRootpleProducerOnlyMC.h.

◆ PhiMC

float AnalysisRootpleProducerOnlyMC::PhiMC[NMCPMAX]
private

Definition at line 72 of file AnalysisRootpleProducerOnlyMC.h.

◆ PhiTJ

float AnalysisRootpleProducerOnlyMC::PhiTJ[NTJMAX]
private

Definition at line 76 of file AnalysisRootpleProducerOnlyMC.h.

◆ PhiTK

float AnalysisRootpleProducerOnlyMC::PhiTK[NTKMAX]
private

Definition at line 73 of file AnalysisRootpleProducerOnlyMC.h.

◆ piG

float AnalysisRootpleProducerOnlyMC::piG
private

Definition at line 57 of file AnalysisRootpleProducerOnlyMC.h.

◆ TransverseMomentumCJ

float AnalysisRootpleProducerOnlyMC::TransverseMomentumCJ[NCJMAX]
private

Definition at line 75 of file AnalysisRootpleProducerOnlyMC.h.

◆ TransverseMomentumEHJ

float AnalysisRootpleProducerOnlyMC::TransverseMomentumEHJ[NEHJMAX]
private

Definition at line 77 of file AnalysisRootpleProducerOnlyMC.h.

◆ TransverseMomentumIJ

float AnalysisRootpleProducerOnlyMC::TransverseMomentumIJ[NIJMAX]
private

Definition at line 74 of file AnalysisRootpleProducerOnlyMC.h.

◆ TransverseMomentumMC

float AnalysisRootpleProducerOnlyMC::TransverseMomentumMC[NMCPMAX]
private

Definition at line 72 of file AnalysisRootpleProducerOnlyMC.h.

◆ TransverseMomentumTJ

float AnalysisRootpleProducerOnlyMC::TransverseMomentumTJ[NTJMAX]
private

Definition at line 76 of file AnalysisRootpleProducerOnlyMC.h.

◆ TransverseMomentumTK

float AnalysisRootpleProducerOnlyMC::TransverseMomentumTK[NTKMAX]
private

Definition at line 73 of file AnalysisRootpleProducerOnlyMC.h.

AnalysisRootpleProducerOnlyMC::NumberInclusiveJet
int NumberInclusiveJet
Definition: AnalysisRootpleProducerOnlyMC.h:70
AnalysisRootpleProducerOnlyMC::PhiMC
float PhiMC[NMCPMAX]
Definition: AnalysisRootpleProducerOnlyMC.h:72
AnalysisRootpleProducerOnlyMC::mcEventToken
edm::EDGetTokenT< edm::HepMCProduct > mcEventToken
Definition: AnalysisRootpleProducerOnlyMC.h:47
AnalysisRootpleProducerOnlyMC::GenJetsHandle
edm::Handle< reco::GenJetCollection > GenJetsHandle
Definition: AnalysisRootpleProducerOnlyMC.h:54
AnalysisRootpleProducerOnlyMC::PhiIJ
float PhiIJ[NIJMAX]
Definition: AnalysisRootpleProducerOnlyMC.h:74
AnalysisRootpleProducerOnlyMC::fs
edm::Service< TFileService > fs
Definition: AnalysisRootpleProducerOnlyMC.h:59
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
AnalysisRootpleProducerOnlyMC::MonteCarlo
TClonesArray * MonteCarlo
Definition: AnalysisRootpleProducerOnlyMC.h:79
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
AnalysisRootpleProducerOnlyMC::fillMCParticles
void fillMCParticles(float, float, float, float)
Definition: AnalysisRootpleProducerOnlyMC.cc:28
AnalysisRootpleProducerOnlyMC::fillChargedJet
void fillChargedJet(float, float, float, float)
Definition: AnalysisRootpleProducerOnlyMC.cc:44
AnalysisRootpleProducerOnlyMC::MomentumIJ
float MomentumIJ[NIJMAX]
Definition: AnalysisRootpleProducerOnlyMC.h:74
HepMC::GenEvent
Definition: hepmc_rootio.cc:9
AnalysisRootpleProducerOnlyMC::EtaCJ
float EtaCJ[NCJMAX]
Definition: AnalysisRootpleProducerOnlyMC.h:75
AnalysisRootpleProducerOnlyMC::genJetCollToken
edm::EDGetTokenT< reco::GenJetCollection > genJetCollToken
Definition: AnalysisRootpleProducerOnlyMC.h:48
AnalysisRootpleProducerOnlyMC::TransverseMomentumIJ
float TransverseMomentumIJ[NIJMAX]
Definition: AnalysisRootpleProducerOnlyMC.h:74
AnalysisRootpleProducerOnlyMC::store
void store()
Definition: AnalysisRootpleProducerOnlyMC.cc:18
PVValHelper::eta
Definition: PVValidationHelpers.h:69
AnalysisRootpleProducerOnlyMC::EtaMC
float EtaMC[NMCPMAX]
Definition: AnalysisRootpleProducerOnlyMC.h:72
nanoDQM_cfi.GenPart
GenPart
Definition: nanoDQM_cfi.py:257
AnalysisRootpleProducerOnlyMC::chgGenPartCollToken
edm::EDGetTokenT< std::vector< reco::GenParticle > > chgGenPartCollToken
Definition: AnalysisRootpleProducerOnlyMC.h:50
AnalysisRootpleProducerOnlyMC::piG
float piG
Definition: AnalysisRootpleProducerOnlyMC.h:57
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
AnalysisRootpleProducerOnlyMC::NumberMCParticles
int NumberMCParticles
Definition: AnalysisRootpleProducerOnlyMC.h:70
AnalysisRootpleProducerOnlyMC::chgJetCollToken
edm::EDGetTokenT< reco::GenJetCollection > chgJetCollToken
Definition: AnalysisRootpleProducerOnlyMC.h:49
AnalysisRootpleProducerOnlyMC::EvtHandle
edm::Handle< edm::HepMCProduct > EvtHandle
Definition: AnalysisRootpleProducerOnlyMC.h:52
AnalysisRootpleProducerOnlyMC::ChargedJet
TClonesArray * ChargedJet
Definition: AnalysisRootpleProducerOnlyMC.h:81
AnalysisRootpleProducerOnlyMC::EtaIJ
float EtaIJ[NIJMAX]
Definition: AnalysisRootpleProducerOnlyMC.h:74
AnalysisRootpleProducerOnlyMC::AnalysisTree
TTree * AnalysisTree
Definition: AnalysisRootpleProducerOnlyMC.h:61
GreaterPt
Definition: AnalysisRootpleProducer.cc:9
edm::HepMCProduct::GetEvent
const HepMC::GenEvent * GetEvent() const
Definition: HepMCProduct.h:34
DDAxes::phi
AnalysisRootpleProducerOnlyMC::CandHandleMC
edm::Handle< std::vector< reco::GenParticle > > CandHandleMC
Definition: AnalysisRootpleProducerOnlyMC.h:53
AnalysisRootpleProducerOnlyMC::TransverseMomentumMC
float TransverseMomentumMC[NMCPMAX]
Definition: AnalysisRootpleProducerOnlyMC.h:72
AnalysisRootpleProducerOnlyMC::fillInclusiveJet
void fillInclusiveJet(float, float, float, float)
Definition: AnalysisRootpleProducerOnlyMC.cc:36
AnalysisRootpleProducerOnlyMC::MomentumCJ
float MomentumCJ[NCJMAX]
Definition: AnalysisRootpleProducerOnlyMC.h:75
AnalysisRootpleProducerOnlyMC::EventKind
int EventKind
Definition: AnalysisRootpleProducerOnlyMC.h:70
AnalysisRootpleProducerOnlyMC::MomentumMC
float MomentumMC[NMCPMAX]
Definition: AnalysisRootpleProducerOnlyMC.h:72
GenJetSort
Definition: AnalysisRootpleProducer.cc:14
AnalysisRootpleProducerOnlyMC::PhiCJ
float PhiCJ[NCJMAX]
Definition: AnalysisRootpleProducerOnlyMC.h:75
AnalysisRootpleProducerOnlyMC::ChgGenJetsHandle
edm::Handle< reco::GenJetCollection > ChgGenJetsHandle
Definition: AnalysisRootpleProducerOnlyMC.h:55
edm::InputTag
Definition: InputTag.h:15
AnalysisRootpleProducerOnlyMC::NumberChargedJet
int NumberChargedJet
Definition: AnalysisRootpleProducerOnlyMC.h:70
AnalysisRootpleProducerOnlyMC::TransverseMomentumCJ
float TransverseMomentumCJ[NCJMAX]
Definition: AnalysisRootpleProducerOnlyMC.h:75
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
AnalysisRootpleProducerOnlyMC::InclusiveJet
TClonesArray * InclusiveJet
Definition: AnalysisRootpleProducerOnlyMC.h:80