CMS 3D CMS Logo

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

#include <DrellYanValidation.h>

Inheritance diagram for DrellYanValidation:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Member Functions

void analyze (edm::Event const &, edm::EventSetup const &) override
 
void bookHistograms (DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
 
void dqmBeginRun (const edm::Run &r, const edm::EventSetup &c) override
 
 DrellYanValidation (const edm::ParameterSet &)
 
 ~DrellYanValidation () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

Private Attributes

int _flavor
 decay flavor More...
 
std::string _name
 decay flavor name More...
 
MonitorElementcos_theta_gamma_lepton
 
MonitorElementdilep_mass
 
MonitorElementdilep_massPeak
 
MonitorElementdilep_pt
 
MonitorElementdilep_ptLog
 
MonitorElementdilep_rap
 
edm::ESHandle< HepPDT::ParticleDataTablefPDGTable
 PDT table. More...
 
MonitorElementgamma_energy
 
edm::InputTag hepmcCollection_
 
edm::EDGetTokenT< edm::HepMCProducthepmcCollectionToken_
 
MonitorElementleadeta
 
MonitorElementleadpt
 
MonitorElementnEvt
 
MonitorElementseceta
 
MonitorElementsecpt
 
WeightManager wmanager_
 
MonitorElementZdaughters
 
MonitorElementZmass
 
MonitorElementZmassPeak
 
MonitorElementZpt
 
MonitorElementZptLog
 
MonitorElementZrap
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 32 of file DrellYanValidation.h.

Constructor & Destructor Documentation

◆ DrellYanValidation()

DrellYanValidation::DrellYanValidation ( const edm::ParameterSet iPSet)
explicit

Definition at line 19 of file DrellYanValidation.cc.

20  : wmanager_(iPSet, consumesCollector()),
21  hepmcCollection_(iPSet.getParameter<edm::InputTag>("hepmcCollection")),
22  _flavor(iPSet.getParameter<int>("decaysTo")),
23  _name(iPSet.getParameter<std::string>("name")) {
24  hepmcCollectionToken_ = consumes<HepMCProduct>(hepmcCollection_);
25 }

References hepmcCollection_, and hepmcCollectionToken_.

◆ ~DrellYanValidation()

DrellYanValidation::~DrellYanValidation ( )
override

Definition at line 27 of file DrellYanValidation.cc.

27 {}

Member Function Documentation

◆ analyze()

void DrellYanValidation::analyze ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup 
)
overridevirtual

Gathering the HepMCProduct information

Reimplemented from DQMEDAnalyzer.

Definition at line 81 of file DrellYanValidation.cc.

81  {
82  // we *DO NOT* rely on a Z entry in the particle listings!
83 
86  iEvent.getByToken(hepmcCollectionToken_, evt);
87 
88  //Get EVENT
89  const HepMC::GenEvent* myGenEvent = evt->GetEvent();
90 
91  double weight = wmanager_.weight(iEvent);
92 
93  //std::cout << "weight: " << weight << std::endl;
94 
95  nEvt->Fill(0.5, weight);
96 
97  std::vector<const HepMC::GenParticle*> allproducts;
98 
99  //requires status 1 for leptons and neutrinos (except tau)
100  int requiredstatus = (std::abs(_flavor) == 11 || std::abs(_flavor) == 12 || std::abs(_flavor) == 13 ||
101  std::abs(_flavor) == 14 || std::abs(_flavor) == 16)
102  ? 1
103  : 3;
104 
105  bool vetotau =
106  true; //(std::abs(_flavor) == 11 || std::abs(_flavor) == 12 || std::abs(_flavor) ==13 || std::abs(_flavor) ==14 || std::abs(_flavor) ==16) ? true : false;
107 
108  for (HepMC::GenEvent::particle_const_iterator iter = myGenEvent->particles_begin();
109  iter != myGenEvent->particles_end();
110  ++iter) {
111  if (vetotau) {
112  if ((*iter)->status() == 3 && std::abs((*iter)->pdg_id()) == 15)
113  return;
114  }
115  if ((*iter)->status() == requiredstatus) {
116  if (std::abs((*iter)->pdg_id()) == _flavor)
117  allproducts.push_back(*iter);
118  }
119  }
120 
121  //nothing to do if we don't have 2 particles
122  if (allproducts.size() < 2)
123  return;
124 
125  //sort them in pt
126  std::sort(allproducts.begin(), allproducts.end(), HepMCValidationHelper::sortByPt);
127 
128  //get the first element and the first following element with opposite charge
129  std::vector<const HepMC::GenParticle*> products;
130  products.push_back(allproducts.front());
131  const HepPDT::ParticleData* PData1 = fPDGTable->particle(HepPDT::ParticleID(allproducts.front()->pdg_id()));
132  double charge1 = PData1->charge();
133  for (unsigned int i = 1; i < allproducts.size(); ++i) {
134  const HepPDT::ParticleData* PData2 = fPDGTable->particle(HepPDT::ParticleID(allproducts[i]->pdg_id()));
135  double charge2 = PData2->charge();
136  if (charge1 * charge2 < 0)
137  products.push_back(allproducts[i]);
138  }
139 
140  //if we did not find any opposite charge pair there is nothing to do
141  if (products.size() < 2)
142  return;
143 
144  assert(products[0]->momentum().perp() >= products[1]->momentum().perp());
145 
146  //leading lepton with pt > 20.
147  if (products[0]->momentum().perp() < 20.)
148  return;
149 
150  //assemble FourMomenta
151  TLorentzVector lep1(products[0]->momentum().x(),
152  products[0]->momentum().y(),
153  products[0]->momentum().z(),
154  products[0]->momentum().t());
155  TLorentzVector lep2(products[1]->momentum().x(),
156  products[1]->momentum().y(),
157  products[1]->momentum().z(),
158  products[1]->momentum().t());
159  TLorentzVector dilepton_mom = lep1 + lep2;
160  TLorentzVector dilepton_andphoton_mom = dilepton_mom;
161 
162  //mass > 60.
163  if (dilepton_mom.M() < 60.)
164  return;
165 
166  //find possible qed fsr photons
167  std::vector<const HepMC::GenParticle*> fsrphotons;
168  HepMCValidationHelper::findFSRPhotons(products, myGenEvent, 0.1, fsrphotons);
169 
172 
173  std::vector<TLorentzVector> gammasMomenta;
174  for (unsigned int ipho = 0; ipho < fsrphotons.size(); ++ipho) {
175  TLorentzVector phomom(fsrphotons[ipho]->momentum().x(),
176  fsrphotons[ipho]->momentum().y(),
177  fsrphotons[ipho]->momentum().z(),
178  fsrphotons[ipho]->momentum().t());
179  dilepton_andphoton_mom += phomom;
180  Zdaughters->Fill(fsrphotons[ipho]->pdg_id(), weight);
181  gammasMomenta.push_back(phomom);
182  }
183  //Fill Z histograms
184  Zmass->Fill(dilepton_andphoton_mom.M(), weight);
185  ZmassPeak->Fill(dilepton_andphoton_mom.M(), weight);
186  Zpt->Fill(dilepton_andphoton_mom.Pt(), weight);
187  ZptLog->Fill(log10(dilepton_andphoton_mom.Pt()), weight);
188  Zrap->Fill(dilepton_andphoton_mom.Rapidity(), weight);
189 
190  //Fill dilepton histograms
191  dilep_mass->Fill(dilepton_mom.M(), weight);
192  dilep_massPeak->Fill(dilepton_mom.M(), weight);
193  dilep_pt->Fill(dilepton_mom.Pt(), weight);
194  dilep_ptLog->Fill(log10(dilepton_mom.Pt()), weight);
195  dilep_rap->Fill(dilepton_mom.Rapidity(), weight);
196 
197  //Fill lepton histograms
198  leadpt->Fill(lep1.Pt(), weight);
199  secpt->Fill(lep2.Pt(), weight);
200  leadeta->Fill(lep1.Eta(), weight);
201  seceta->Fill(lep2.Eta(), weight);
202 
203  //boost everything in the Z frame
204  TVector3 boost = dilepton_andphoton_mom.BoostVector();
205  boost *= -1.;
206  lep1.Boost(boost);
207  lep2.Boost(boost);
208  for (unsigned int ipho = 0; ipho < gammasMomenta.size(); ++ipho) {
209  gammasMomenta[ipho].Boost(boost);
210  }
211  std::sort(gammasMomenta.begin(), gammasMomenta.end(), HepMCValidationHelper::GreaterByE<TLorentzVector>);
212 
213  //fill gamma histograms
214  if (!gammasMomenta.empty() && dilepton_andphoton_mom.M() > 50.) {
215  gamma_energy->Fill(gammasMomenta.front().E(), weight);
216  double dphi = lep1.DeltaR(gammasMomenta.front()) < lep2.DeltaR(gammasMomenta.front())
217  ? lep1.DeltaPhi(gammasMomenta.front())
218  : lep2.DeltaPhi(gammasMomenta.front());
220  }
221 
222 } //analyze

References _flavor, funct::abs(), cms::cuda::assert(), funct::cos(), cos_theta_gamma_lepton, dilep_mass, dilep_massPeak, dilep_pt, dilep_ptLog, dilep_rap, dqm::impl::MonitorElement::Fill(), HepMCValidationHelper::findFSRPhotons(), fPDGTable, gamma_energy, edm::HepMCProduct::GetEvent(), hepmcCollectionToken_, mps_fire::i, iEvent, leadeta, leadpt, RazorAnalyzer::lep1, RazorAnalyzer::lep2, nEvt, LHEGenericFilter_cfi::ParticleID, HiggsValidation_cfi::pdg_id, perp(), edm::es::products(), seceta, secpt, jetUpdater_cfi::sort, HepMCValidationHelper::sortByPt(), submitPVValidationJobs::t, WeightManager::weight(), mps_merge::weight, wmanager_, x, y, z, Zdaughters, Zmass, ZmassPeak, Zpt, ZptLog, and Zrap.

◆ bookHistograms()

void DrellYanValidation::bookHistograms ( DQMStore::IBooker i,
edm::Run const &  ,
edm::EventSetup const &   
)
overridevirtual

Setting the DQM top directories

Implements DQMEDAnalyzer.

Definition at line 31 of file DrellYanValidation.cc.

31  {
33  std::string folderName = "Generator/DrellYan";
34  folderName += _name;
35  DQMHelper dqm(&i);
36  i.setCurrentFolder(folderName);
37 
38  // Number of analyzed events
39  nEvt = dqm.book1dHisto("nEvt", "n analyzed Events", 1, 0., 1., "bin", "Number of Events");
40 
41  //Kinematics
42  Zmass = dqm.book1dHisto("Zmass", "inv. Mass Z", 70, 0, 140, "M_{Z} (GeV)", "Number of Events");
43  ZmassPeak = dqm.book1dHisto("ZmassPeak", "inv. Mass Z", 80, 80, 100, "M_{Z} (GeV)", "Number of Events");
44  Zpt = dqm.book1dHisto("Zpt", "Z pt", 100, 0, 200, "P_{t}^{Z} (GeV)", "Number of Events");
45  ZptLog =
46  dqm.book1dHisto("ZptLog", "log(Z pt)", 100, 0., 5., "log_{10}(P_{t}^{Z}) (log_{10}(GeV))", "Number of Events");
47  Zrap = dqm.book1dHisto("Zrap", "Z y", 100, -5, 5, "Y_{Z}", "Number of Events");
48  Zdaughters = dqm.book1dHisto("Zdaughters", "Z daughters", 60, -30, 30, "Z daughters (PDG ID)", "Number of Events");
49 
50  dilep_mass = dqm.book1dHisto("dilep_mass", "inv. Mass dilepton", 70, 0, 140, "M_{ll} (GeV)", "Number of Events");
52  dqm.book1dHisto("dilep_massPeak", "inv. Mass dilepton", 80, 80, 100, "M_{ll} (GeV)", "Number of Events");
53  dilep_pt = dqm.book1dHisto("dilep_pt", "dilepton pt", 100, 0, 200, "P_{t}^{ll} (GeV)", "Number of Events");
54  dilep_ptLog = dqm.book1dHisto(
55  "dilep_ptLog", "log(dilepton pt)", 100, 0., 5., "log_{10}(P_{t}^{ll}) (log_{10}(GeV))", "Number of Events");
56  dilep_rap = dqm.book1dHisto("dilep_rap", "dilepton y", 100, -5, 5, "Y_{ll}", "Number of Events");
57 
58  gamma_energy = dqm.book1dHisto("gamma_energy",
59  "photon energy in Z rest frame",
60  200,
61  0.,
62  100.,
63  "E_{#gamma}^{Z rest-frame} (GeV)",
64  "Number of Events");
65  cos_theta_gamma_lepton = dqm.book1dHisto("cos_theta_gamma_lepton",
66  "cos_theta_gamma_lepton in Z rest frame",
67  200,
68  -1,
69  1,
70  "cos(#theta_{#gamma-lepton}^{Z rest-frame})",
71  "Number of Events");
72 
73  leadpt = dqm.book1dHisto("leadpt", "leading lepton pt", 200, 0., 200., "P_{t}^{1st-lepton}", "Number of Events");
74  secpt = dqm.book1dHisto("secpt", "second lepton pt", 200, 0., 200., "P_{t}^{2nd-lepton}", "Number of Events");
75  leadeta = dqm.book1dHisto("leadeta", "leading lepton eta", 100, -5., 5., "#eta^{1st-lepton}", "Number of Events");
76  seceta = dqm.book1dHisto("seceta", "second lepton eta", 100, -5., 5., "#eta^{2nd-lepton}", "Number of Events");
77 
78  return;
79 }

References _name, cos_theta_gamma_lepton, dilep_mass, dilep_massPeak, dilep_pt, dilep_ptLog, dilep_rap, ALCARECODTCalibSynchCosmicsDQM_cff::folderName, gamma_energy, mps_fire::i, leadeta, leadpt, nEvt, seceta, secpt, AlCaHLTBitMon_QueryRunRegistry::string, Zdaughters, Zmass, ZmassPeak, Zpt, ZptLog, and Zrap.

◆ dqmBeginRun()

void DrellYanValidation::dqmBeginRun ( const edm::Run r,
const edm::EventSetup c 
)
overridevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 29 of file DrellYanValidation.cc.

29 { c.getData(fPDGTable); }

References c, and fPDGTable.

Member Data Documentation

◆ _flavor

int DrellYanValidation::_flavor
private

decay flavor

Definition at line 55 of file DrellYanValidation.h.

Referenced by analyze().

◆ _name

std::string DrellYanValidation::_name
private

◆ cos_theta_gamma_lepton

MonitorElement * DrellYanValidation::cos_theta_gamma_lepton
private

Definition at line 52 of file DrellYanValidation.h.

Referenced by analyze(), and bookHistograms().

◆ dilep_mass

MonitorElement* DrellYanValidation::dilep_mass
private

Definition at line 50 of file DrellYanValidation.h.

Referenced by analyze(), and bookHistograms().

◆ dilep_massPeak

MonitorElement * DrellYanValidation::dilep_massPeak
private

Definition at line 50 of file DrellYanValidation.h.

Referenced by analyze(), and bookHistograms().

◆ dilep_pt

MonitorElement * DrellYanValidation::dilep_pt
private

Definition at line 50 of file DrellYanValidation.h.

Referenced by analyze(), and bookHistograms().

◆ dilep_ptLog

MonitorElement * DrellYanValidation::dilep_ptLog
private

Definition at line 50 of file DrellYanValidation.h.

Referenced by analyze(), and bookHistograms().

◆ dilep_rap

MonitorElement * DrellYanValidation::dilep_rap
private

Definition at line 50 of file DrellYanValidation.h.

Referenced by analyze(), and bookHistograms().

◆ fPDGTable

edm::ESHandle<HepPDT::ParticleDataTable> DrellYanValidation::fPDGTable
private

PDT table.

Definition at line 46 of file DrellYanValidation.h.

Referenced by analyze(), and dqmBeginRun().

◆ gamma_energy

MonitorElement* DrellYanValidation::gamma_energy
private

Definition at line 52 of file DrellYanValidation.h.

Referenced by analyze(), and bookHistograms().

◆ hepmcCollection_

edm::InputTag DrellYanValidation::hepmcCollection_
private

Definition at line 43 of file DrellYanValidation.h.

Referenced by DrellYanValidation().

◆ hepmcCollectionToken_

edm::EDGetTokenT<edm::HepMCProduct> DrellYanValidation::hepmcCollectionToken_
private

Definition at line 59 of file DrellYanValidation.h.

Referenced by analyze(), and DrellYanValidation().

◆ leadeta

MonitorElement * DrellYanValidation::leadeta
private

Definition at line 51 of file DrellYanValidation.h.

Referenced by analyze(), and bookHistograms().

◆ leadpt

MonitorElement* DrellYanValidation::leadpt
private

Definition at line 51 of file DrellYanValidation.h.

Referenced by analyze(), and bookHistograms().

◆ nEvt

MonitorElement* DrellYanValidation::nEvt
private

Definition at line 48 of file DrellYanValidation.h.

Referenced by analyze(), and bookHistograms().

◆ seceta

MonitorElement * DrellYanValidation::seceta
private

Definition at line 51 of file DrellYanValidation.h.

Referenced by analyze(), and bookHistograms().

◆ secpt

MonitorElement * DrellYanValidation::secpt
private

Definition at line 51 of file DrellYanValidation.h.

Referenced by analyze(), and bookHistograms().

◆ wmanager_

WeightManager DrellYanValidation::wmanager_
private

Definition at line 42 of file DrellYanValidation.h.

Referenced by analyze().

◆ Zdaughters

MonitorElement * DrellYanValidation::Zdaughters
private

Definition at line 49 of file DrellYanValidation.h.

Referenced by analyze(), and bookHistograms().

◆ Zmass

MonitorElement* DrellYanValidation::Zmass
private

Definition at line 49 of file DrellYanValidation.h.

Referenced by analyze(), and bookHistograms().

◆ ZmassPeak

MonitorElement * DrellYanValidation::ZmassPeak
private

Definition at line 49 of file DrellYanValidation.h.

Referenced by analyze(), and bookHistograms().

◆ Zpt

MonitorElement * DrellYanValidation::Zpt
private

Definition at line 49 of file DrellYanValidation.h.

Referenced by analyze(), and bookHistograms().

◆ ZptLog

MonitorElement * DrellYanValidation::ZptLog
private

Definition at line 49 of file DrellYanValidation.h.

Referenced by analyze(), and bookHistograms().

◆ Zrap

MonitorElement * DrellYanValidation::Zrap
private

Definition at line 49 of file DrellYanValidation.h.

Referenced by analyze(), and bookHistograms().

RazorAnalyzer.lep1
lep1
print 'MRbb(1b)',event.mr_bb
Definition: RazorAnalyzer.py:261
HiggsValidation_cfi.pdg_id
pdg_id
Definition: HiggsValidation_cfi.py:6
DrellYanValidation::Zpt
MonitorElement * Zpt
Definition: DrellYanValidation.h:49
DDAxes::y
mps_fire.i
i
Definition: mps_fire.py:428
DrellYanValidation::dilep_rap
MonitorElement * dilep_rap
Definition: DrellYanValidation.h:50
DrellYanValidation::dilep_pt
MonitorElement * dilep_pt
Definition: DrellYanValidation.h:50
mps_merge.weight
weight
Definition: mps_merge.py:88
DrellYanValidation::Zmass
MonitorElement * Zmass
Definition: DrellYanValidation.h:49
HepMCValidationHelper::findFSRPhotons
void findFSRPhotons(const std::vector< const HepMC::GenParticle * > &leptons, const std::vector< const HepMC::GenParticle * > &all, double deltaR, std::vector< const HepMC::GenParticle * > &photons)
Definition: HepMCValidationHelper.cc:20
DrellYanValidation::nEvt
MonitorElement * nEvt
Definition: DrellYanValidation.h:48
cms::cuda::assert
assert(be >=bs)
DrellYanValidation::wmanager_
WeightManager wmanager_
Definition: DrellYanValidation.h:42
DrellYanValidation::_name
std::string _name
decay flavor name
Definition: DrellYanValidation.h:57
DrellYanValidation::ZmassPeak
MonitorElement * ZmassPeak
Definition: DrellYanValidation.h:49
DDAxes::x
DrellYanValidation::ZptLog
MonitorElement * ZptLog
Definition: DrellYanValidation.h:49
perp
T perp() const
Magnitude of transverse component.
Definition: Basic3DVectorLD.h:133
boost
Definition: CLHEP.h:16
edm::Handle
Definition: AssociativeIterator.h:50
edm::es::products
ESProducts< std::remove_reference_t< TArgs >... > products(TArgs &&... args)
Definition: ESProducts.h:128
DrellYanValidation::fPDGTable
edm::ESHandle< HepPDT::ParticleDataTable > fPDGTable
PDT table.
Definition: DrellYanValidation.h:46
HepMC::GenEvent
Definition: hepmc_rootio.cc:9
ParticleData
HepPDT::ParticleData ParticleData
Definition: ParticleDataTable.h:9
DrellYanValidation::dilep_massPeak
MonitorElement * dilep_massPeak
Definition: DrellYanValidation.h:50
funct::cos
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
DrellYanValidation::hepmcCollectionToken_
edm::EDGetTokenT< edm::HepMCProduct > hepmcCollectionToken_
Definition: DrellYanValidation.h:59
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
DrellYanValidation::leadpt
MonitorElement * leadpt
Definition: DrellYanValidation.h:51
DDAxes::z
DrellYanValidation::secpt
MonitorElement * secpt
Definition: DrellYanValidation.h:51
DrellYanValidation::_flavor
int _flavor
decay flavor
Definition: DrellYanValidation.h:55
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DrellYanValidation::hepmcCollection_
edm::InputTag hepmcCollection_
Definition: DrellYanValidation.h:43
jetUpdater_cfi.sort
sort
Definition: jetUpdater_cfi.py:29
DrellYanValidation::cos_theta_gamma_lepton
MonitorElement * cos_theta_gamma_lepton
Definition: DrellYanValidation.h:52
DrellYanValidation::Zrap
MonitorElement * Zrap
Definition: DrellYanValidation.h:49
iEvent
int iEvent
Definition: GenABIO.cc:224
DrellYanValidation::dilep_ptLog
MonitorElement * dilep_ptLog
Definition: DrellYanValidation.h:50
edm::HepMCProduct::GetEvent
const HepMC::GenEvent * GetEvent() const
Definition: HepMCProduct.h:37
DrellYanValidation::leadeta
MonitorElement * leadeta
Definition: DrellYanValidation.h:51
WeightManager::weight
double weight(const edm::Event &)
Definition: WeightManager.cc:24
ALCARECODTCalibSynchCosmicsDQM_cff.folderName
folderName
Definition: ALCARECODTCalibSynchCosmicsDQM_cff.py:9
DQMHelper
Definition: DQMHelper.h:15
DrellYanValidation::gamma_energy
MonitorElement * gamma_energy
Definition: DrellYanValidation.h:52
DrellYanValidation::dilep_mass
MonitorElement * dilep_mass
Definition: DrellYanValidation.h:50
DrellYanValidation::seceta
MonitorElement * seceta
Definition: DrellYanValidation.h:51
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
dqm
Definition: DQMStore.h:18
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
RazorAnalyzer.lep2
lep2
Definition: RazorAnalyzer.py:262
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644
LHEGenericFilter_cfi.ParticleID
ParticleID
Definition: LHEGenericFilter_cfi.py:6
edm::InputTag
Definition: InputTag.h:15
DrellYanValidation::Zdaughters
MonitorElement * Zdaughters
Definition: DrellYanValidation.h:49
HepMCValidationHelper::sortByPt
bool sortByPt(const HepMC::GenParticle *a, const HepMC::GenParticle *b)
Definition: HepMCValidationHelper.h:15
weight
Definition: weight.py:1