CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Private Attributes
ZdcSimHitStudy Class Reference

#include <ZdcSimHitStudy.h>

Inheritance diagram for ZdcSimHitStudy:
DQMEDAnalyzer edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 ZdcSimHitStudy (const edm::ParameterSet &ps)
 
 ~ZdcSimHitStudy ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c)
 
void analyzeHits (std::vector< PCaloHit > &)
 
virtual void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
 
void endRun (const edm::Run &run, const edm::EventSetup &c)
 
int FillHitValHist (int side, int section, int channel, double energy, double time)
 
- Protected Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, 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 ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Private Attributes

bool checkHit_
 
double enetot
 
double enetotEmN
 
double enetotEmP
 
double enetotHadN
 
double enetotHadP
 
double enetotN
 
double enetotP
 
std::string g4Label
 
MonitorElementgenpart_GammaB
 
MonitorElementgenpart_GammaB_energydist
 
MonitorElementgenpart_GammaF
 
MonitorElementgenpart_GammaF_energydist
 
MonitorElementgenpart_NeutB
 
MonitorElementgenpart_NeutB_energydist
 
MonitorElementgenpart_NeutF
 
MonitorElementgenpart_NeutF_energydist
 
MonitorElementgenpart_Pi0B
 
MonitorElementgenpart_Pi0B_energydist
 
MonitorElementgenpart_Pi0F
 
MonitorElementgenpart_Pi0F_energydist
 
MonitorElementmeAllZdcNHit_
 
MonitorElementmeBadZdcDetHit_
 
MonitorElementmeBadZdcIdHit_
 
MonitorElementmeBadZdcSecHit_
 
MonitorElementmeZdc10Ene_
 
MonitorElementmeZdc10EneP_
 
MonitorElementmeZdcChannelHit_
 
MonitorElementmeZdcCorEEmNEHadN_
 
MonitorElementmeZdcCorEEmPEHadP_
 
MonitorElementmeZdcCorEtotNEtotP_
 
MonitorElementmeZdcDetectHit_
 
MonitorElementmeZdcEEMCh_
 
MonitorElementmeZdcEHadCh_
 
MonitorElementmeZdcEMEnergyHit_
 
MonitorElementmeZdcEML10EneP_
 
MonitorElementmeZdcEneEmN1_
 
MonitorElementmeZdcEneEmN2_
 
MonitorElementmeZdcEneEmN3_
 
MonitorElementmeZdcEneEmN4_
 
MonitorElementmeZdcEneEmN5_
 
MonitorElementmeZdcEneEmNTot_
 
MonitorElementmeZdcEneEmP1_
 
MonitorElementmeZdcEneEmP2_
 
MonitorElementmeZdcEneEmP3_
 
MonitorElementmeZdcEneEmP4_
 
MonitorElementmeZdcEneEmP5_
 
MonitorElementmeZdcEneEmPTot_
 
MonitorElementmeZdcEneHadN1_
 
MonitorElementmeZdcEneHadN2_
 
MonitorElementmeZdcEneHadN3_
 
MonitorElementmeZdcEneHadN4_
 
MonitorElementmeZdcEneHadNTot_
 
MonitorElementmeZdcEneHadP1_
 
MonitorElementmeZdcEneHadP2_
 
MonitorElementmeZdcEneHadP3_
 
MonitorElementmeZdcEneHadP4_
 
MonitorElementmeZdcEneHadPTot_
 
MonitorElementmeZdcEneNTot_
 
MonitorElementmeZdcEnePTot_
 
MonitorElementmeZdcEnergyHit_
 
MonitorElementmeZdcEneTEmN1_
 
MonitorElementmeZdcEneTEmN2_
 
MonitorElementmeZdcEneTEmN3_
 
MonitorElementmeZdcEneTEmN4_
 
MonitorElementmeZdcEneTEmN5_
 
MonitorElementmeZdcEneTEmP1_
 
MonitorElementmeZdcEneTEmP2_
 
MonitorElementmeZdcEneTEmP3_
 
MonitorElementmeZdcEneTEmP4_
 
MonitorElementmeZdcEneTEmP5_
 
MonitorElementmeZdcEneTHadN1_
 
MonitorElementmeZdcEneTHadN2_
 
MonitorElementmeZdcEneTHadN3_
 
MonitorElementmeZdcEneTHadN4_
 
MonitorElementmeZdcEneTHadP1_
 
MonitorElementmeZdcEneTHadP2_
 
MonitorElementmeZdcEneTHadP3_
 
MonitorElementmeZdcEneTHadP4_
 
MonitorElementmeZdcEneTot_
 
MonitorElementmeZdcETime_
 
MonitorElementmeZdcHadEnergyHit_
 
MonitorElementmeZdcHadL10EneP_
 
MonitorElementmeZdcNHit_
 
MonitorElementmeZdcNHitEM_
 
MonitorElementmeZdcNHitHad_
 
MonitorElementmeZdcNHitLum_
 
MonitorElementmeZdcSectionHit_
 
MonitorElementmeZdcSideHit_
 
MonitorElementmeZdcTimeHit_
 
MonitorElementmeZdcTimeWHit_
 
std::string outFile_
 
edm::EDGetTokenT
< reco::GenParticleCollection
tok_gen_
 
edm::EDGetTokenT
< edm::PCaloHitContainer
tok_hits_
 
bool verbose_
 
std::string zdcHits
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T...> CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T...> HasAbility
 
typedef
CacheTypes::LuminosityBlockCache 
LuminosityBlockCache
 
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr
< dqmDetails::NoCache
globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr
< dqmDetails::NoCache
globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 52 of file ZdcSimHitStudy.h.

Constructor & Destructor Documentation

ZdcSimHitStudy::ZdcSimHitStudy ( const edm::ParameterSet ps)

Definition at line 30 of file ZdcSimHitStudy.cc.

References checkHit_, g4Label, edm::ParameterSet::getUntrackedParameter(), outFile_, AlCaHLTBitMon_QueryRunRegistry::string, tok_gen_, tok_hits_, verbose_, and zdcHits.

30  {
31 
32  g4Label = ps.getUntrackedParameter<std::string>("moduleLabel","g4SimHits");
33  zdcHits = ps.getUntrackedParameter<std::string>("HitCollection","ZdcHits");
34  outFile_ = ps.getUntrackedParameter<std::string>("outputFile", "zdcHitStudy.root");
35  verbose_ = ps.getUntrackedParameter<bool>("Verbose", false);
36  checkHit_= true;
37 
38  tok_gen_ = consumes<reco::GenParticleCollection>(edm::InputTag("genParticles"));
39  tok_hits_ = consumes<edm::PCaloHitContainer>(edm::InputTag(g4Label,zdcHits));
40 
41  edm::LogInfo("ZdcSimHitStudy")
42  //std::cout
43  << "Module Label: " << g4Label << " Hits: "
44  << zdcHits << " / "<< checkHit_
45  << " Output: " << outFile_;
46 
47 }
T getUntrackedParameter(std::string const &, T const &) const
std::string outFile_
edm::EDGetTokenT< edm::PCaloHitContainer > tok_hits_
edm::EDGetTokenT< reco::GenParticleCollection > tok_gen_
std::string zdcHits
std::string g4Label
ZdcSimHitStudy::~ZdcSimHitStudy ( )

Definition at line 49 of file ZdcSimHitStudy.cc.

49 {}

Member Function Documentation

void ZdcSimHitStudy::analyze ( const edm::Event e,
const edm::EventSetup c 
)
protectedvirtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 459 of file ZdcSimHitStudy.cc.

References analyzeHits(), checkHit_, reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), edm::EventID::event(), MonitorElement::Fill(), relval_steps::gen(), genpart_GammaB, genpart_GammaB_energydist, genpart_GammaF, genpart_GammaF_energydist, genpart_NeutB, genpart_NeutB_energydist, genpart_NeutF, genpart_NeutF_energydist, genpart_Pi0B, genpart_Pi0B_energydist, genpart_Pi0F, genpart_Pi0F_energydist, configurableAnalysis::GenParticle, edm::Event::getByToken(), edm::EventBase::id(), LogDebug, reco::LeafCandidate::pdgId(), reco::LeafCandidate::phi(), edm::EventID::run(), tok_gen_, and tok_hits_.

459  {
461 
462  using namespace edm;
463  bool gotGenParticles=true;
464 
465 
467 
468  if (!(iEvent.getByToken(tok_gen_,genhandle)))
469  {
470  gotGenParticles=false; //this is the same kind of boolean except for the genparticles collection
471  }
472  if (!(genhandle.isValid()))
473  {
474  gotGenParticles=false;
475  }
476 
477 
478  //Handle<edm::PCaloHitContainer> zdcsimhandle;
479 
480 
482 
483 
484  if (gotGenParticles==true){ //if the boolean was able to find the leaf "genparticles" then do this
485  for (reco::GenParticleCollection::const_iterator gen = genhandle->begin();
486  gen!=genhandle->end();
487  ++gen) //here we iterate over all generated particles
488  {
489  // double energy=gen->energy();
490  reco::GenParticle thisParticle = (reco::GenParticle)(*gen); //get the particle "gen" points to
491  double energy_2= thisParticle.energy(); //here I grab some of the attributes of the generated particle....like its energy, its phi and its eta and what kind of particle it is
492  double gen_phi = thisParticle.phi();
493  double gen_eta = thisParticle.eta();
494  int gen_id = thisParticle.pdgId();
495 
496  if (gen_id==111){ //here i require a pi0
497  if (gen_eta>8.3){ //eta requirement
498 
500 //# IMPORTANT IMPORTANT IMPORTANT IMPORTANT #
501 //# The real eta of the ZDC is |eta| > 8.3, I have only changed it here to 3 because#
502 //# in the PG simulation the ZDC is at an eta of about 4.5-7, in the real GEANT the #
503 //# ZDC is in its appropriate place at the very foward region...please edit this if #
504 //# looking at MinBias data or the like #
505 //# #
506 //# IMPORTANT IMPORTANT IMPORTANT IMPORTANT #
508 
509 
510 
511  genpart_Pi0F->Fill(gen_eta,gen_phi,energy_2); //fill the lego plot
512  genpart_Pi0F_energydist->Fill(energy_2); //fill the 1D distribution
513  }
514  if (gen_eta<-8.3){ //neg eta requirement
515  genpart_Pi0B->Fill(gen_eta,gen_phi,energy_2);
516  genpart_Pi0B_energydist->Fill(energy_2);
517  }
518  }
519  if (gen_id==2112){ //require neutron
520  if (gen_eta>8.3){
521  genpart_NeutF->Fill(gen_eta,gen_phi,energy_2);
522  genpart_NeutF_energydist->Fill(energy_2);
523  }
524  if (gen_eta<-8.3){
525  genpart_NeutB->Fill(gen_eta,gen_phi,energy_2);
526  genpart_NeutB_energydist->Fill(energy_2);
527  }
528  }
529 
530  if (gen_id==22){ //require gamma
531  if (gen_eta>8.3){
532  genpart_GammaF->Fill(gen_eta,gen_phi,energy_2);
533  genpart_GammaF_energydist->Fill(energy_2);
534  }
535  if (gen_eta<-8.3){
536  genpart_GammaB->Fill(gen_eta,gen_phi,energy_2);
537  genpart_GammaB_energydist->Fill(energy_2);
538  }
539  }
540 
541  } //end of GEN loop
542  }
543 
544 
545 
547 
548 //Below is the old script which I will comment later
549 
550 
551 
552  LogDebug("ZdcSimHitStudy")
553  //std::cout
554  //std::cout
555  << "Run = " << iEvent.id().run() << " Event = "
556  << iEvent.id().event();
557 /* << "Run = " << e.id().run() << " Event = "
558  << e.id().event();*/
559  //std::cout<<std::endl;
560 
561  std::vector<PCaloHit> caloHits;
563 
564  bool getHits = false;
565  if (checkHit_) {
566  iEvent.getByToken(tok_hits_,hitsZdc);
567  if (hitsZdc.isValid()) getHits = true;
568  }
569 
570  LogDebug("ZdcSim") << "ZdcValidation: Input flags Hits " << getHits;
571 
572  if (getHits) {
573  caloHits.insert(caloHits.end(),hitsZdc->begin(),hitsZdc->end());
574  LogDebug("ZdcSimHitStudy")
575  //std::cout
576  << "ZdcValidation: Hit buffer "
577  << caloHits.size();
578  //<< std::endl;
579  analyzeHits (caloHits);
580  }
581 }
#define LogDebug(id)
virtual double energy() const GCC11_FINAL
energy
MonitorElement * genpart_NeutB
void analyzeHits(std::vector< PCaloHit > &)
MonitorElement * genpart_Pi0F
virtual int pdgId() const GCC11_FINAL
PDG identifier.
MonitorElement * genpart_Pi0F_energydist
MonitorElement * genpart_NeutF
MonitorElement * genpart_Pi0B
void Fill(long long x)
virtual float phi() const GCC11_FINAL
momentum azimuthal angle
int iEvent
Definition: GenABIO.cc:230
MonitorElement * genpart_GammaB_energydist
edm::EDGetTokenT< edm::PCaloHitContainer > tok_hits_
MonitorElement * genpart_GammaF_energydist
MonitorElement * genpart_NeutF_energydist
edm::EDGetTokenT< reco::GenParticleCollection > tok_gen_
virtual float eta() const GCC11_FINAL
momentum pseudorapidity
MonitorElement * genpart_GammaF
MonitorElement * genpart_GammaB
MonitorElement * genpart_NeutB_energydist
MonitorElement * genpart_Pi0B_energydist
void ZdcSimHitStudy::analyzeHits ( std::vector< PCaloHit > &  hits)
protected

Definition at line 583 of file ZdcSimHitStudy.cc.

References HcalZDCDetId::EM, relval_parameters_module::energy, enetot, enetotEmN, enetotEmP, enetotHadN, enetotHadP, enetotN, enetotP, MonitorElement::Fill(), FillHitValHist(), HcalZDCDetId::HAD, i, LogDebug, HcalZDCDetId::LUM, meAllZdcNHit_, meBadZdcDetHit_, meBadZdcIdHit_, meBadZdcSecHit_, meZdc10Ene_, meZdcChannelHit_, meZdcCorEEmNEHadN_, meZdcCorEEmPEHadP_, meZdcCorEtotNEtotP_, meZdcDetectHit_, meZdcEEMCh_, meZdcEHadCh_, meZdcEMEnergyHit_, meZdcEML10EneP_, meZdcEneEmNTot_, meZdcEneEmPTot_, meZdcEneHadNTot_, meZdcEneHadPTot_, meZdcEneNTot_, meZdcEnePTot_, meZdcEnergyHit_, meZdcEneTot_, meZdcETime_, meZdcHadEnergyHit_, meZdcHadL10EneP_, meZdcNHitEM_, meZdcNHitHad_, meZdcNHitLum_, meZdcSectionHit_, meZdcSideHit_, meZdcTimeHit_, meZdcTimeWHit_, and cond::rpcobgas::time.

Referenced by analyze().

583  {
584  int nHit = hits.size();
585  int nZdcEM = 0, nZdcHad = 0, nZdcLum = 0;
586  int nBad1=0, nBad2=0, nBad=0;
587  std::vector<double> encontZdcEM(140, 0.);
588  std::vector<double> encontZdcHad(140, 0.);
589  double entotZdcEM = 0;
590  double entotZdcHad = 0;
591 
592  enetotEmN = 0;
593  enetotHadN = 0.;
594  enetotN = 0;
595  enetotEmP = 0;
596  enetotHadP = 0;
597  enetotP = 0;
598  enetot = 0;
599 
600  for (int i=0; i<nHit; i++) {
601  double energy = hits[i].energy();
602  double log10en = log10(energy);
603  int log10i = int( (log10en+10.)*10. );
604  double time = hits[i].time();
605  unsigned int id_ = hits[i].id();
606  HcalZDCDetId id = HcalZDCDetId(id_);
607  int det = id.det();
608  int side = id.zside();
609  int section = id.section();
610  int channel = id.channel();
611 
612  FillHitValHist(side,section,channel,energy,time);
613 
614 
615  LogDebug("ZdcSimHitStudy")
616  //std::cout
617  << "Hit[" << i << "] ID " << std::hex << id_
618  << std::dec <<" DetID "<<id
619  << " Det "<< det << " side "<< side
620  << " Section " << section
621  << " channel "<< channel
622  << " E " << energy
623  << " time \n" << time;
624  //<<std::endl;
625 
626  if(det == 5) { // Check DetId.h
627  if(section == HcalZDCDetId::EM)nZdcEM++;
628  else if(section == HcalZDCDetId::HAD)nZdcHad++;
629  else if(section == HcalZDCDetId::LUM)nZdcLum++;
630  else { nBad++; nBad2++;}
631  } else { nBad++; nBad1++;}
632 
633  meZdcDetectHit_->Fill(double(det));
634  if (det == 5) {
635  meZdcSideHit_->Fill(double(side));
636  meZdcSectionHit_->Fill(double(section));
637  meZdcChannelHit_->Fill(double(channel));
638  meZdcEnergyHit_->Fill(energy);
639  if(section == HcalZDCDetId::EM){
640  meZdcEMEnergyHit_->Fill(energy);
641  meZdcEEMCh_->Fill(energy,channel);
642  if( log10i >=0 && log10i < 140 )encontZdcEM[log10i] += energy;
643  entotZdcEM += energy;
644  }
645  if(section == HcalZDCDetId::HAD){
646  meZdcHadEnergyHit_->Fill(energy);
647  meZdcEHadCh_->Fill(energy,channel);
648  if( log10i >=0 && log10i < 140 )encontZdcHad[log10i] += energy;
649  entotZdcHad += energy;
650  }
651  meZdcTimeHit_->Fill(time);
652  meZdcTimeWHit_->Fill(double(time),energy);
653  meZdc10Ene_->Fill(log10en);
654  meZdcETime_->Fill(energy, double(time));
655  }
656  }
657 
658  if( entotZdcEM != 0 ) for( int i=0; i<140; i++ ) meZdcEML10EneP_->Fill( -10.+(float(i)+0.5)/10., encontZdcEM[i]/entotZdcEM);
659  if( entotZdcHad != 0 ) for( int i=0; i<140; i++ ) meZdcHadL10EneP_->Fill( -10.+(float(i)+0.5)/10.,encontZdcHad[i]/entotZdcHad);
660 
661  if ( nHit>0) {
662  meAllZdcNHit_->Fill(double(nHit));
663  meBadZdcDetHit_->Fill(double(nBad1));
664  meBadZdcSecHit_->Fill(double(nBad2));
665  meBadZdcIdHit_->Fill(double(nBad));
666  meZdcNHitEM_->Fill(double(nZdcEM));
667  meZdcNHitHad_->Fill(double(nZdcHad));
668  meZdcNHitLum_->Fill(double(nZdcLum));
679  }
680  LogDebug("HcalSimHitStudy")
681  //std::cout
682  <<"HcalSimHitStudy::analyzeHits: Had " << nZdcHad
683  << " EM "<< nZdcEM
684  << " Bad " << nBad << " All " << nHit;
685  //<<std::endl;
686 }
#define LogDebug(id)
MonitorElement * meZdcEnergyHit_
int i
Definition: DBlmapReader.cc:9
MonitorElement * meZdcHadL10EneP_
MonitorElement * meZdcEneEmPTot_
MonitorElement * meZdcCorEEmNEHadN_
MonitorElement * meAllZdcNHit_
void Fill(long long x)
MonitorElement * meZdcEneEmNTot_
MonitorElement * meZdcChannelHit_
MonitorElement * meZdcEML10EneP_
MonitorElement * meZdcNHitHad_
MonitorElement * meBadZdcDetHit_
MonitorElement * meZdcEnePTot_
MonitorElement * meZdcCorEEmPEHadP_
MonitorElement * meZdcSideHit_
MonitorElement * meZdcDetectHit_
MonitorElement * meZdc10Ene_
int FillHitValHist(int side, int section, int channel, double energy, double time)
MonitorElement * meZdcEneTot_
MonitorElement * meBadZdcSecHit_
MonitorElement * meZdcTimeHit_
MonitorElement * meBadZdcIdHit_
MonitorElement * meZdcEneHadNTot_
MonitorElement * meZdcCorEtotNEtotP_
MonitorElement * meZdcHadEnergyHit_
MonitorElement * meZdcSectionHit_
MonitorElement * meZdcEneNTot_
MonitorElement * meZdcEneHadPTot_
MonitorElement * meZdcEEMCh_
MonitorElement * meZdcNHitEM_
MonitorElement * meZdcTimeWHit_
MonitorElement * meZdcEHadCh_
MonitorElement * meZdcETime_
MonitorElement * meZdcEMEnergyHit_
MonitorElement * meZdcNHitLum_
void ZdcSimHitStudy::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  run,
edm::EventSetup const &  es 
)
protectedvirtual

Implements DQMEDAnalyzer.

Definition at line 51 of file ZdcSimHitStudy.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::bookProfile(), checkHit_, genpart_GammaB, genpart_GammaB_energydist, genpart_GammaF, genpart_GammaF_energydist, genpart_NeutB, genpart_NeutB_energydist, genpart_NeutF, genpart_NeutF_energydist, genpart_Pi0B, genpart_Pi0B_energydist, genpart_Pi0F, genpart_Pi0F_energydist, MonitorElement::getTH2F(), meAllZdcNHit_, meBadZdcDetHit_, meBadZdcIdHit_, meBadZdcSecHit_, meZdc10Ene_, meZdcChannelHit_, meZdcCorEEmNEHadN_, meZdcCorEEmPEHadP_, meZdcCorEtotNEtotP_, meZdcDetectHit_, meZdcEEMCh_, meZdcEHadCh_, meZdcEMEnergyHit_, meZdcEML10EneP_, meZdcEneEmN1_, meZdcEneEmN2_, meZdcEneEmN3_, meZdcEneEmN4_, meZdcEneEmN5_, meZdcEneEmNTot_, meZdcEneEmP1_, meZdcEneEmP2_, meZdcEneEmP3_, meZdcEneEmP4_, meZdcEneEmP5_, meZdcEneEmPTot_, meZdcEneHadN1_, meZdcEneHadN2_, meZdcEneHadN3_, meZdcEneHadN4_, meZdcEneHadNTot_, meZdcEneHadP1_, meZdcEneHadP2_, meZdcEneHadP3_, meZdcEneHadP4_, meZdcEneHadPTot_, meZdcEneNTot_, meZdcEnePTot_, meZdcEnergyHit_, meZdcEneTEmN1_, meZdcEneTEmN2_, meZdcEneTEmN3_, meZdcEneTEmN4_, meZdcEneTEmN5_, meZdcEneTEmP1_, meZdcEneTEmP2_, meZdcEneTEmP3_, meZdcEneTEmP4_, meZdcEneTEmP5_, meZdcEneTHadN1_, meZdcEneTHadN2_, meZdcEneTHadN3_, meZdcEneTHadN4_, meZdcEneTHadP1_, meZdcEneTHadP2_, meZdcEneTHadP3_, meZdcEneTHadP4_, meZdcEneTot_, meZdcETime_, meZdcHadEnergyHit_, meZdcHadL10EneP_, meZdcNHitEM_, meZdcNHitHad_, meZdcNHitLum_, meZdcSectionHit_, meZdcSideHit_, meZdcTimeHit_, meZdcTimeWHit_, MonitorElement::setAxisTitle(), and DQMStore::IBooker::setCurrentFolder().

51  {
52  ib.setCurrentFolder("ZDCValidation");
53  //Histograms for Hits
55 //# Below we are filling the histograms made in the .h file. The syntax is as follows: #
56 //# plot_code_name = ib.TypeofPlot[(1,2,3)-D,(F,I,D)]("Name as it will appear","Title",axis options); #
57 //# They will be stored in the TFile subdirectory set by : ib.setCurrentFolder("FolderIwant") #
58 //# axis options are like (#ofbins,min,max) #
60 
61 
62  if (checkHit_) {
64  ib.setCurrentFolder("ZDCValidation/ZdcSimHits");
65  meAllZdcNHit_ = ib.book1D("ZDC Hits","Number of All Hits in ZDC",100,0.,100.);
66  meAllZdcNHit_->setAxisTitle("Total Hits",1);
67  meAllZdcNHit_->setAxisTitle("Counts",2);
69  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/Excess_Info/Debug_Helper");
70  meBadZdcDetHit_= ib.book1D("Hiits with the wrong Det","Hits with wrong Det in ZDC",100,0.,100.);
71  meBadZdcDetHit_->setAxisTitle("Wrong Hits",1);
72  meBadZdcDetHit_->setAxisTitle("Counts",2);
74  meBadZdcSecHit_= ib.book1D("Wrong Section Hits","Hits with wrong Section in ZDC",100,0.,100.);
75  meBadZdcSecHit_->setAxisTitle("Hits in wrong section",1);
76  meBadZdcSecHit_->setAxisTitle("Counts",2);
78  meBadZdcIdHit_ = ib.book1D("Wrong_ID_Hits","Hits with wrong ID in ZDC",100,0.,100.);
79  meBadZdcIdHit_->setAxisTitle("Hits with wrong ID",1);
80  meBadZdcIdHit_->setAxisTitle("Counts",2);
82  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/Excess_Info/BasicHitInfo");
83  meZdcNHitEM_ = ib.book1D("Hits in EM","Number of Hits in ZDC EM",100,0.,100.);
84  meZdcNHitEM_->setAxisTitle("EM Hits",1);
85  meZdcNHitEM_->setAxisTitle("Counts",2);
87  meZdcNHitHad_ = ib.book1D("Hits in HAD","Number of Hits in ZDC Had",100,0.,100.);
88  meZdcNHitHad_->setAxisTitle("HAD Hits",1);
89  meZdcNHitHad_->setAxisTitle("Counts",2);
91  meZdcNHitLum_ = ib.book1D("Hits in LUM","Number of Hits in ZDC Lum",100,0.,100.);
92  meZdcNHitLum_->setAxisTitle("LUM Hits",1);
93  meZdcNHitLum_->setAxisTitle("Counts",2);
95  meZdcDetectHit_= ib.book1D("Calo Detector ID","Calo Detector ID",50,0.,50.);
96  meZdcDetectHit_->setAxisTitle("Detector Hits",1);
97  meZdcDetectHit_->setAxisTitle("Counts",2);
99  meZdcSideHit_ = ib.book1D("ZDC Side","Side in ZDC",4,-2,2.);
100  meZdcSideHit_->setAxisTitle("ZDC Side",1);
101  meZdcSideHit_->setAxisTitle("Counts",2);
103  meZdcSectionHit_ = ib.book1D("ZDC Section","Section in ZDC",4,0.,4.);
104  meZdcSectionHit_->setAxisTitle("ZDC Section",1);
105  meZdcSectionHit_->setAxisTitle("Counts",2);
107  meZdcChannelHit_ = ib.book1D("ZDC Channel","Channel in ZDC",10,0.,10.);
108  meZdcChannelHit_->setAxisTitle("ZDC Channel",1);
109  meZdcChannelHit_->setAxisTitle("Counts",2);
111  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/");
112  meZdcEnergyHit_= ib.book1D("Hit Energy","Hits Energy",4000,0.,8000.);
113  meZdcEnergyHit_->setAxisTitle("Counts",2);
114  meZdcEnergyHit_->setAxisTitle("Energy (GeV)",1);
116  meZdcHadEnergyHit_= ib.book1D("Hit Energy HAD","Hits Energy in Had Section",4000,0.,8000.);
117  meZdcHadEnergyHit_->setAxisTitle("Counts",2);
118  meZdcHadEnergyHit_->setAxisTitle("Energy (GeV)",1);
120  meZdcEMEnergyHit_ = ib.book1D("Hit Energy EM","Hits Energy in EM Section",4000,0.,8000.);
121  meZdcEMEnergyHit_->setAxisTitle("Counts",2);
122  meZdcEMEnergyHit_->setAxisTitle("Energy (GeV)",1);
124  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/Excess_Info/BasicHitInfo");
125  meZdcTimeHit_ = ib.book1D("Time in ZDC","Time in ZDC",300,0.,600.);
126  meZdcTimeHit_->setAxisTitle("Time (ns)",1);
127  meZdcTimeHit_->setAxisTitle("Counts",2);
129  meZdcTimeWHit_ = ib.book1D("Energy Weighted Time in ZDC","Time in ZDC (E wtd)", 300,0.,600.);
130  meZdcTimeWHit_->setAxisTitle("Time (ns)",1);
131  meZdcTimeWHit_->setAxisTitle("Counts",2);
133  meZdc10Ene_ = ib.book1D("ZDC Log(E)","Log10Energy in ZDC", 140, -20., 20. );
134  meZdc10Ene_->setAxisTitle("Log(E) (GeV)",1);
135  meZdc10Ene_->setAxisTitle("Counts",2);
137  meZdcHadL10EneP_ = ib.bookProfile("Log(EHAD) vs Contribution","Log10Energy in Had ZDC vs Hit contribution", 140, -1., 20., 100, 0., 1. );
138  meZdcHadL10EneP_->setAxisTitle("Log(EHAD) (GeV)",1);
139  meZdcHadL10EneP_->setAxisTitle("Counts",2);
141  meZdcEML10EneP_ = ib.bookProfile("Log(EEM) vs Contribution","Log10Energy in EM ZDC vs Hit contribution", 140, -1., 20., 100, 0., 1. );
142  meZdcEML10EneP_->setAxisTitle("Log(EEM) (GeV)",1);
143  meZdcEML10EneP_->setAxisTitle("Counts",2);
145  ib.setCurrentFolder("ZDCValidation/ZdcSimHits");
146  meZdcEHadCh_ = ib.book2D("ZDC EHAD vs Channel","ZDC Had Section Energy vs Channel", 4000, 0., 8000., 6, 0., 6. );
147  meZdcEHadCh_->setAxisTitle("Hadronic Channel Number",2);
148  meZdcEHadCh_->setAxisTitle("Energy (GeV)",1);
150  meZdcEEMCh_ = ib.book2D("ZDC EEM vs Channel","ZDC EM Section Energy vs Channel", 4000, 0., 8000., 6, 0., 6. );
151  meZdcEEMCh_->setAxisTitle("EM Channel Number",2);
152  meZdcEEMCh_->setAxisTitle("Energy (GeV)",1);
154  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/Excess_Info/BasicHitInfo");
155  meZdcETime_ = ib.book2D("E vs T","Hits ZDC Energy vs Time", 4000, 0., 8000., 300, 0., 600. );
156  meZdcETime_->setAxisTitle("Energy (GeV)",1);
157  meZdcETime_->setAxisTitle("Time (ns)",2);
159  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS/Individual_Channels/NZDC");
160  meZdcEneEmN1_ = ib.book1D("NZDC EM1 Energy","Energy EM module N1",4000,0.,8000.);
161  meZdcEneEmN1_->setAxisTitle("Energy (GeV)",1);
162  meZdcEneEmN1_->setAxisTitle("Counts",2);
164  meZdcEneEmN2_ = ib.book1D("NZDC EM2 Energy","Energy EM module N2",4000,0.,8000.);
165  meZdcEneEmN2_->setAxisTitle("Energy (GeV)",1);
166  meZdcEneEmN2_->setAxisTitle("Counts",2);
168  meZdcEneEmN3_ = ib.book1D("NZDC EM3 Energy","Energy EM module N3",4000,0.,8000.);
169  meZdcEneEmN3_->setAxisTitle("Energy (GeV)",1);
170  meZdcEneEmN3_->setAxisTitle("Counts",2);
172  meZdcEneEmN4_ = ib.book1D("NZDC EM4 Energy","Energy EM module N4",4000,0.,8000.);
173  meZdcEneEmN4_->setAxisTitle("Energy (GeV)",1);
174  meZdcEneEmN4_->setAxisTitle("Counts",2);
176  meZdcEneEmN5_ = ib.book1D("NZDC EM5 Energy","Energy EM module N5",4000,0.,8000.);
177  meZdcEneEmN5_->setAxisTitle("Energy (GeV)",1);
178  meZdcEneEmN5_->setAxisTitle("Counts",2);
180  meZdcEneHadN1_ = ib.book1D("NZDC HAD1 Energy","Energy HAD module N1",4000,0.,8000.);
181  meZdcEneHadN1_->setAxisTitle("Energy (GeV)",1);
182  meZdcEneHadN1_->setAxisTitle("Counts",2);
184  meZdcEneHadN2_ = ib.book1D("NZDC HAD2 Energy","Energy HAD module N2",4000,0.,8000.);
185  meZdcEneHadN2_->setAxisTitle("Energy (GeV)",1);
186  meZdcEneHadN2_->setAxisTitle("Counts",2);
188  meZdcEneHadN3_ = ib.book1D("NZDC HAD3 Energy","Energy HAD module N3",4000,0.,8000.);
189  meZdcEneHadN3_->setAxisTitle("Energy (GeV)",1);
190  meZdcEneHadN3_->setAxisTitle("Counts",2);
192  meZdcEneHadN4_ = ib.book1D("NZDC HAD4 Energy","Energy HAD module N4",4000,0.,8000.);
193  meZdcEneHadN4_->setAxisTitle("Energy (GeV)",1);
194  meZdcEneHadN4_->setAxisTitle("Counts",2);
196  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/Excess_Info/Individual_ChannelvsTime/NZDC");
197  meZdcEneTEmN1_ = ib.book2D("NZDC EM1 Energy vs Time","Energy EM mod N1 vs Time", 4000, 0., 8000., 300, 0., 600. );
198  meZdcEneTEmN1_->setAxisTitle("Energy (GeV)",1);
199  meZdcEneTEmN1_->setAxisTitle("Time (ns)",2);
201  meZdcEneTEmN2_ = ib.book2D("NZDC EM2 Energy vs Time","Energy EM mod N2 vs Time", 4000, 0., 8000., 300, 0., 600. );
202  meZdcEneTEmN2_->setAxisTitle("Energy (GeV)",1);
203  meZdcEneTEmN2_->setAxisTitle("Time (ns)",2);
205  meZdcEneTEmN3_ = ib.book2D("NZDC EM3 Energy vs Time","Energy EM mod N3 vs Time", 4000, 0., 8000., 300, 0., 600. );
206  meZdcEneTEmN3_->setAxisTitle("Energy (GeV)",1);
207  meZdcEneTEmN3_->setAxisTitle("Time (ns)",2);
209  meZdcEneTEmN4_ = ib.book2D("NZDC EM4 Energy vs Time","Energy EM mod N4 vs Time", 4000, 0., 8000., 300, 0., 600. );
210  meZdcEneTEmN4_->setAxisTitle("Energy (GeV)",1);
211  meZdcEneTEmN4_->setAxisTitle("Time (ns)",2);
213  meZdcEneTEmN5_ = ib.book2D("NZDC EM5 Energy vs Time","Energy EM mod N5 vs Time", 4000, 0., 8000., 300, 0., 600. );
214  meZdcEneTEmN5_->setAxisTitle("Energy (GeV)",1);
215  meZdcEneTEmN5_->setAxisTitle("Time (ns)",2);
217  meZdcEneTHadN1_ = ib.book2D("NZDC HAD1 Energy vs Time","Energy HAD mod N1 vs Time", 4000, 0., 8000., 300, 0., 600. );
218  meZdcEneTHadN1_->setAxisTitle("Energy (GeV)",1);
219  meZdcEneTHadN1_->setAxisTitle("Time (ns)",2);
221  meZdcEneTHadN2_ = ib.book2D("NZDC HAD2 Energy vs Time","Energy HAD mod N2 vs Time", 4000, 0., 8000., 300, 0., 600. );
222  meZdcEneTHadN2_->setAxisTitle("Energy (GeV)",1);
223  meZdcEneTHadN2_->setAxisTitle("Time (ns)",2);
225  meZdcEneTHadN3_ = ib.book2D("NZDC HAD3 Energy vs Time","Energy HAD mod N3 vs Time", 4000, 0., 8000., 300, 0., 600. );
226  meZdcEneTHadN3_->setAxisTitle("Energy (GeV)",1);
227  meZdcEneTHadN3_->setAxisTitle("Time (ns)",2);
229  meZdcEneTHadN4_ = ib.book2D("NZDC HAD4 Energy vs Time","Energy HAD mod N4 vs Time", 4000, 0., 8000., 300, 0., 600. );
230  meZdcEneTHadN4_->setAxisTitle("Energy (GeV)",1);
231  meZdcEneTHadN4_->setAxisTitle("Time (ns)",2);
233  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS/NZDC");
234  meZdcEneHadNTot_ = ib.book1D("NZDC EHAD","Total N-ZDC HAD Energy",4000,0.,4000.);
235  meZdcEneHadNTot_->setAxisTitle("Counts",2);
236  meZdcEneHadNTot_->setAxisTitle("Energy (GeV)",1);
238  meZdcEneEmNTot_ = ib.book1D("NZDC EEM","Total N-ZDC EM Energy",3000,0.,3000.);
239  meZdcEneEmNTot_->setAxisTitle("Counts",2);
240  meZdcEneEmNTot_->setAxisTitle("Energy (GeV)",1);
242  meZdcEneNTot_ = ib.book1D("NZDC ETOT","Total N-ZDC Energy ",7000,0.,7000.);
243  meZdcEneNTot_->setAxisTitle("Counts",2);
244  meZdcEneNTot_->setAxisTitle("Energy (GeV)",1);
246  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS/Individual_Channels/PZDC");
247  meZdcEneEmP1_ = ib.book1D("PZDC EM1 Energy","Energy EM module P1",3000,0.,3000.);
248  meZdcEneEmP1_->setAxisTitle("Energy (GeV)",1);
249  meZdcEneEmP1_->setAxisTitle("Counts",2);
251  meZdcEneEmP2_ = ib.book1D("PZDC EM2 Energy","Energy EM module P2",3000,0.,3000.);
252  meZdcEneEmP2_->setAxisTitle("Energy (GeV)",1);
253  meZdcEneEmP2_->setAxisTitle("Counts",2);
255  meZdcEneEmP3_ = ib.book1D("PZDC EM3 Energy","Energy EM module P3",3000,0.,3000.);
256  meZdcEneEmP3_->setAxisTitle("Energy (GeV)",1);
257  meZdcEneEmP3_->setAxisTitle("Counts",2);
259  meZdcEneEmP4_ = ib.book1D("PZDC EM4 Energy","Energy EM module P4",3000,0.,3000.);
260  meZdcEneEmP4_->setAxisTitle("Energy (GeV)",1);
261  meZdcEneEmP4_->setAxisTitle("Counts",2);
263  meZdcEneEmP5_ = ib.book1D("PZDC EM5 Energy","Energy EM module P5",3000,0.,3000.);
264  meZdcEneEmP5_->setAxisTitle("Energy (GeV)",1);
265  meZdcEneEmP5_->setAxisTitle("Counts",2);
267  meZdcEneHadP1_ = ib.book1D("PZDC HAD1 Energy","Energy HAD module P1",3000,0.,3000.);
268  meZdcEneHadP1_->setAxisTitle("Energy (GeV)",1);
269  meZdcEneHadP1_->setAxisTitle("Counts",2);
271  meZdcEneHadP2_ = ib.book1D("PZDC HAD2 Energy","Energy HAD module P2",3000,0.,3000.);
272  meZdcEneHadP2_->setAxisTitle("Energy (GeV)",1);
273  meZdcEneHadP2_->setAxisTitle("Counts",2);
275  meZdcEneHadP3_ = ib.book1D("PZDC HAD3 Energy","Energy HAD module P3",3000,0.,3000.);
276  meZdcEneHadP3_->setAxisTitle("Energy (GeV)",1);
277  meZdcEneHadP3_->setAxisTitle("Counts",2);
279  meZdcEneHadP4_ = ib.book1D("PZDC HAD4 Energy","Energy HAD module P4",3000,0.,3000.);
280  meZdcEneHadP4_->setAxisTitle("Energy (GeV)",1);
281  meZdcEneHadP4_->setAxisTitle("Counts",2);
283  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/Excess_Info/Individual_ChannelvsTime/PZDC");
284  meZdcEneTEmP1_ = ib.book2D("PZDC EM1 Energy vs Time","Energy EM mod P1 vs Time", 4000, 0., 8000., 300, 0., 600. );
285  meZdcEneTEmP1_->setAxisTitle("Energy (GeV)",1);
286  meZdcEneTEmP1_->setAxisTitle("Time (ns)",2);
288  meZdcEneTEmP2_ = ib.book2D("PZDC EM2 Energy vs Time","Energy EM mod P2 vs Time", 4000, 0., 8000., 300, 0., 600. );
289  meZdcEneTEmP2_->setAxisTitle("Energy (GeV)",1);
290  meZdcEneTEmP2_->setAxisTitle("Time (ns)",2);
292  meZdcEneTEmP3_ = ib.book2D("PZDC EM3 Energy vs Time","Energy EM mod P3 vs Time", 4000, 0., 8000., 300, 0., 600. );
293  meZdcEneTEmP3_->setAxisTitle("Energy (GeV)",1);
294  meZdcEneTEmP3_->setAxisTitle("Time (ns)",2);
296  meZdcEneTEmP4_ = ib.book2D("PZDC EM4 Energy vs Time","Energy EM mod P4 vs Time", 4000, 0., 8000., 300, 0., 600. );
297  meZdcEneTEmP4_->setAxisTitle("Energy (GeV)",1);
298  meZdcEneTEmP4_->setAxisTitle("Time (ns)",2);
300  meZdcEneTEmP5_ = ib.book2D("PZDC EM5 Energy vs Time","Energy EM mod P5 vs Time", 4000, 0., 8000., 300, 0., 600. );
301  meZdcEneTEmP5_->setAxisTitle("Energy (GeV)",1);
302  meZdcEneTEmP5_->setAxisTitle("Time (ns)",2);
304  meZdcEneTHadP1_ = ib.book2D("PZDC HAD1 Energy vs Time","Energy HAD mod P1 vs Time", 4000, 0., 8000., 300, 0., 600. );
305  meZdcEneTHadP1_->setAxisTitle("Energy (GeV)",1);
306  meZdcEneTHadP1_->setAxisTitle("Time (ns)",2);
308  meZdcEneTHadP2_ = ib.book2D("PZDC HAD2 Energy vs Time","Energy HAD mod P2 vs Time", 4000, 0., 8000., 300, 0., 600. );
309  meZdcEneTHadP2_->setAxisTitle("Energy (GeV)",1);
310  meZdcEneTHadP2_->setAxisTitle("Time (ns)",2);
312  meZdcEneTHadP3_ = ib.book2D("PZDC HAD3 Energy vs Time","Energy HAD mod P3 vs Time", 4000, 0., 8000., 300, 0., 600. );
313  meZdcEneTHadP3_->setAxisTitle("Energy (GeV)",1);
314  meZdcEneTHadP3_->setAxisTitle("Time (ns)",2);
316  meZdcEneTHadP4_ = ib.book2D("PZDC HAD4 Energy vs Time","Energy HAD mod P4 vs Time", 4000, 0., 8000., 300, 0., 600. );
317  meZdcEneTHadP4_->setAxisTitle("Energy (GeV)",1);
318  meZdcEneTHadP4_->setAxisTitle("Time (ns)",2);
320  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS/PZDC");
321  meZdcEneHadPTot_ = ib.book1D("PZDC EHAD","Total P-ZDC HAD Energy",10000,0.,10000.);
322  meZdcEneHadPTot_->setAxisTitle("Energy (GeV)",1);
323  meZdcEneHadPTot_->setAxisTitle("Counts",2);
325  meZdcEneEmPTot_ = ib.book1D("PZDC EEM","Total P-ZDC EM Energy",10000,0.,10000.);
326  meZdcEneEmPTot_->setAxisTitle("Energy (GeV)",1);
327  meZdcEneEmPTot_->setAxisTitle("Counts",2);
329  meZdcEnePTot_ = ib.book1D("PZDC ETOT","Total P-ZDC Energy",10000,0.,10000.);
330  meZdcEnePTot_->setAxisTitle("Energy (GeV)",1);
331  meZdcEnePTot_->setAxisTitle("Counts",2);
333  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS/NZDC");
334  meZdcCorEEmNEHadN_= ib.book2D("NZDC EMvHAD","N-ZDC Energy EM vs HAD", 3000, 0., 3000.,3000, 0., 3000.);
335  meZdcCorEEmNEHadN_->setAxisTitle("EM Energy (GeV)",1);
336  meZdcCorEEmNEHadN_->setAxisTitle("HAD Energy (GeV)",2);
338  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS/PZDC");
339  meZdcCorEEmPEHadP_= ib.book2D("PZDC EMvHAD","P-ZDC Energy EM vs HAD", 3000, 0., 3000.,3000, 0., 3000.);
340  meZdcCorEEmPEHadP_->setAxisTitle("EM Energy (GeV)",1);
341  meZdcCorEEmPEHadP_->setAxisTitle("HAD Energy (GeV)",2);
343  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS");
344  meZdcCorEtotNEtotP_ = ib.book2D("PZDC vs NZDC","Energy N-ZDC vs P-ZDC", 3000, 0., 3000.,3000, 0., 3000.);
345  meZdcCorEtotNEtotP_->setAxisTitle("N-ZDC Total Energy (GeV)",1);
346  meZdcCorEtotNEtotP_->setAxisTitle("P-ZDC Total Energy (GeV)",2);
348  meZdcEneTot_ = ib.book1D("ETOT ZDCs","Total Energy ZDCs",3000,0.,3000.);
349  meZdcEneTot_->setAxisTitle("Counts",2);
350  meZdcEneTot_->setAxisTitle("Energy (GeV)",1);
352 
353 
354 
355 
357 
359  ib.setCurrentFolder("ZDCValidation/GenParticles/Forward");
362  genpart_Pi0F = ib.book2D("Pi0_Forward","Forward Generated Pi0s",200,7.5,13,100,-3.15,3.15);
363  // genpart_Pi0F = ib.bookProfile2D("blah","balh",200,4.5,7,100,-3.15,3.15,2000,0,3000,"s");
364  genpart_Pi0F->setAxisTitle("Eta",1);
365  genpart_Pi0F->setAxisTitle("Phi (radians)",2);
366  genpart_Pi0F->setAxisTitle("Energy (GeV)",3);
367  genpart_Pi0F->getTH2F()->SetOption("lego2z,prof");
368  genpart_Pi0F->getTH2F()->SetTitleOffset(1.4,"x");
369  genpart_Pi0F->getTH2F()->SetTitleOffset(1.4,"y");
372  genpart_NeutF = ib.book2D("Neutron_Forward","Forward Generated Neutrons",200,7.5,13,100,-3.15,3.15);
373  genpart_NeutF->setAxisTitle("Eta",1);
374  genpart_NeutF->setAxisTitle("Phi (radians)",2);
375  genpart_NeutF->setAxisTitle("Energy (GeV)",3);
376  genpart_NeutF->getTH2F()->SetOption("lego2z,prof");
377  genpart_NeutF->getTH2F()->SetTitleOffset(1.4,"x");
378  genpart_NeutF->getTH2F()->SetTitleOffset(1.4,"y");
381  genpart_GammaF = ib.book2D("Gamma_Forward","Forward Generated Gammas",200,7.5,13,100,-3.15,3.15);
382  genpart_GammaF->setAxisTitle("Eta",1);
383  genpart_GammaF->setAxisTitle("Phi (radians)",2);
384  genpart_GammaF->setAxisTitle("Energy (GeV)",3);
385  genpart_GammaF->getTH2F()->SetOption("lego2z,prof");
386  genpart_GammaF->getTH2F()->SetTitleOffset(1.4,"x");
387  genpart_GammaF->getTH2F()->SetTitleOffset(1.4,"y");
390 genpart_Pi0F_energydist = ib.book1D("Pi0_Forward_EDistribution","Gen-Level Forward Pi0 Energy",1500,0,1500);
391  genpart_Pi0F_energydist->setAxisTitle("Energy (GeV)",1);
395  genpart_NeutF_energydist = ib.book1D("N_Forward_EDistribution","Gen-Level Forward Neutron Energy",1500,0,1500);
396  genpart_NeutF_energydist->setAxisTitle("Energy (GeV)",1);
400  genpart_GammaF_energydist = ib.book1D("Gamma_Forward_EDistribution","Gen-Level Fowarad Gamma Energy",1500,0,1500);
401  genpart_GammaF_energydist->setAxisTitle("Energy (GeV)",1);
404  ib.setCurrentFolder("ZDCValidation/GenParticles/Backward");
407  genpart_Pi0B = ib.book2D("Pi0_Backward","Backward Generated Pi0s",1000,-13,-7.5,100,-3.15,3.15);
408  genpart_Pi0B->setAxisTitle("Eta",1);
409  genpart_Pi0B->setAxisTitle("Phi (radians)",2);
410  genpart_Pi0B->setAxisTitle("Energy (GeV)",3);
411  genpart_Pi0B->getTH2F()->SetOption("lego2z,prof");
412  genpart_Pi0B->getTH2F()->SetTitleOffset(1.4,"x");
413  genpart_Pi0B->getTH2F()->SetTitleOffset(1.4,"y");
416  genpart_NeutB = ib.book2D("Neutron_Backward","Backward Generated Neutrons",1000,-13,-7.5,100,-3.15,3.15);
417  genpart_NeutB->setAxisTitle("Eta",1);
418  genpart_NeutB->setAxisTitle("Phi (radians)",2);
419  genpart_NeutB->setAxisTitle("Energy (GeV)",3);
420  genpart_NeutB->getTH2F()->SetOption("lego2z,prof");
421  genpart_NeutB->getTH2F()->SetTitleOffset(1.4,"x");
422  genpart_NeutB->getTH2F()->SetTitleOffset(1.4,"y");
425  genpart_GammaB = ib.book2D("Gamma_Backward","Backward Generated Gammas",1000,-13,-7.5,100,-3.15,3.15);
426  genpart_GammaB->setAxisTitle("Eta",1);
427  genpart_GammaB->setAxisTitle("Phi (radians)",2);
428  genpart_GammaB->setAxisTitle("Energy (GeV)",3);
429  genpart_GammaB->getTH2F()->SetOption("lego2z,prof");
430  genpart_GammaB->getTH2F()->SetTitleOffset(1.4,"x");
431  genpart_GammaB->getTH2F()->SetTitleOffset(1.4,"y");
435  genpart_Pi0B_energydist = ib.book1D("Pi0_Backward_EDistribution","Gen-Level Backward Pi0 Energy",1500,0,1500);
436  genpart_Pi0B_energydist->setAxisTitle("Energy (GeV)",1);
440  genpart_NeutB_energydist = ib.book1D("N_Backward_EDistribution","Gen-Level Foward Neutron Energy",1500,0,1500);
441  genpart_NeutB_energydist->setAxisTitle("Energy (GeV)",1);
445  genpart_GammaB_energydist = ib.book1D("Gamma_Backward_EDistribution","Gen-Level Backward Gamma Energy",1500,0,1500);
446  genpart_GammaB_energydist->setAxisTitle("Energy (GeV)",1);
449 
450  }
451 }
MonitorElement * meZdcEneTHadP3_
MonitorElement * meZdcEnergyHit_
MonitorElement * meZdcEneTEmN1_
MonitorElement * genpart_NeutB
MonitorElement * genpart_Pi0F
MonitorElement * meZdcEneTEmP1_
MonitorElement * meZdcHadL10EneP_
MonitorElement * bookProfile(Args &&...args)
Definition: DQMStore.h:157
MonitorElement * meZdcEneEmP3_
MonitorElement * meZdcEneEmPTot_
MonitorElement * meZdcEneEmN1_
MonitorElement * meZdcEneTEmP4_
MonitorElement * meZdcEneHadN1_
MonitorElement * meZdcCorEEmNEHadN_
MonitorElement * meZdcEneEmN4_
MonitorElement * meZdcEneTHadN4_
MonitorElement * meZdcEneEmN5_
MonitorElement * meAllZdcNHit_
MonitorElement * genpart_Pi0F_energydist
MonitorElement * meZdcEneTEmN2_
MonitorElement * meZdcEneHadN4_
MonitorElement * genpart_NeutF
MonitorElement * meZdcEneTHadN2_
MonitorElement * genpart_Pi0B
MonitorElement * meZdcEneEmNTot_
MonitorElement * meZdcChannelHit_
MonitorElement * meZdcEneEmP2_
MonitorElement * meZdcEneHadP1_
MonitorElement * meZdcEML10EneP_
MonitorElement * meZdcEneTEmN5_
MonitorElement * meZdcEneEmN3_
MonitorElement * meZdcNHitHad_
MonitorElement * meBadZdcDetHit_
MonitorElement * genpart_GammaB_energydist
MonitorElement * meZdcEneTEmP5_
MonitorElement * meZdcEnePTot_
MonitorElement * meZdcEneTEmN4_
MonitorElement * meZdcCorEEmPEHadP_
MonitorElement * meZdcEneTHadP2_
MonitorElement * genpart_GammaF_energydist
MonitorElement * meZdcSideHit_
MonitorElement * meZdcEneHadN3_
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
MonitorElement * meZdcEneEmN2_
MonitorElement * meZdcEneTHadN1_
MonitorElement * meZdcEneTEmP3_
MonitorElement * genpart_NeutF_energydist
MonitorElement * meZdcDetectHit_
MonitorElement * meZdc10Ene_
MonitorElement * meZdcEneHadP4_
MonitorElement * meZdcEneTot_
MonitorElement * meZdcEneHadP3_
MonitorElement * genpart_GammaF
MonitorElement * meZdcEneTEmN3_
MonitorElement * meBadZdcSecHit_
MonitorElement * meZdcEneTHadP1_
MonitorElement * genpart_GammaB
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
MonitorElement * meZdcTimeHit_
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
MonitorElement * meBadZdcIdHit_
MonitorElement * meZdcEneTHadP4_
MonitorElement * meZdcEneHadNTot_
MonitorElement * genpart_NeutB_energydist
MonitorElement * meZdcCorEtotNEtotP_
MonitorElement * meZdcEneHadP2_
MonitorElement * meZdcEneEmP4_
MonitorElement * meZdcHadEnergyHit_
MonitorElement * genpart_Pi0B_energydist
MonitorElement * meZdcEneEmP5_
MonitorElement * meZdcEneTEmP2_
MonitorElement * meZdcSectionHit_
MonitorElement * meZdcEneNTot_
MonitorElement * meZdcEneHadN2_
MonitorElement * meZdcEneHadPTot_
MonitorElement * meZdcEEMCh_
TH2F * getTH2F(void) const
MonitorElement * meZdcEneEmP1_
MonitorElement * meZdcNHitEM_
MonitorElement * meZdcEneTHadN3_
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * meZdcTimeWHit_
MonitorElement * meZdcEHadCh_
MonitorElement * meZdcETime_
MonitorElement * meZdcEMEnergyHit_
MonitorElement * meZdcNHitLum_
void ZdcSimHitStudy::endRun ( const edm::Run run,
const edm::EventSetup c 
)
protectedvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 793 of file ZdcSimHitStudy.cc.

794 {
795 }
int ZdcSimHitStudy::FillHitValHist ( int  side,
int  section,
int  channel,
double  energy,
double  time 
)
protected

Definition at line 688 of file ZdcSimHitStudy.cc.

References HcalZDCDetId::EM, relval_parameters_module::energy, enetot, enetotEmN, enetotEmP, enetotHadN, enetotHadP, enetotN, enetotP, MonitorElement::Fill(), HcalZDCDetId::HAD, meZdcEneEmN1_, meZdcEneEmN2_, meZdcEneEmN3_, meZdcEneEmN4_, meZdcEneEmP1_, meZdcEneEmP2_, meZdcEneEmP3_, meZdcEneEmP4_, meZdcEneHadN1_, meZdcEneHadN2_, meZdcEneHadN3_, meZdcEneHadN4_, meZdcEneHadP1_, meZdcEneHadP2_, meZdcEneHadP3_, meZdcEneHadP4_, meZdcEneTEmN1_, meZdcEneTEmN2_, meZdcEneTEmN3_, meZdcEneTEmN4_, meZdcEneTEmP1_, meZdcEneTEmP2_, meZdcEneTEmP3_, meZdcEneTEmP4_, meZdcEneTHadN1_, meZdcEneTHadN2_, meZdcEneTHadN3_, meZdcEneTHadN4_, meZdcEneTHadP1_, meZdcEneTHadP2_, meZdcEneTHadP3_, and meZdcEneTHadP4_.

Referenced by analyzeHits().

688  {
689  enetot += enetot;
690  if(side == -1){
691  enetotN += energy;
692  if(section == HcalZDCDetId::EM){
693  enetotEmN += energy;
694  switch(channel){
695  case 1 :
698  break;
699  case 2 :
702  break;
703  case 3 :
706  break;
707  case 4 :
710  break;
711  case 5 :
714  break;
715  }
716  }
717  if(section == HcalZDCDetId::HAD){
718  enetotHadN += energy;
719  switch(channel){
720  case 1 :
723  break;
724  case 2 :
727  break;
728  case 3 :
731  break;
732  case 4 :
735  break;
736  }
737  }
738  }
739  if(side == 1){
740  enetotP += energy;
741  if(section == HcalZDCDetId::EM){
742  enetotEmP += energy;
743  switch(channel){
744  case 1 :
747  break;
748  case 2 :
751  break;
752  case 3 :
755  break;
756  case 4 :
759  break;
760  case 5 :
763  break;
764  }
765  }
766  if(section == HcalZDCDetId::HAD){
767  enetotHadP += energy;
768  switch(channel){
769  case 1 :
772  break;
773  case 2 :
776  break;
777  case 3 :
780  break;
781  case 4 :
784  break;
785  }
786  }
787  }
788  return 0;
789 }
MonitorElement * meZdcEneTHadP3_
MonitorElement * meZdcEneTEmN1_
MonitorElement * meZdcEneTEmP1_
MonitorElement * meZdcEneEmP3_
MonitorElement * meZdcEneEmN1_
MonitorElement * meZdcEneTEmP4_
MonitorElement * meZdcEneHadN1_
MonitorElement * meZdcEneEmN4_
MonitorElement * meZdcEneTHadN4_
MonitorElement * meZdcEneTEmN2_
MonitorElement * meZdcEneHadN4_
MonitorElement * meZdcEneTHadN2_
void Fill(long long x)
MonitorElement * meZdcEneEmP2_
MonitorElement * meZdcEneHadP1_
MonitorElement * meZdcEneEmN3_
MonitorElement * meZdcEneTEmN4_
MonitorElement * meZdcEneTHadP2_
MonitorElement * meZdcEneHadN3_
MonitorElement * meZdcEneEmN2_
MonitorElement * meZdcEneTHadN1_
MonitorElement * meZdcEneTEmP3_
MonitorElement * meZdcEneHadP4_
MonitorElement * meZdcEneHadP3_
MonitorElement * meZdcEneTEmN3_
MonitorElement * meZdcEneTHadP1_
MonitorElement * meZdcEneTHadP4_
MonitorElement * meZdcEneHadP2_
MonitorElement * meZdcEneEmP4_
MonitorElement * meZdcEneTEmP2_
MonitorElement * meZdcEneHadN2_
MonitorElement * meZdcEneEmP1_
MonitorElement * meZdcEneTHadN3_

Member Data Documentation

bool ZdcSimHitStudy::checkHit_
private

Definition at line 83 of file ZdcSimHitStudy.h.

Referenced by analyze(), bookHistograms(), and ZdcSimHitStudy().

double ZdcSimHitStudy::enetot
private

Definition at line 70 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and FillHitValHist().

double ZdcSimHitStudy::enetotEmN
private

Definition at line 68 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and FillHitValHist().

double ZdcSimHitStudy::enetotEmP
private

Definition at line 69 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and FillHitValHist().

double ZdcSimHitStudy::enetotHadN
private

Definition at line 68 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and FillHitValHist().

double ZdcSimHitStudy::enetotHadP
private

Definition at line 69 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and FillHitValHist().

double ZdcSimHitStudy::enetotN
private

Definition at line 68 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and FillHitValHist().

double ZdcSimHitStudy::enetotP
private

Definition at line 69 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and FillHitValHist().

std::string ZdcSimHitStudy::g4Label
private

Definition at line 80 of file ZdcSimHitStudy.h.

Referenced by ZdcSimHitStudy().

MonitorElement* ZdcSimHitStudy::genpart_GammaB
private

Definition at line 117 of file ZdcSimHitStudy.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::genpart_GammaB_energydist
private

Definition at line 118 of file ZdcSimHitStudy.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::genpart_GammaF
private

Definition at line 115 of file ZdcSimHitStudy.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::genpart_GammaF_energydist
private

Definition at line 116 of file ZdcSimHitStudy.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::genpart_NeutB
private

Definition at line 113 of file ZdcSimHitStudy.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::genpart_NeutB_energydist
private

Definition at line 114 of file ZdcSimHitStudy.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::genpart_NeutF
private

Definition at line 111 of file ZdcSimHitStudy.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::genpart_NeutF_energydist
private

Definition at line 112 of file ZdcSimHitStudy.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::genpart_Pi0B
private

Definition at line 109 of file ZdcSimHitStudy.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::genpart_Pi0B_energydist
private

Definition at line 110 of file ZdcSimHitStudy.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::genpart_Pi0F
private

Definition at line 107 of file ZdcSimHitStudy.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::genpart_Pi0F_energydist
private

Definition at line 108 of file ZdcSimHitStudy.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::meAllZdcNHit_
private

Definition at line 85 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meBadZdcDetHit_
private

Definition at line 85 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meBadZdcIdHit_
private

Definition at line 85 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meBadZdcSecHit_
private

Definition at line 85 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meZdc10Ene_
private

Definition at line 87 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::meZdc10EneP_
private

Definition at line 90 of file ZdcSimHitStudy.h.

MonitorElement * ZdcSimHitStudy::meZdcChannelHit_
private

Definition at line 88 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::meZdcCorEEmNEHadN_
private

Definition at line 96 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::meZdcCorEEmPEHadP_
private

Definition at line 102 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meZdcCorEtotNEtotP_
private

Definition at line 102 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meZdcDetectHit_
private

Definition at line 86 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meZdcEEMCh_
private

Definition at line 90 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meZdcEHadCh_
private

Definition at line 90 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meZdcEMEnergyHit_
private

Definition at line 89 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meZdcEML10EneP_
private

Definition at line 90 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::meZdcEneEmN1_
private

Definition at line 91 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneEmN2_
private

Definition at line 91 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneEmN3_
private

Definition at line 91 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneEmN4_
private

Definition at line 91 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneEmN5_
private

Definition at line 91 of file ZdcSimHitStudy.h.

Referenced by bookHistograms().

MonitorElement * ZdcSimHitStudy::meZdcEneEmNTot_
private

Definition at line 95 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::meZdcEneEmP1_
private

Definition at line 97 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneEmP2_
private

Definition at line 97 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneEmP3_
private

Definition at line 97 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneEmP4_
private

Definition at line 97 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneEmP5_
private

Definition at line 97 of file ZdcSimHitStudy.h.

Referenced by bookHistograms().

MonitorElement * ZdcSimHitStudy::meZdcEneEmPTot_
private

Definition at line 101 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::meZdcEneHadN1_
private

Definition at line 92 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneHadN2_
private

Definition at line 92 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneHadN3_
private

Definition at line 92 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneHadN4_
private

Definition at line 92 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement* ZdcSimHitStudy::meZdcEneHadNTot_
private

Definition at line 95 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::meZdcEneHadP1_
private

Definition at line 98 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneHadP2_
private

Definition at line 98 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneHadP3_
private

Definition at line 98 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneHadP4_
private

Definition at line 98 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement* ZdcSimHitStudy::meZdcEneHadPTot_
private

Definition at line 101 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meZdcEneNTot_
private

Definition at line 95 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meZdcEnePTot_
private

Definition at line 101 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meZdcEnergyHit_
private

Definition at line 88 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::meZdcEneTEmN1_
private

Definition at line 93 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTEmN2_
private

Definition at line 93 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTEmN3_
private

Definition at line 93 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTEmN4_
private

Definition at line 93 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTEmN5_
private

Definition at line 93 of file ZdcSimHitStudy.h.

Referenced by bookHistograms().

MonitorElement* ZdcSimHitStudy::meZdcEneTEmP1_
private

Definition at line 99 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTEmP2_
private

Definition at line 99 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTEmP3_
private

Definition at line 99 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTEmP4_
private

Definition at line 99 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTEmP5_
private

Definition at line 99 of file ZdcSimHitStudy.h.

Referenced by bookHistograms().

MonitorElement* ZdcSimHitStudy::meZdcEneTHadN1_
private

Definition at line 94 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTHadN2_
private

Definition at line 94 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTHadN3_
private

Definition at line 94 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTHadN4_
private

Definition at line 94 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement* ZdcSimHitStudy::meZdcEneTHadP1_
private

Definition at line 100 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTHadP2_
private

Definition at line 100 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTHadP3_
private

Definition at line 100 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTHadP4_
private

Definition at line 100 of file ZdcSimHitStudy.h.

Referenced by bookHistograms(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTot_
private

Definition at line 102 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meZdcETime_
private

Definition at line 86 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::meZdcHadEnergyHit_
private

Definition at line 89 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meZdcHadL10EneP_
private

Definition at line 89 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::meZdcNHit_
private

Definition at line 86 of file ZdcSimHitStudy.h.

MonitorElement* ZdcSimHitStudy::meZdcNHitEM_
private

Definition at line 87 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meZdcNHitHad_
private

Definition at line 87 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meZdcNHitLum_
private

Definition at line 87 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement* ZdcSimHitStudy::meZdcSectionHit_
private

Definition at line 88 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meZdcSideHit_
private

Definition at line 86 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meZdcTimeHit_
private

Definition at line 89 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

MonitorElement * ZdcSimHitStudy::meZdcTimeWHit_
private

Definition at line 88 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and bookHistograms().

std::string ZdcSimHitStudy::outFile_
private

Definition at line 80 of file ZdcSimHitStudy.h.

Referenced by ZdcSimHitStudy().

edm::EDGetTokenT<reco::GenParticleCollection> ZdcSimHitStudy::tok_gen_
private

Definition at line 81 of file ZdcSimHitStudy.h.

Referenced by analyze(), and ZdcSimHitStudy().

edm::EDGetTokenT<edm::PCaloHitContainer> ZdcSimHitStudy::tok_hits_
private

Definition at line 82 of file ZdcSimHitStudy.h.

Referenced by analyze(), and ZdcSimHitStudy().

bool ZdcSimHitStudy::verbose_
private

Definition at line 83 of file ZdcSimHitStudy.h.

Referenced by ZdcSimHitStudy().

std::string ZdcSimHitStudy::zdcHits
private

Definition at line 80 of file ZdcSimHitStudy.h.

Referenced by ZdcSimHitStudy().