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:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 ZdcSimHitStudy (const edm::ParameterSet &ps)
 
 ~ZdcSimHitStudy ()
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- 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 > &)
 
void beginJob ()
 
void endJob ()
 
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::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_
 
DQMStoredbe_
 
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::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 

Detailed Description

Definition at line 53 of file ZdcSimHitStudy.h.

Constructor & Destructor Documentation

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

Definition at line 30 of file ZdcSimHitStudy.cc.

References checkHit_, dbe_, g4Label, edm::ParameterSet::getUntrackedParameter(), cppFunctionSkipper::operator, outFile_, DQMStore::setVerbose(), DQMStore::showDirStructure(), 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 
48  if (dbe_) {
49  if (verbose_) {
50  dbe_->setVerbose(1);
51  sleep (3);
53  } else {
54  dbe_->setVerbose(0);
55  }
56  }
57 }
T getUntrackedParameter(std::string const &, T const &) const
std::string outFile_
edm::EDGetTokenT< edm::PCaloHitContainer > tok_hits_
void setVerbose(unsigned level)
Definition: DQMStore.cc:619
edm::EDGetTokenT< reco::GenParticleCollection > tok_gen_
std::string zdcHits
std::string g4Label
DQMStore * dbe_
void showDirStructure(void) const
Definition: DQMStore.cc:3282
ZdcSimHitStudy::~ZdcSimHitStudy ( )

Definition at line 59 of file ZdcSimHitStudy.cc.

59 {}

Member Function Documentation

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

Implements edm::EDAnalyzer.

Definition at line 474 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_.

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

References dbe_, 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().

598  {
599  int nHit = hits.size();
600  int nZdcEM = 0, nZdcHad = 0, nZdcLum = 0;
601  int nBad1=0, nBad2=0, nBad=0;
602  std::vector<double> encontZdcEM(140, 0.);
603  std::vector<double> encontZdcHad(140, 0.);
604  double entotZdcEM = 0;
605  double entotZdcHad = 0;
606 
607  enetotEmN = 0;
608  enetotHadN = 0.;
609  enetotN = 0;
610  enetotEmP = 0;
611  enetotHadP = 0;
612  enetotP = 0;
613  enetot = 0;
614 
615  for (int i=0; i<nHit; i++) {
616  double energy = hits[i].energy();
617  double log10en = log10(energy);
618  int log10i = int( (log10en+10.)*10. );
619  double time = hits[i].time();
620  unsigned int id_ = hits[i].id();
621  HcalZDCDetId id = HcalZDCDetId(id_);
622  int det = id.det();
623  int side = id.zside();
624  int section = id.section();
625  int channel = id.channel();
626 
627  FillHitValHist(side,section,channel,energy,time);
628 
629 
630  LogDebug("ZdcSimHitStudy")
631  //std::cout
632  << "Hit[" << i << "] ID " << std::hex << id_
633  << std::dec <<" DetID "<<id
634  << " Det "<< det << " side "<< side
635  << " Section " << section
636  << " channel "<< channel
637  << " E " << energy
638  << " time \n" << time;
639  //<<std::endl;
640 
641  if(det == 5) { // Check DetId.h
642  if(section == HcalZDCDetId::EM)nZdcEM++;
643  else if(section == HcalZDCDetId::HAD)nZdcHad++;
644  else if(section == HcalZDCDetId::LUM)nZdcLum++;
645  else { nBad++; nBad2++;}
646  } else { nBad++; nBad1++;}
647  if (dbe_) {
648  meZdcDetectHit_->Fill(double(det));
649  if (det == 5) {
650  meZdcSideHit_->Fill(double(side));
651  meZdcSectionHit_->Fill(double(section));
652  meZdcChannelHit_->Fill(double(channel));
653  meZdcEnergyHit_->Fill(energy);
654  if(section == HcalZDCDetId::EM){
655  meZdcEMEnergyHit_->Fill(energy);
656  meZdcEEMCh_->Fill(energy,channel);
657  if( log10i >=0 && log10i < 140 )encontZdcEM[log10i] += energy;
658  entotZdcEM += energy;
659  }
660  if(section == HcalZDCDetId::HAD){
661  meZdcHadEnergyHit_->Fill(energy);
662  meZdcEHadCh_->Fill(energy,channel);
663  if( log10i >=0 && log10i < 140 )encontZdcHad[log10i] += energy;
664  entotZdcHad += energy;
665  }
666  meZdcTimeHit_->Fill(time);
667  meZdcTimeWHit_->Fill(double(time),energy);
668  meZdc10Ene_->Fill(log10en);
669  meZdcETime_->Fill(energy, double(time));
670  }
671  }
672  }
673 
674  if( entotZdcEM != 0 ) for( int i=0; i<140; i++ ) meZdcEML10EneP_->Fill( -10.+(float(i)+0.5)/10., encontZdcEM[i]/entotZdcEM);
675  if( entotZdcHad != 0 ) for( int i=0; i<140; i++ ) meZdcHadL10EneP_->Fill( -10.+(float(i)+0.5)/10.,encontZdcHad[i]/entotZdcHad);
676 
677  if (dbe_ && nHit>0) {
678  meAllZdcNHit_->Fill(double(nHit));
679  meBadZdcDetHit_->Fill(double(nBad1));
680  meBadZdcSecHit_->Fill(double(nBad2));
681  meBadZdcIdHit_->Fill(double(nBad));
682  meZdcNHitEM_->Fill(double(nZdcEM));
683  meZdcNHitHad_->Fill(double(nZdcHad));
684  meZdcNHitLum_->Fill(double(nZdcLum));
695  }
696  LogDebug("HcalSimHitStudy")
697  //std::cout
698  <<"HcalSimHitStudy::analyzeHits: Had " << nZdcHad
699  << " EM "<< nZdcEM
700  << " Bad " << nBad << " All " << nHit;
701  //<<std::endl;
702 }
#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_
DQMStore * dbe_
MonitorElement * meZdcEneNTot_
MonitorElement * meZdcEneHadPTot_
MonitorElement * meZdcEEMCh_
MonitorElement * meZdcNHitEM_
MonitorElement * meZdcTimeWHit_
MonitorElement * meZdcEHadCh_
MonitorElement * meZdcETime_
MonitorElement * meZdcEMEnergyHit_
MonitorElement * meZdcNHitLum_
void ZdcSimHitStudy::beginJob ( void  )
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 61 of file ZdcSimHitStudy.cc.

References DQMStore::book1D(), DQMStore::book2D(), DQMStore::bookProfile(), checkHit_, dbe_, 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::setCurrentFolder().

61  {
62  if (dbe_) {
63  dbe_->setCurrentFolder("ZDCValidation");
64  //Histograms for Hits
66 //# Below we are filling the histograms made in the .h file. The syntax is as follows: #
67 //# plot_code_name = dbe_->TypeofPlot[(1,2,3)-D,(F,I,D)]("Name as it will appear","Title",axis options); #
68 //# They will be stored in the TFile subdirectory set by : dbe_->setCurrentFolder("FolderIwant") #
69 //# axis options are like (#ofbins,min,max) #
71 
72 
73  if (checkHit_) {
75  dbe_->setCurrentFolder("ZDCValidation/ZdcSimHits");
76  meAllZdcNHit_ = dbe_->book1D("ZDC Hits","Number of All Hits in ZDC",100,0.,100.);
77  meAllZdcNHit_->setAxisTitle("Total Hits",1);
78  meAllZdcNHit_->setAxisTitle("Counts",2);
80  dbe_->setCurrentFolder("ZDCValidation/ZdcSimHits/Excess_Info/Debug_Helper");
81  meBadZdcDetHit_= dbe_->book1D("Hiits with the wrong Det","Hits with wrong Det in ZDC",100,0.,100.);
82  meBadZdcDetHit_->setAxisTitle("Wrong Hits",1);
83  meBadZdcDetHit_->setAxisTitle("Counts",2);
85  meBadZdcSecHit_= dbe_->book1D("Wrong Section Hits","Hits with wrong Section in ZDC",100,0.,100.);
86  meBadZdcSecHit_->setAxisTitle("Hits in wrong section",1);
87  meBadZdcSecHit_->setAxisTitle("Counts",2);
89  meBadZdcIdHit_ = dbe_->book1D("Wrong_ID_Hits","Hits with wrong ID in ZDC",100,0.,100.);
90  meBadZdcIdHit_->setAxisTitle("Hits with wrong ID",1);
91  meBadZdcIdHit_->setAxisTitle("Counts",2);
93  dbe_->setCurrentFolder("ZDCValidation/ZdcSimHits/Excess_Info/BasicHitInfo");
94  meZdcNHitEM_ = dbe_->book1D("Hits in EM","Number of Hits in ZDC EM",100,0.,100.);
95  meZdcNHitEM_->setAxisTitle("EM Hits",1);
96  meZdcNHitEM_->setAxisTitle("Counts",2);
98  meZdcNHitHad_ = dbe_->book1D("Hits in HAD","Number of Hits in ZDC Had",100,0.,100.);
99  meZdcNHitHad_->setAxisTitle("HAD Hits",1);
100  meZdcNHitHad_->setAxisTitle("Counts",2);
102  meZdcNHitLum_ = dbe_->book1D("Hits in LUM","Number of Hits in ZDC Lum",100,0.,100.);
103  meZdcNHitLum_->setAxisTitle("LUM Hits",1);
104  meZdcNHitLum_->setAxisTitle("Counts",2);
106  meZdcDetectHit_= dbe_->book1D("Calo Detector ID","Calo Detector ID",50,0.,50.);
107  meZdcDetectHit_->setAxisTitle("Detector Hits",1);
108  meZdcDetectHit_->setAxisTitle("Counts",2);
110  meZdcSideHit_ = dbe_->book1D("ZDC Side","Side in ZDC",4,-2,2.);
111  meZdcSideHit_->setAxisTitle("ZDC Side",1);
112  meZdcSideHit_->setAxisTitle("Counts",2);
114  meZdcSectionHit_ = dbe_->book1D("ZDC Section","Section in ZDC",4,0.,4.);
115  meZdcSectionHit_->setAxisTitle("ZDC Section",1);
116  meZdcSectionHit_->setAxisTitle("Counts",2);
118  meZdcChannelHit_ = dbe_->book1D("ZDC Channel","Channel in ZDC",10,0.,10.);
119  meZdcChannelHit_->setAxisTitle("ZDC Channel",1);
120  meZdcChannelHit_->setAxisTitle("Counts",2);
122  dbe_->setCurrentFolder("ZDCValidation/ZdcSimHits/");
123  meZdcEnergyHit_= dbe_->book1D("Hit Energy","Hits Energy",4000,0.,8000.);
124  meZdcEnergyHit_->setAxisTitle("Counts",2);
125  meZdcEnergyHit_->setAxisTitle("Energy (GeV)",1);
127  meZdcHadEnergyHit_= dbe_->book1D("Hit Energy HAD","Hits Energy in Had Section",4000,0.,8000.);
128  meZdcHadEnergyHit_->setAxisTitle("Counts",2);
129  meZdcHadEnergyHit_->setAxisTitle("Energy (GeV)",1);
131  meZdcEMEnergyHit_ = dbe_->book1D("Hit Energy EM","Hits Energy in EM Section",4000,0.,8000.);
132  meZdcEMEnergyHit_->setAxisTitle("Counts",2);
133  meZdcEMEnergyHit_->setAxisTitle("Energy (GeV)",1);
135  dbe_->setCurrentFolder("ZDCValidation/ZdcSimHits/Excess_Info/BasicHitInfo");
136  meZdcTimeHit_ = dbe_->book1D("Time in ZDC","Time in ZDC",300,0.,600.);
137  meZdcTimeHit_->setAxisTitle("Time (ns)",1);
138  meZdcTimeHit_->setAxisTitle("Counts",2);
140  meZdcTimeWHit_ = dbe_->book1D("Energy Weighted Time in ZDC","Time in ZDC (E wtd)", 300,0.,600.);
141  meZdcTimeWHit_->setAxisTitle("Time (ns)",1);
142  meZdcTimeWHit_->setAxisTitle("Counts",2);
144  meZdc10Ene_ = dbe_->book1D("ZDC Log(E)","Log10Energy in ZDC", 140, -20., 20. );
145  meZdc10Ene_->setAxisTitle("Log(E) (GeV)",1);
146  meZdc10Ene_->setAxisTitle("Counts",2);
148  meZdcHadL10EneP_ = dbe_->bookProfile("Log(EHAD) vs Contribution","Log10Energy in Had ZDC vs Hit contribution", 140, -1., 20., 100, 0., 1. );
149  meZdcHadL10EneP_->setAxisTitle("Log(EHAD) (GeV)",1);
150  meZdcHadL10EneP_->setAxisTitle("Counts",2);
152  meZdcEML10EneP_ = dbe_->bookProfile("Log(EEM) vs Contribution","Log10Energy in EM ZDC vs Hit contribution", 140, -1., 20., 100, 0., 1. );
153  meZdcEML10EneP_->setAxisTitle("Log(EEM) (GeV)",1);
154  meZdcEML10EneP_->setAxisTitle("Counts",2);
156  dbe_->setCurrentFolder("ZDCValidation/ZdcSimHits");
157  meZdcEHadCh_ = dbe_->book2D("ZDC EHAD vs Channel","ZDC Had Section Energy vs Channel", 4000, 0., 8000., 6, 0., 6. );
158  meZdcEHadCh_->setAxisTitle("Hadronic Channel Number",2);
159  meZdcEHadCh_->setAxisTitle("Energy (GeV)",1);
161  meZdcEEMCh_ = dbe_->book2D("ZDC EEM vs Channel","ZDC EM Section Energy vs Channel", 4000, 0., 8000., 6, 0., 6. );
162  meZdcEEMCh_->setAxisTitle("EM Channel Number",2);
163  meZdcEEMCh_->setAxisTitle("Energy (GeV)",1);
165  dbe_->setCurrentFolder("ZDCValidation/ZdcSimHits/Excess_Info/BasicHitInfo");
166  meZdcETime_ = dbe_->book2D("E vs T","Hits ZDC Energy vs Time", 4000, 0., 8000., 300, 0., 600. );
167  meZdcETime_->setAxisTitle("Energy (GeV)",1);
168  meZdcETime_->setAxisTitle("Time (ns)",2);
170  dbe_->setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS/Individual_Channels/NZDC");
171  meZdcEneEmN1_ = dbe_->book1D("NZDC EM1 Energy","Energy EM module N1",4000,0.,8000.);
172  meZdcEneEmN1_->setAxisTitle("Energy (GeV)",1);
173  meZdcEneEmN1_->setAxisTitle("Counts",2);
175  meZdcEneEmN2_ = dbe_->book1D("NZDC EM2 Energy","Energy EM module N2",4000,0.,8000.);
176  meZdcEneEmN2_->setAxisTitle("Energy (GeV)",1);
177  meZdcEneEmN2_->setAxisTitle("Counts",2);
179  meZdcEneEmN3_ = dbe_->book1D("NZDC EM3 Energy","Energy EM module N3",4000,0.,8000.);
180  meZdcEneEmN3_->setAxisTitle("Energy (GeV)",1);
181  meZdcEneEmN3_->setAxisTitle("Counts",2);
183  meZdcEneEmN4_ = dbe_->book1D("NZDC EM4 Energy","Energy EM module N4",4000,0.,8000.);
184  meZdcEneEmN4_->setAxisTitle("Energy (GeV)",1);
185  meZdcEneEmN4_->setAxisTitle("Counts",2);
187  meZdcEneEmN5_ = dbe_->book1D("NZDC EM5 Energy","Energy EM module N5",4000,0.,8000.);
188  meZdcEneEmN5_->setAxisTitle("Energy (GeV)",1);
189  meZdcEneEmN5_->setAxisTitle("Counts",2);
191  meZdcEneHadN1_ = dbe_->book1D("NZDC HAD1 Energy","Energy HAD module N1",4000,0.,8000.);
192  meZdcEneHadN1_->setAxisTitle("Energy (GeV)",1);
193  meZdcEneHadN1_->setAxisTitle("Counts",2);
195  meZdcEneHadN2_ = dbe_->book1D("NZDC HAD2 Energy","Energy HAD module N2",4000,0.,8000.);
196  meZdcEneHadN2_->setAxisTitle("Energy (GeV)",1);
197  meZdcEneHadN2_->setAxisTitle("Counts",2);
199  meZdcEneHadN3_ = dbe_->book1D("NZDC HAD3 Energy","Energy HAD module N3",4000,0.,8000.);
200  meZdcEneHadN3_->setAxisTitle("Energy (GeV)",1);
201  meZdcEneHadN3_->setAxisTitle("Counts",2);
203  meZdcEneHadN4_ = dbe_->book1D("NZDC HAD4 Energy","Energy HAD module N4",4000,0.,8000.);
204  meZdcEneHadN4_->setAxisTitle("Energy (GeV)",1);
205  meZdcEneHadN4_->setAxisTitle("Counts",2);
207  dbe_->setCurrentFolder("ZDCValidation/ZdcSimHits/Excess_Info/Individual_ChannelvsTime/NZDC");
208  meZdcEneTEmN1_ = dbe_->book2D("NZDC EM1 Energy vs Time","Energy EM mod N1 vs Time", 4000, 0., 8000., 300, 0., 600. );
209  meZdcEneTEmN1_->setAxisTitle("Energy (GeV)",1);
210  meZdcEneTEmN1_->setAxisTitle("Time (ns)",2);
212  meZdcEneTEmN2_ = dbe_->book2D("NZDC EM2 Energy vs Time","Energy EM mod N2 vs Time", 4000, 0., 8000., 300, 0., 600. );
213  meZdcEneTEmN2_->setAxisTitle("Energy (GeV)",1);
214  meZdcEneTEmN2_->setAxisTitle("Time (ns)",2);
216  meZdcEneTEmN3_ = dbe_->book2D("NZDC EM3 Energy vs Time","Energy EM mod N3 vs Time", 4000, 0., 8000., 300, 0., 600. );
217  meZdcEneTEmN3_->setAxisTitle("Energy (GeV)",1);
218  meZdcEneTEmN3_->setAxisTitle("Time (ns)",2);
220  meZdcEneTEmN4_ = dbe_->book2D("NZDC EM4 Energy vs Time","Energy EM mod N4 vs Time", 4000, 0., 8000., 300, 0., 600. );
221  meZdcEneTEmN4_->setAxisTitle("Energy (GeV)",1);
222  meZdcEneTEmN4_->setAxisTitle("Time (ns)",2);
224  meZdcEneTEmN5_ = dbe_->book2D("NZDC EM5 Energy vs Time","Energy EM mod N5 vs Time", 4000, 0., 8000., 300, 0., 600. );
225  meZdcEneTEmN5_->setAxisTitle("Energy (GeV)",1);
226  meZdcEneTEmN5_->setAxisTitle("Time (ns)",2);
228  meZdcEneTHadN1_ = dbe_->book2D("NZDC HAD1 Energy vs Time","Energy HAD mod N1 vs Time", 4000, 0., 8000., 300, 0., 600. );
229  meZdcEneTHadN1_->setAxisTitle("Energy (GeV)",1);
230  meZdcEneTHadN1_->setAxisTitle("Time (ns)",2);
232  meZdcEneTHadN2_ = dbe_->book2D("NZDC HAD2 Energy vs Time","Energy HAD mod N2 vs Time", 4000, 0., 8000., 300, 0., 600. );
233  meZdcEneTHadN2_->setAxisTitle("Energy (GeV)",1);
234  meZdcEneTHadN2_->setAxisTitle("Time (ns)",2);
236  meZdcEneTHadN3_ = dbe_->book2D("NZDC HAD3 Energy vs Time","Energy HAD mod N3 vs Time", 4000, 0., 8000., 300, 0., 600. );
237  meZdcEneTHadN3_->setAxisTitle("Energy (GeV)",1);
238  meZdcEneTHadN3_->setAxisTitle("Time (ns)",2);
240  meZdcEneTHadN4_ = dbe_->book2D("NZDC HAD4 Energy vs Time","Energy HAD mod N4 vs Time", 4000, 0., 8000., 300, 0., 600. );
241  meZdcEneTHadN4_->setAxisTitle("Energy (GeV)",1);
242  meZdcEneTHadN4_->setAxisTitle("Time (ns)",2);
244  dbe_->setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS/NZDC");
245  meZdcEneHadNTot_ = dbe_->book1D("NZDC EHAD","Total N-ZDC HAD Energy",4000,0.,4000.);
246  meZdcEneHadNTot_->setAxisTitle("Counts",2);
247  meZdcEneHadNTot_->setAxisTitle("Energy (GeV)",1);
249  meZdcEneEmNTot_ = dbe_->book1D("NZDC EEM","Total N-ZDC EM Energy",3000,0.,3000.);
250  meZdcEneEmNTot_->setAxisTitle("Counts",2);
251  meZdcEneEmNTot_->setAxisTitle("Energy (GeV)",1);
253  meZdcEneNTot_ = dbe_->book1D("NZDC ETOT","Total N-ZDC Energy ",7000,0.,7000.);
254  meZdcEneNTot_->setAxisTitle("Counts",2);
255  meZdcEneNTot_->setAxisTitle("Energy (GeV)",1);
257  dbe_->setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS/Individual_Channels/PZDC");
258  meZdcEneEmP1_ = dbe_->book1D("PZDC EM1 Energy","Energy EM module P1",3000,0.,3000.);
259  meZdcEneEmP1_->setAxisTitle("Energy (GeV)",1);
260  meZdcEneEmP1_->setAxisTitle("Counts",2);
262  meZdcEneEmP2_ = dbe_->book1D("PZDC EM2 Energy","Energy EM module P2",3000,0.,3000.);
263  meZdcEneEmP2_->setAxisTitle("Energy (GeV)",1);
264  meZdcEneEmP2_->setAxisTitle("Counts",2);
266  meZdcEneEmP3_ = dbe_->book1D("PZDC EM3 Energy","Energy EM module P3",3000,0.,3000.);
267  meZdcEneEmP3_->setAxisTitle("Energy (GeV)",1);
268  meZdcEneEmP3_->setAxisTitle("Counts",2);
270  meZdcEneEmP4_ = dbe_->book1D("PZDC EM4 Energy","Energy EM module P4",3000,0.,3000.);
271  meZdcEneEmP4_->setAxisTitle("Energy (GeV)",1);
272  meZdcEneEmP4_->setAxisTitle("Counts",2);
274  meZdcEneEmP5_ = dbe_->book1D("PZDC EM5 Energy","Energy EM module P5",3000,0.,3000.);
275  meZdcEneEmP5_->setAxisTitle("Energy (GeV)",1);
276  meZdcEneEmP5_->setAxisTitle("Counts",2);
278  meZdcEneHadP1_ = dbe_->book1D("PZDC HAD1 Energy","Energy HAD module P1",3000,0.,3000.);
279  meZdcEneHadP1_->setAxisTitle("Energy (GeV)",1);
280  meZdcEneHadP1_->setAxisTitle("Counts",2);
282  meZdcEneHadP2_ = dbe_->book1D("PZDC HAD2 Energy","Energy HAD module P2",3000,0.,3000.);
283  meZdcEneHadP2_->setAxisTitle("Energy (GeV)",1);
284  meZdcEneHadP2_->setAxisTitle("Counts",2);
286  meZdcEneHadP3_ = dbe_->book1D("PZDC HAD3 Energy","Energy HAD module P3",3000,0.,3000.);
287  meZdcEneHadP3_->setAxisTitle("Energy (GeV)",1);
288  meZdcEneHadP3_->setAxisTitle("Counts",2);
290  meZdcEneHadP4_ = dbe_->book1D("PZDC HAD4 Energy","Energy HAD module P4",3000,0.,3000.);
291  meZdcEneHadP4_->setAxisTitle("Energy (GeV)",1);
292  meZdcEneHadP4_->setAxisTitle("Counts",2);
294  dbe_->setCurrentFolder("ZDCValidation/ZdcSimHits/Excess_Info/Individual_ChannelvsTime/PZDC");
295  meZdcEneTEmP1_ = dbe_->book2D("PZDC EM1 Energy vs Time","Energy EM mod P1 vs Time", 4000, 0., 8000., 300, 0., 600. );
296  meZdcEneTEmP1_->setAxisTitle("Energy (GeV)",1);
297  meZdcEneTEmP1_->setAxisTitle("Time (ns)",2);
299  meZdcEneTEmP2_ = dbe_->book2D("PZDC EM2 Energy vs Time","Energy EM mod P2 vs Time", 4000, 0., 8000., 300, 0., 600. );
300  meZdcEneTEmP2_->setAxisTitle("Energy (GeV)",1);
301  meZdcEneTEmP2_->setAxisTitle("Time (ns)",2);
303  meZdcEneTEmP3_ = dbe_->book2D("PZDC EM3 Energy vs Time","Energy EM mod P3 vs Time", 4000, 0., 8000., 300, 0., 600. );
304  meZdcEneTEmP3_->setAxisTitle("Energy (GeV)",1);
305  meZdcEneTEmP3_->setAxisTitle("Time (ns)",2);
307  meZdcEneTEmP4_ = dbe_->book2D("PZDC EM4 Energy vs Time","Energy EM mod P4 vs Time", 4000, 0., 8000., 300, 0., 600. );
308  meZdcEneTEmP4_->setAxisTitle("Energy (GeV)",1);
309  meZdcEneTEmP4_->setAxisTitle("Time (ns)",2);
311  meZdcEneTEmP5_ = dbe_->book2D("PZDC EM5 Energy vs Time","Energy EM mod P5 vs Time", 4000, 0., 8000., 300, 0., 600. );
312  meZdcEneTEmP5_->setAxisTitle("Energy (GeV)",1);
313  meZdcEneTEmP5_->setAxisTitle("Time (ns)",2);
315  meZdcEneTHadP1_ = dbe_->book2D("PZDC HAD1 Energy vs Time","Energy HAD mod P1 vs Time", 4000, 0., 8000., 300, 0., 600. );
316  meZdcEneTHadP1_->setAxisTitle("Energy (GeV)",1);
317  meZdcEneTHadP1_->setAxisTitle("Time (ns)",2);
319  meZdcEneTHadP2_ = dbe_->book2D("PZDC HAD2 Energy vs Time","Energy HAD mod P2 vs Time", 4000, 0., 8000., 300, 0., 600. );
320  meZdcEneTHadP2_->setAxisTitle("Energy (GeV)",1);
321  meZdcEneTHadP2_->setAxisTitle("Time (ns)",2);
323  meZdcEneTHadP3_ = dbe_->book2D("PZDC HAD3 Energy vs Time","Energy HAD mod P3 vs Time", 4000, 0., 8000., 300, 0., 600. );
324  meZdcEneTHadP3_->setAxisTitle("Energy (GeV)",1);
325  meZdcEneTHadP3_->setAxisTitle("Time (ns)",2);
327  meZdcEneTHadP4_ = dbe_->book2D("PZDC HAD4 Energy vs Time","Energy HAD mod P4 vs Time", 4000, 0., 8000., 300, 0., 600. );
328  meZdcEneTHadP4_->setAxisTitle("Energy (GeV)",1);
329  meZdcEneTHadP4_->setAxisTitle("Time (ns)",2);
331  dbe_->setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS/PZDC");
332  meZdcEneHadPTot_ = dbe_->book1D("PZDC EHAD","Total P-ZDC HAD Energy",10000,0.,10000.);
333  meZdcEneHadPTot_->setAxisTitle("Energy (GeV)",1);
334  meZdcEneHadPTot_->setAxisTitle("Counts",2);
336  meZdcEneEmPTot_ = dbe_->book1D("PZDC EEM","Total P-ZDC EM Energy",10000,0.,10000.);
337  meZdcEneEmPTot_->setAxisTitle("Energy (GeV)",1);
338  meZdcEneEmPTot_->setAxisTitle("Counts",2);
340  meZdcEnePTot_ = dbe_->book1D("PZDC ETOT","Total P-ZDC Energy",10000,0.,10000.);
341  meZdcEnePTot_->setAxisTitle("Energy (GeV)",1);
342  meZdcEnePTot_->setAxisTitle("Counts",2);
344  dbe_->setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS/NZDC");
345  meZdcCorEEmNEHadN_= dbe_->book2D("NZDC EMvHAD","N-ZDC Energy EM vs HAD", 3000, 0., 3000.,3000, 0., 3000.);
346  meZdcCorEEmNEHadN_->setAxisTitle("EM Energy (GeV)",1);
347  meZdcCorEEmNEHadN_->setAxisTitle("HAD Energy (GeV)",2);
349  dbe_->setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS/PZDC");
350  meZdcCorEEmPEHadP_= dbe_->book2D("PZDC EMvHAD","P-ZDC Energy EM vs HAD", 3000, 0., 3000.,3000, 0., 3000.);
351  meZdcCorEEmPEHadP_->setAxisTitle("EM Energy (GeV)",1);
352  meZdcCorEEmPEHadP_->setAxisTitle("HAD Energy (GeV)",2);
354  dbe_->setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS");
355  meZdcCorEtotNEtotP_ = dbe_->book2D("PZDC vs NZDC","Energy N-ZDC vs P-ZDC", 3000, 0., 3000.,3000, 0., 3000.);
356  meZdcCorEtotNEtotP_->setAxisTitle("N-ZDC Total Energy (GeV)",1);
357  meZdcCorEtotNEtotP_->setAxisTitle("P-ZDC Total Energy (GeV)",2);
359  meZdcEneTot_ = dbe_->book1D("ETOT ZDCs","Total Energy ZDCs",3000,0.,3000.);
360  meZdcEneTot_->setAxisTitle("Counts",2);
361  meZdcEneTot_->setAxisTitle("Energy (GeV)",1);
363 
364 
365 
366 
368 
370  dbe_->setCurrentFolder("ZDCValidation/GenParticles/Forward");
373  genpart_Pi0F = dbe_->book2D("Pi0_Forward","Forward Generated Pi0s",200,7.5,13,100,-3.15,3.15);
374  // genpart_Pi0F = dbe_->bookProfile2D("blah","balh",200,4.5,7,100,-3.15,3.15,2000,0,3000,"s");
375  genpart_Pi0F->setAxisTitle("Eta",1);
376  genpart_Pi0F->setAxisTitle("Phi (radians)",2);
377  genpart_Pi0F->setAxisTitle("Energy (GeV)",3);
378  genpart_Pi0F->getTH2F()->SetOption("lego2z,prof");
379  genpart_Pi0F->getTH2F()->SetTitleOffset(1.4,"x");
380  genpart_Pi0F->getTH2F()->SetTitleOffset(1.4,"y");
383  genpart_NeutF = dbe_->book2D("Neutron_Forward","Forward Generated Neutrons",200,7.5,13,100,-3.15,3.15);
384  genpart_NeutF->setAxisTitle("Eta",1);
385  genpart_NeutF->setAxisTitle("Phi (radians)",2);
386  genpart_NeutF->setAxisTitle("Energy (GeV)",3);
387  genpart_NeutF->getTH2F()->SetOption("lego2z,prof");
388  genpart_NeutF->getTH2F()->SetTitleOffset(1.4,"x");
389  genpart_NeutF->getTH2F()->SetTitleOffset(1.4,"y");
392  genpart_GammaF = dbe_->book2D("Gamma_Forward","Forward Generated Gammas",200,7.5,13,100,-3.15,3.15);
393  genpart_GammaF->setAxisTitle("Eta",1);
394  genpart_GammaF->setAxisTitle("Phi (radians)",2);
395  genpart_GammaF->setAxisTitle("Energy (GeV)",3);
396  genpart_GammaF->getTH2F()->SetOption("lego2z,prof");
397  genpart_GammaF->getTH2F()->SetTitleOffset(1.4,"x");
398  genpart_GammaF->getTH2F()->SetTitleOffset(1.4,"y");
401 genpart_Pi0F_energydist = dbe_->book1D("Pi0_Forward_EDistribution","Gen-Level Forward Pi0 Energy",1500,0,1500);
402  genpart_Pi0F_energydist->setAxisTitle("Energy (GeV)",1);
406  genpart_NeutF_energydist = dbe_->book1D("N_Forward_EDistribution","Gen-Level Forward Neutron Energy",1500,0,1500);
407  genpart_NeutF_energydist->setAxisTitle("Energy (GeV)",1);
411  genpart_GammaF_energydist = dbe_->book1D("Gamma_Forward_EDistribution","Gen-Level Fowarad Gamma Energy",1500,0,1500);
412  genpart_GammaF_energydist->setAxisTitle("Energy (GeV)",1);
415  dbe_->setCurrentFolder("ZDCValidation/GenParticles/Backward");
418  genpart_Pi0B = dbe_->book2D("Pi0_Backward","Backward Generated Pi0s",1000,-13,-7.5,100,-3.15,3.15);
419  genpart_Pi0B->setAxisTitle("Eta",1);
420  genpart_Pi0B->setAxisTitle("Phi (radians)",2);
421  genpart_Pi0B->setAxisTitle("Energy (GeV)",3);
422  genpart_Pi0B->getTH2F()->SetOption("lego2z,prof");
423  genpart_Pi0B->getTH2F()->SetTitleOffset(1.4,"x");
424  genpart_Pi0B->getTH2F()->SetTitleOffset(1.4,"y");
427  genpart_NeutB = dbe_->book2D("Neutron_Backward","Backward Generated Neutrons",1000,-13,-7.5,100,-3.15,3.15);
428  genpart_NeutB->setAxisTitle("Eta",1);
429  genpart_NeutB->setAxisTitle("Phi (radians)",2);
430  genpart_NeutB->setAxisTitle("Energy (GeV)",3);
431  genpart_NeutB->getTH2F()->SetOption("lego2z,prof");
432  genpart_NeutB->getTH2F()->SetTitleOffset(1.4,"x");
433  genpart_NeutB->getTH2F()->SetTitleOffset(1.4,"y");
436  genpart_GammaB = dbe_->book2D("Gamma_Backward","Backward Generated Gammas",1000,-13,-7.5,100,-3.15,3.15);
437  genpart_GammaB->setAxisTitle("Eta",1);
438  genpart_GammaB->setAxisTitle("Phi (radians)",2);
439  genpart_GammaB->setAxisTitle("Energy (GeV)",3);
440  genpart_GammaB->getTH2F()->SetOption("lego2z,prof");
441  genpart_GammaB->getTH2F()->SetTitleOffset(1.4,"x");
442  genpart_GammaB->getTH2F()->SetTitleOffset(1.4,"y");
446  genpart_Pi0B_energydist = dbe_->book1D("Pi0_Backward_EDistribution","Gen-Level Backward Pi0 Energy",1500,0,1500);
447  genpart_Pi0B_energydist->setAxisTitle("Energy (GeV)",1);
451  genpart_NeutB_energydist = dbe_->book1D("N_Backward_EDistribution","Gen-Level Foward Neutron Energy",1500,0,1500);
452  genpart_NeutB_energydist->setAxisTitle("Energy (GeV)",1);
456  genpart_GammaB_energydist = dbe_->book1D("Gamma_Backward_EDistribution","Gen-Level Backward Gamma Energy",1500,0,1500);
457  genpart_GammaB_energydist->setAxisTitle("Energy (GeV)",1);
460 
461 
462 
463 
464 
465  }
466  }
467 }
MonitorElement * meZdcEneTHadP3_
MonitorElement * meZdcEnergyHit_
MonitorElement * meZdcEneTEmN1_
MonitorElement * genpart_NeutB
MonitorElement * genpart_Pi0F
MonitorElement * meZdcEneTEmP1_
MonitorElement * meZdcHadL10EneP_
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:942
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 * meZdcEneEmN2_
MonitorElement * meZdcEneTHadN1_
MonitorElement * meZdcEneTEmP3_
MonitorElement * genpart_NeutF_energydist
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
Definition: DQMStore.cc:1256
MonitorElement * meZdcDetectHit_
MonitorElement * meZdc10Ene_
MonitorElement * meZdcEneHadP4_
MonitorElement * meZdcEneTot_
MonitorElement * meZdcEneHadP3_
MonitorElement * genpart_GammaF
MonitorElement * meZdcEneTEmN3_
MonitorElement * meBadZdcSecHit_
MonitorElement * meZdcEneTHadP1_
MonitorElement * genpart_GammaB
MonitorElement * meZdcTimeHit_
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_
DQMStore * dbe_
MonitorElement * meZdcEneNTot_
MonitorElement * meZdcEneHadN2_
MonitorElement * meZdcEneHadPTot_
MonitorElement * meZdcEEMCh_
TH2F * getTH2F(void) const
MonitorElement * meZdcEneEmP1_
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:1070
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_
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:655
MonitorElement * meZdcETime_
MonitorElement * meZdcEMEnergyHit_
MonitorElement * meZdcNHitLum_
void ZdcSimHitStudy::endJob ( void  )
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 469 of file ZdcSimHitStudy.cc.

References dbe_, outFile_, and DQMStore::save().

469  {
470  if (dbe_ && outFile_.size() > 0) dbe_->save(outFile_);
471 }
std::string outFile_
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, const uint32_t lumi=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE", const bool resetMEsAfterWriting=false)
Definition: DQMStore.cc:2490
DQMStore * dbe_
void ZdcSimHitStudy::endRun ( const edm::Run run,
const edm::EventSetup c 
)
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 809 of file ZdcSimHitStudy.cc.

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

Definition at line 704 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().

704  {
705  enetot += enetot;
706  if(side == -1){
707  enetotN += energy;
708  if(section == HcalZDCDetId::EM){
709  enetotEmN += energy;
710  switch(channel){
711  case 1 :
714  break;
715  case 2 :
718  break;
719  case 3 :
722  break;
723  case 4 :
726  break;
727  case 5 :
730  break;
731  }
732  }
733  if(section == HcalZDCDetId::HAD){
734  enetotHadN += energy;
735  switch(channel){
736  case 1 :
739  break;
740  case 2 :
743  break;
744  case 3 :
747  break;
748  case 4 :
751  break;
752  }
753  }
754  }
755  if(side == 1){
756  enetotP += energy;
757  if(section == HcalZDCDetId::EM){
758  enetotEmP += energy;
759  switch(channel){
760  case 1 :
763  break;
764  case 2 :
767  break;
768  case 3 :
771  break;
772  case 4 :
775  break;
776  case 5 :
779  break;
780  }
781  }
782  if(section == HcalZDCDetId::HAD){
783  enetotHadP += energy;
784  switch(channel){
785  case 1 :
788  break;
789  case 2 :
792  break;
793  case 3 :
796  break;
797  case 4 :
800  break;
801  }
802  }
803  }
804  return 0;
805 }
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 85 of file ZdcSimHitStudy.h.

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

DQMStore* ZdcSimHitStudy::dbe_
private

Definition at line 86 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), beginJob(), endJob(), and ZdcSimHitStudy().

double ZdcSimHitStudy::enetot
private

Definition at line 72 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and FillHitValHist().

double ZdcSimHitStudy::enetotEmN
private

Definition at line 70 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and FillHitValHist().

double ZdcSimHitStudy::enetotEmP
private

Definition at line 71 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and FillHitValHist().

double ZdcSimHitStudy::enetotHadN
private

Definition at line 70 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and FillHitValHist().

double ZdcSimHitStudy::enetotHadP
private

Definition at line 71 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and FillHitValHist().

double ZdcSimHitStudy::enetotN
private

Definition at line 70 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and FillHitValHist().

double ZdcSimHitStudy::enetotP
private

Definition at line 71 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and FillHitValHist().

std::string ZdcSimHitStudy::g4Label
private

Definition at line 82 of file ZdcSimHitStudy.h.

Referenced by ZdcSimHitStudy().

MonitorElement* ZdcSimHitStudy::genpart_GammaB
private

Definition at line 120 of file ZdcSimHitStudy.h.

Referenced by analyze(), and beginJob().

MonitorElement* ZdcSimHitStudy::genpart_GammaB_energydist
private

Definition at line 121 of file ZdcSimHitStudy.h.

Referenced by analyze(), and beginJob().

MonitorElement* ZdcSimHitStudy::genpart_GammaF
private

Definition at line 118 of file ZdcSimHitStudy.h.

Referenced by analyze(), and beginJob().

MonitorElement* ZdcSimHitStudy::genpart_GammaF_energydist
private

Definition at line 119 of file ZdcSimHitStudy.h.

Referenced by analyze(), and beginJob().

MonitorElement* ZdcSimHitStudy::genpart_NeutB
private

Definition at line 116 of file ZdcSimHitStudy.h.

Referenced by analyze(), and beginJob().

MonitorElement* ZdcSimHitStudy::genpart_NeutB_energydist
private

Definition at line 117 of file ZdcSimHitStudy.h.

Referenced by analyze(), and beginJob().

MonitorElement* ZdcSimHitStudy::genpart_NeutF
private

Definition at line 114 of file ZdcSimHitStudy.h.

Referenced by analyze(), and beginJob().

MonitorElement* ZdcSimHitStudy::genpart_NeutF_energydist
private

Definition at line 115 of file ZdcSimHitStudy.h.

Referenced by analyze(), and beginJob().

MonitorElement* ZdcSimHitStudy::genpart_Pi0B
private

Definition at line 112 of file ZdcSimHitStudy.h.

Referenced by analyze(), and beginJob().

MonitorElement* ZdcSimHitStudy::genpart_Pi0B_energydist
private

Definition at line 113 of file ZdcSimHitStudy.h.

Referenced by analyze(), and beginJob().

MonitorElement* ZdcSimHitStudy::genpart_Pi0F
private

Definition at line 110 of file ZdcSimHitStudy.h.

Referenced by analyze(), and beginJob().

MonitorElement* ZdcSimHitStudy::genpart_Pi0F_energydist
private

Definition at line 111 of file ZdcSimHitStudy.h.

Referenced by analyze(), and beginJob().

MonitorElement* ZdcSimHitStudy::meAllZdcNHit_
private

Definition at line 88 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meBadZdcDetHit_
private

Definition at line 88 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meBadZdcIdHit_
private

Definition at line 88 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meBadZdcSecHit_
private

Definition at line 88 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meZdc10Ene_
private

Definition at line 90 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement* ZdcSimHitStudy::meZdc10EneP_
private

Definition at line 93 of file ZdcSimHitStudy.h.

MonitorElement * ZdcSimHitStudy::meZdcChannelHit_
private

Definition at line 91 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement* ZdcSimHitStudy::meZdcCorEEmNEHadN_
private

Definition at line 99 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement* ZdcSimHitStudy::meZdcCorEEmPEHadP_
private

Definition at line 105 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meZdcCorEtotNEtotP_
private

Definition at line 105 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meZdcDetectHit_
private

Definition at line 89 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meZdcEEMCh_
private

Definition at line 93 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meZdcEHadCh_
private

Definition at line 93 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meZdcEMEnergyHit_
private

Definition at line 92 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meZdcEML10EneP_
private

Definition at line 93 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement* ZdcSimHitStudy::meZdcEneEmN1_
private

Definition at line 94 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneEmN2_
private

Definition at line 94 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneEmN3_
private

Definition at line 94 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneEmN4_
private

Definition at line 94 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneEmN5_
private

Definition at line 94 of file ZdcSimHitStudy.h.

Referenced by beginJob().

MonitorElement * ZdcSimHitStudy::meZdcEneEmNTot_
private

Definition at line 98 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement* ZdcSimHitStudy::meZdcEneEmP1_
private

Definition at line 100 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneEmP2_
private

Definition at line 100 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneEmP3_
private

Definition at line 100 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneEmP4_
private

Definition at line 100 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneEmP5_
private

Definition at line 100 of file ZdcSimHitStudy.h.

Referenced by beginJob().

MonitorElement * ZdcSimHitStudy::meZdcEneEmPTot_
private

Definition at line 104 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement* ZdcSimHitStudy::meZdcEneHadN1_
private

Definition at line 95 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneHadN2_
private

Definition at line 95 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneHadN3_
private

Definition at line 95 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneHadN4_
private

Definition at line 95 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement* ZdcSimHitStudy::meZdcEneHadNTot_
private

Definition at line 98 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement* ZdcSimHitStudy::meZdcEneHadP1_
private

Definition at line 101 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneHadP2_
private

Definition at line 101 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneHadP3_
private

Definition at line 101 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneHadP4_
private

Definition at line 101 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement* ZdcSimHitStudy::meZdcEneHadPTot_
private

Definition at line 104 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meZdcEneNTot_
private

Definition at line 98 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meZdcEnePTot_
private

Definition at line 104 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meZdcEnergyHit_
private

Definition at line 91 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement* ZdcSimHitStudy::meZdcEneTEmN1_
private

Definition at line 96 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTEmN2_
private

Definition at line 96 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTEmN3_
private

Definition at line 96 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTEmN4_
private

Definition at line 96 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTEmN5_
private

Definition at line 96 of file ZdcSimHitStudy.h.

Referenced by beginJob().

MonitorElement* ZdcSimHitStudy::meZdcEneTEmP1_
private

Definition at line 102 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTEmP2_
private

Definition at line 102 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTEmP3_
private

Definition at line 102 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTEmP4_
private

Definition at line 102 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTEmP5_
private

Definition at line 102 of file ZdcSimHitStudy.h.

Referenced by beginJob().

MonitorElement* ZdcSimHitStudy::meZdcEneTHadN1_
private

Definition at line 97 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTHadN2_
private

Definition at line 97 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTHadN3_
private

Definition at line 97 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTHadN4_
private

Definition at line 97 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement* ZdcSimHitStudy::meZdcEneTHadP1_
private

Definition at line 103 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTHadP2_
private

Definition at line 103 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTHadP3_
private

Definition at line 103 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTHadP4_
private

Definition at line 103 of file ZdcSimHitStudy.h.

Referenced by beginJob(), and FillHitValHist().

MonitorElement * ZdcSimHitStudy::meZdcEneTot_
private

Definition at line 105 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meZdcETime_
private

Definition at line 89 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement* ZdcSimHitStudy::meZdcHadEnergyHit_
private

Definition at line 92 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meZdcHadL10EneP_
private

Definition at line 92 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement* ZdcSimHitStudy::meZdcNHit_
private

Definition at line 89 of file ZdcSimHitStudy.h.

MonitorElement* ZdcSimHitStudy::meZdcNHitEM_
private

Definition at line 90 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meZdcNHitHad_
private

Definition at line 90 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meZdcNHitLum_
private

Definition at line 90 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement* ZdcSimHitStudy::meZdcSectionHit_
private

Definition at line 91 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meZdcSideHit_
private

Definition at line 89 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meZdcTimeHit_
private

Definition at line 92 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

MonitorElement * ZdcSimHitStudy::meZdcTimeWHit_
private

Definition at line 91 of file ZdcSimHitStudy.h.

Referenced by analyzeHits(), and beginJob().

std::string ZdcSimHitStudy::outFile_
private

Definition at line 82 of file ZdcSimHitStudy.h.

Referenced by endJob(), and ZdcSimHitStudy().

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

Definition at line 83 of file ZdcSimHitStudy.h.

Referenced by analyze(), and ZdcSimHitStudy().

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

Definition at line 84 of file ZdcSimHitStudy.h.

Referenced by analyze(), and ZdcSimHitStudy().

bool ZdcSimHitStudy::verbose_
private

Definition at line 85 of file ZdcSimHitStudy.h.

Referenced by ZdcSimHitStudy().

std::string ZdcSimHitStudy::zdcHits
private

Definition at line 82 of file ZdcSimHitStudy.h.

Referenced by ZdcSimHitStudy().