CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Private Attributes
ZdcSimHitStudy Class Reference
Inheritance diagram for ZdcSimHitStudy:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Member Functions

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

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c) override
 
void analyzeHits (std::vector< PCaloHit > &)
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
int FillHitValHist (int side, int section, int channel, double energy, double time)
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 

Private Attributes

const bool checkHit_
 
double enetot
 
double enetotEmN
 
double enetotEmP
 
double enetotHadN
 
double enetotHadP
 
double enetotN
 
double enetotP
 
const std::string g4Label
 
MonitorElementgenpart_GammaB
 
MonitorElementgenpart_GammaB_counts
 
MonitorElementgenpart_GammaB_energydist
 
MonitorElementgenpart_GammaF
 
MonitorElementgenpart_GammaF_counts
 
MonitorElementgenpart_GammaF_energydist
 
MonitorElementgenpart_NeutB
 
MonitorElementgenpart_NeutB_counts
 
MonitorElementgenpart_NeutB_energydist
 
MonitorElementgenpart_NeutF
 
MonitorElementgenpart_NeutF_counts
 
MonitorElementgenpart_NeutF_energydist
 
MonitorElementgenpart_Pi0B
 
MonitorElementgenpart_Pi0B_counts
 
MonitorElementgenpart_Pi0B_energydist
 
MonitorElementgenpart_Pi0F
 
MonitorElementgenpart_Pi0F_counts
 
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_
 
const std::string outFile_
 
const edm::EDGetTokenT< reco::GenParticleCollectiontok_gen_
 
const edm::EDGetTokenT< edm::PCaloHitContainertok_hits_
 
const bool verbose_
 
const std::string zdcHits
 

Additional Inherited Members

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

Detailed Description

Definition at line 53 of file ZdcSimHitStudy.cc.

Constructor & Destructor Documentation

◆ ZdcSimHitStudy()

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

Definition at line 126 of file ZdcSimHitStudy.cc.

References checkHit_, g4Label, outFile_, and zdcHits.

127  : g4Label(ps.getUntrackedParameter<std::string>("moduleLabel", "g4SimHits")),
128  zdcHits(ps.getUntrackedParameter<std::string>("HitCollection", "ZdcHits")),
129  outFile_(ps.getUntrackedParameter<std::string>("outputFile", "zdcHitStudy.root")),
130  verbose_(ps.getUntrackedParameter<bool>("Verbose", false)),
131  checkHit_(true),
132  tok_gen_(consumes<reco::GenParticleCollection>(edm::InputTag("genParticles"))),
133  tok_hits_(consumes<edm::PCaloHitContainer>(edm::InputTag(g4Label, zdcHits))) {
134  edm::LogVerbatim("ZdcSimHitStudy") << "Module Label: " << g4Label << " Hits: " << zdcHits << " / " << checkHit_
135  << " Output: " << outFile_;
136 }
Log< level::Info, true > LogVerbatim
const std::string g4Label
T getUntrackedParameter(std::string const &, T const &) const
const bool verbose_
const bool checkHit_
const edm::EDGetTokenT< edm::PCaloHitContainer > tok_hits_
const edm::EDGetTokenT< reco::GenParticleCollection > tok_gen_
const std::string zdcHits
const std::string outFile_

◆ ~ZdcSimHitStudy()

ZdcSimHitStudy::~ZdcSimHitStudy ( )
overridedefault

Member Function Documentation

◆ analyze()

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

GEN PARTICLE HISTOS///////////////////////////////////

Reimplemented from DQMEDAnalyzer.

Definition at line 615 of file ZdcSimHitStudy.cc.

References analyzeHits(), checkHit_, reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), dqm::impl::MonitorElement::Fill(), relval_steps::gen(), genpart_GammaB, genpart_GammaB_counts, genpart_GammaB_energydist, genpart_GammaF, genpart_GammaF_counts, genpart_GammaF_energydist, genpart_NeutB, genpart_NeutB_counts, genpart_NeutB_energydist, genpart_NeutF, genpart_NeutF_counts, genpart_NeutF_energydist, genpart_Pi0B, genpart_Pi0B_counts, genpart_Pi0B_energydist, genpart_Pi0F, genpart_Pi0F_counts, genpart_Pi0F_energydist, GenParticle::GenParticle, iEvent, edm::HandleBase::isValid(), reco::LeafCandidate::pdgId(), reco::LeafCandidate::phi(), tok_gen_, and tok_hits_.

615  {
617 
618  using namespace edm;
619  bool gotGenParticles = true;
620 
621  const edm::Handle<reco::GenParticleCollection> &genhandle = iEvent.getHandle(tok_gen_);
622 
623  if (!(genhandle.isValid())) {
624  gotGenParticles = false; // this is the same kind of boolean except for the
625  }
626 
627  // Handle<edm::PCaloHitContainer> zdcsimhandle;
628 
631 
632  if (gotGenParticles) { // if the boolean was able to find the leaf
633  // "genparticles" then do this
634  for (reco::GenParticleCollection::const_iterator gen = genhandle->begin(); gen != genhandle->end();
635  ++gen) // here we iterate over all generated particles
636  {
637  // double energy=gen->energy();
638  reco::GenParticle thisParticle = (reco::GenParticle)(*gen); // get the particle "gen" points to
639  double energy_2 = thisParticle.energy(); // here I grab some of the attributes of the generated
640  // particle....like its energy, its phi and its eta and
641  // what kind of particle it is
642  double gen_phi = thisParticle.phi();
643  double gen_eta = thisParticle.eta();
644  int gen_id = thisParticle.pdgId();
645 
646  if (gen_id == 111) { // here i require a pi0
647  if (gen_eta > 8.3) { // eta requirement
648 
650  //# IMPORTANT IMPORTANT IMPORTANT IMPORTANT #
651  //# The real eta of the ZDC is |eta| > 8.3, I have only changed it
652  // here to 3 because# # in the PG simulation the ZDC is at an eta of
653  // about 4.5-7, in the real GEANT the # # ZDC is in its appropriate
654  // place at the very foward region...please edit this if # # looking
655  // at MinBias data or the like # # # # IMPORTANT IMPORTANT
656  // IMPORTANT IMPORTANT #
658 
659  genpart_Pi0F->Fill(gen_eta, gen_phi, energy_2); // fill the lego plot
660  genpart_Pi0F_counts->Fill(gen_eta, gen_phi, 1);
661  // genpart_Pi0F_profile->Fill(gen_eta,gen_phi,energy_2);
662  genpart_Pi0F_energydist->Fill(energy_2); // fill the 1D distribution
663  }
664  if (gen_eta < -8.3) { // neg eta requirement
665  genpart_Pi0B->Fill(gen_eta, gen_phi, energy_2);
666  // genpart_Pi0B_profile->Fill(gen_eta,gen_phi,energy_2);
667  genpart_Pi0B_counts->Fill(gen_eta, gen_phi, 1);
668  genpart_Pi0B_energydist->Fill(energy_2);
669  }
670  }
671  if (gen_id == 2112) { // require neutron
672  if (gen_eta > 8.3) {
673  genpart_NeutF->Fill(gen_eta, gen_phi, energy_2);
674  // genpart_NeutF_profile->Fill(gen_eta,gen_phi,energy_2);
675  genpart_NeutF_counts->Fill(gen_eta, gen_phi, 1);
676  genpart_NeutF_energydist->Fill(energy_2);
677  }
678  if (gen_eta < -8.3) {
679  genpart_NeutB->Fill(gen_eta, gen_phi, energy_2);
680  // genpart_NeutB_profile->Fill(gen_eta,gen_phi,energy_2);
681  genpart_NeutB_counts->Fill(gen_eta, gen_phi, 1);
682  genpart_NeutB_energydist->Fill(energy_2);
683  }
684  }
685 
686  if (gen_id == 22) { // require gamma
687  if (gen_eta > 8.3) {
688  genpart_GammaF->Fill(gen_eta, gen_phi, energy_2);
689  // genpart_GammaF_profile->Fill(gen_eta,gen_phi,energy_2);
690  genpart_GammaF_counts->Fill(gen_eta, gen_phi, 1);
691  genpart_GammaF_energydist->Fill(energy_2);
692  }
693  if (gen_eta < -8.3) {
694  genpart_GammaB->Fill(gen_eta, gen_phi, energy_2);
695  // genpart_GammaB_profile->Fill(gen_eta,gen_phi,energy_2);
696  genpart_GammaB_counts->Fill(gen_eta, gen_phi, 1);
697  genpart_GammaB_energydist->Fill(energy_2);
698  }
699  }
700 
701  } // end of GEN loop
702  }
703 
705 
706  // Below is the old script which I will comment later
707 
708  edm::LogVerbatim("ZdcSimHitStudy") << "Run = " << iEvent.id().run() << " Event = " << iEvent.id().event();
709 
710  bool getHits = false;
711  if (checkHit_) {
712  const edm::Handle<edm::PCaloHitContainer> &hitsZdc = iEvent.getHandle(tok_hits_);
713  if (hitsZdc.isValid()) {
714  getHits = true;
715  std::vector<PCaloHit> caloHits;
716  caloHits.insert(caloHits.end(), hitsZdc->begin(), hitsZdc->end());
717  edm::LogVerbatim("ZdcSimHitStudy") << "ZdcValidation: Hit buffer " << caloHits.size();
718  analyzeHits(caloHits);
719  }
720  }
721 
722  edm::LogVerbatim("ZdcSim") << "ZdcValidation: Input flags Hits " << getHits;
723 }
Log< level::Info, true > LogVerbatim
MonitorElement * genpart_NeutB
void analyzeHits(std::vector< PCaloHit > &)
MonitorElement * genpart_Pi0F
MonitorElement * genpart_Pi0F_energydist
MonitorElement * genpart_GammaF_counts
MonitorElement * genpart_NeutF
MonitorElement * genpart_Pi0B
int pdgId() const final
PDG identifier.
void Fill(long long x)
MonitorElement * genpart_Pi0B_counts
int iEvent
Definition: GenABIO.cc:224
MonitorElement * genpart_GammaB_energydist
MonitorElement * genpart_Pi0F_counts
const bool checkHit_
MonitorElement * genpart_GammaF_energydist
MonitorElement * genpart_NeutF_energydist
def gen(fragment, howMuch)
Production test section ####.
MonitorElement * genpart_GammaF
MonitorElement * genpart_GammaB
const edm::EDGetTokenT< edm::PCaloHitContainer > tok_hits_
MonitorElement * genpart_NeutB_energydist
MonitorElement * genpart_NeutF_counts
const edm::EDGetTokenT< reco::GenParticleCollection > tok_gen_
bool isValid() const
Definition: HandleBase.h:70
MonitorElement * genpart_Pi0B_energydist
HLT enums.
MonitorElement * genpart_GammaB_counts
MonitorElement * genpart_NeutB_counts
double phi() const final
momentum azimuthal angle
double energy() const final
energy
double eta() const final
momentum pseudorapidity

◆ analyzeHits()

void ZdcSimHitStudy::analyzeHits ( std::vector< PCaloHit > &  hits)
protected

Definition at line 725 of file ZdcSimHitStudy.cc.

References TauDecayModes::dec, HcalZDCDetId::EM, hcalRecHitTable_cff::energy, enetot, enetotEmN, enetotEmP, enetotHadN, enetotHadP, enetotN, enetotP, dqm::impl::MonitorElement::Fill(), FillHitValHist(), HcalZDCDetId::HAD, hfClusterShapes_cfi::hits, mps_fire::i, createfilelist::int, 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_, hgcalPlots::section, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::side(), and hcalRecHitTable_cff::time.

Referenced by analyze().

725  {
726  int nHit = hits.size();
727  int nZdcEM = 0, nZdcHad = 0, nZdcLum = 0;
728  int nBad1 = 0, nBad2 = 0, nBad = 0;
729  std::vector<double> encontZdcEM(140, 0.);
730  std::vector<double> encontZdcHad(140, 0.);
731  double entotZdcEM = 0;
732  double entotZdcHad = 0;
733 
734  enetotEmN = 0;
735  enetotHadN = 0.;
736  enetotN = 0;
737  enetotEmP = 0;
738  enetotHadP = 0;
739  enetotP = 0;
740  enetot = 0;
741 
742  for (int i = 0; i < nHit; i++) {
743  double energy = hits[i].energy();
744  double log10en = log10(energy);
745  int log10i = int((log10en + 10.) * 10.);
746  double time = hits[i].time();
747  unsigned int id_ = hits[i].id();
748  HcalZDCDetId id = HcalZDCDetId(id_);
749  int det = id.det();
750  int side = id.zside();
751  int section = id.section();
752  int channel = id.channel();
753 
754  FillHitValHist(side, section, channel, energy, time);
755 
756  edm::LogVerbatim("ZdcSimHitStudy") << "Hit[" << i << "] ID " << std::hex << id_ << std::dec << " DetID " << id
757  << " Det " << det << " side " << side << " Section " << section << " channel "
758  << channel << " E " << energy << " time \n"
759  << time;
760 
761  if (det == 5) { // Check DetId.h
762  if (section == HcalZDCDetId::EM)
763  nZdcEM++;
764  else if (section == HcalZDCDetId::HAD)
765  nZdcHad++;
766  else if (section == HcalZDCDetId::LUM)
767  nZdcLum++;
768  else {
769  nBad++;
770  nBad2++;
771  }
772  } else {
773  nBad++;
774  nBad1++;
775  }
776 
777  meZdcDetectHit_->Fill(double(det));
778  if (det == 5) {
779  meZdcSideHit_->Fill(double(side));
780  meZdcSectionHit_->Fill(double(section));
781  meZdcChannelHit_->Fill(double(channel));
783  if (section == HcalZDCDetId::EM) {
785  meZdcEEMCh_->Fill(energy, channel);
786  if (log10i >= 0 && log10i < 140)
787  encontZdcEM[log10i] += energy;
788  entotZdcEM += energy;
789  }
790  if (section == HcalZDCDetId::HAD) {
792  meZdcEHadCh_->Fill(energy, channel);
793  if (log10i >= 0 && log10i < 140)
794  encontZdcHad[log10i] += energy;
795  entotZdcHad += energy;
796  }
798  meZdcTimeWHit_->Fill(double(time), energy);
799  meZdc10Ene_->Fill(log10en);
800  meZdcETime_->Fill(energy, double(time));
801  }
802  }
803 
804  if (entotZdcEM != 0)
805  for (int i = 0; i < 140; i++)
806  meZdcEML10EneP_->Fill(-10. + (float(i) + 0.5) / 10., encontZdcEM[i] / entotZdcEM);
807  if (entotZdcHad != 0)
808  for (int i = 0; i < 140; i++)
809  meZdcHadL10EneP_->Fill(-10. + (float(i) + 0.5) / 10., encontZdcHad[i] / entotZdcHad);
810 
811  if (nHit > 0) {
812  meAllZdcNHit_->Fill(double(nHit));
813  meBadZdcDetHit_->Fill(double(nBad1));
814  meBadZdcSecHit_->Fill(double(nBad2));
815  meBadZdcIdHit_->Fill(double(nBad));
816  meZdcNHitEM_->Fill(double(nZdcEM));
817  meZdcNHitHad_->Fill(double(nZdcHad));
818  meZdcNHitLum_->Fill(double(nZdcLum));
829  }
830  edm::LogVerbatim("HcalSimHitStudy") << "HcalSimHitStudy::analyzeHits: Had " << nZdcHad << " EM " << nZdcEM << " Bad "
831  << nBad << " All " << nHit;
832 }
Log< level::Info, true > LogVerbatim
MonitorElement * meZdcEnergyHit_
MonitorElement * meZdcHadL10EneP_
MonitorElement * meZdcEneEmPTot_
MonitorElement * meZdcCorEEmNEHadN_
MonitorElement * meAllZdcNHit_
MonitorElement * meZdcEneEmNTot_
void Fill(long long x)
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_

◆ bookHistograms()

void ZdcSimHitStudy::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  run,
edm::EventSetup const &  es 
)
overrideprotectedvirtual

GenParticle Plots///////////////////////////////////////
GEN Particle Energy Distributions/////////////////////

Implements DQMEDAnalyzer.

Definition at line 138 of file ZdcSimHitStudy.cc.

References checkHit_, genpart_GammaB, genpart_GammaB_counts, genpart_GammaB_energydist, genpart_GammaF, genpart_GammaF_counts, genpart_GammaF_energydist, genpart_NeutB, genpart_NeutB_counts, genpart_NeutB_energydist, genpart_NeutF, genpart_NeutF_counts, genpart_NeutF_energydist, genpart_Pi0B, genpart_Pi0B_counts, genpart_Pi0B_energydist, genpart_Pi0F, genpart_Pi0F_counts, genpart_Pi0F_energydist, dqm::impl::MonitorElement::getTH2F(), cuy::ib, 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_, dqm::impl::MonitorElement::setAxisTitle(), and dqm::impl::MonitorElement::setOption().

138  {
139  ib.setCurrentFolder("ZDCValidation");
140  // Histograms for Hits
142  //# Below we are filling the histograms made in the .h file. The syntax is as
143  // follows: # # plot_code_name =
144  // ib.TypeofPlot[(1,2,3)-D,(F,I,D)]("Name as it will appear","Title",axis
145  // options); # # They will be stored in the TFile
146  // subdirectory set by : ib.setCurrentFolder("FolderIwant") # # axis
147  // options are like (#ofbins,min,max) #
149 
150  if (checkHit_) {
152  ib.setCurrentFolder("ZDCValidation/ZdcSimHits");
153  meAllZdcNHit_ = ib.book1D("ZDC Hits", "Number of All Hits in ZDC", 100, 0., 100.);
154  meAllZdcNHit_->setAxisTitle("Total Hits", 1);
155  meAllZdcNHit_->setAxisTitle("Counts", 2);
157  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/Excess_Info/Debug_Helper");
158  meBadZdcDetHit_ = ib.book1D("Hiits with the wrong Det", "Hits with wrong Det in ZDC", 100, 0., 100.);
159  meBadZdcDetHit_->setAxisTitle("Wrong Hits", 1);
160  meBadZdcDetHit_->setAxisTitle("Counts", 2);
162  meBadZdcSecHit_ = ib.book1D("Wrong Section Hits", "Hits with wrong Section in ZDC", 100, 0., 100.);
163  meBadZdcSecHit_->setAxisTitle("Hits in wrong section", 1);
164  meBadZdcSecHit_->setAxisTitle("Counts", 2);
166  meBadZdcIdHit_ = ib.book1D("Wrong_ID_Hits", "Hits with wrong ID in ZDC", 100, 0., 100.);
167  meBadZdcIdHit_->setAxisTitle("Hits with wrong ID", 1);
168  meBadZdcIdHit_->setAxisTitle("Counts", 2);
170  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/Excess_Info/BasicHitInfo");
171  meZdcNHitEM_ = ib.book1D("Hits in EM", "Number of Hits in ZDC EM", 100, 0., 100.);
172  meZdcNHitEM_->setAxisTitle("EM Hits", 1);
173  meZdcNHitEM_->setAxisTitle("Counts", 2);
175  meZdcNHitHad_ = ib.book1D("Hits in HAD", "Number of Hits in ZDC Had", 100, 0., 100.);
176  meZdcNHitHad_->setAxisTitle("HAD Hits", 1);
177  meZdcNHitHad_->setAxisTitle("Counts", 2);
179  meZdcNHitLum_ = ib.book1D("Hits in LUM", "Number of Hits in ZDC Lum", 100, 0., 100.);
180  meZdcNHitLum_->setAxisTitle("LUM Hits", 1);
181  meZdcNHitLum_->setAxisTitle("Counts", 2);
183  meZdcDetectHit_ = ib.book1D("Calo Detector ID", "Calo Detector ID", 50, 0., 50.);
184  meZdcDetectHit_->setAxisTitle("Detector Hits", 1);
185  meZdcDetectHit_->setAxisTitle("Counts", 2);
187  meZdcSideHit_ = ib.book1D("ZDC Side", "Side in ZDC", 4, -2, 2.);
188  meZdcSideHit_->setAxisTitle("ZDC Side", 1);
189  meZdcSideHit_->setAxisTitle("Counts", 2);
191  meZdcSectionHit_ = ib.book1D("ZDC Section", "Section in ZDC", 4, 0., 4.);
192  meZdcSectionHit_->setAxisTitle("ZDC Section", 1);
193  meZdcSectionHit_->setAxisTitle("Counts", 2);
195  meZdcChannelHit_ = ib.book1D("ZDC Channel", "Channel in ZDC", 10, 0., 10.);
196  meZdcChannelHit_->setAxisTitle("ZDC Channel", 1);
197  meZdcChannelHit_->setAxisTitle("Counts", 2);
199  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/");
200  meZdcEnergyHit_ = ib.book1D("Hit Energy", "Hits Energy", 4000, 0., 8000.);
201  meZdcEnergyHit_->setAxisTitle("Counts", 2);
202  meZdcEnergyHit_->setAxisTitle("Energy (GeV)", 1);
204  meZdcHadEnergyHit_ = ib.book1D("Hit Energy HAD", "Hits Energy in Had Section", 4000, 0., 8000.);
205  meZdcHadEnergyHit_->setAxisTitle("Counts", 2);
206  meZdcHadEnergyHit_->setAxisTitle("Energy (GeV)", 1);
208  meZdcEMEnergyHit_ = ib.book1D("Hit Energy EM", "Hits Energy in EM Section", 4000, 0., 8000.);
209  meZdcEMEnergyHit_->setAxisTitle("Counts", 2);
210  meZdcEMEnergyHit_->setAxisTitle("Energy (GeV)", 1);
212  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/Excess_Info/BasicHitInfo");
213  meZdcTimeHit_ = ib.book1D("Time in ZDC", "Time in ZDC", 300, 0., 600.);
214  meZdcTimeHit_->setAxisTitle("Time (ns)", 1);
215  meZdcTimeHit_->setAxisTitle("Counts", 2);
217  meZdcTimeWHit_ = ib.book1D("Energy Weighted Time in ZDC", "Time in ZDC (E wtd)", 300, 0., 600.);
218  meZdcTimeWHit_->setAxisTitle("Time (ns)", 1);
219  meZdcTimeWHit_->setAxisTitle("Counts", 2);
221  meZdc10Ene_ = ib.book1D("ZDC Log(E)", "Log10Energy in ZDC", 140, -20., 20.);
222  meZdc10Ene_->setAxisTitle("Log(E) (GeV)", 1);
223  meZdc10Ene_->setAxisTitle("Counts", 2);
225  meZdcHadL10EneP_ = ib.bookProfile(
226  "Log(EHAD) vs Contribution", "Log10Energy in Had ZDC vs Hit contribution", 140, -1., 20., 100, 0., 1.);
227  meZdcHadL10EneP_->setAxisTitle("Log(EHAD) (GeV)", 1);
228  meZdcHadL10EneP_->setAxisTitle("Counts", 2);
230  meZdcEML10EneP_ = ib.bookProfile(
231  "Log(EEM) vs Contribution", "Log10Energy in EM ZDC vs Hit contribution", 140, -1., 20., 100, 0., 1.);
232  meZdcEML10EneP_->setAxisTitle("Log(EEM) (GeV)", 1);
233  meZdcEML10EneP_->setAxisTitle("Counts", 2);
235  ib.setCurrentFolder("ZDCValidation/ZdcSimHits");
236  meZdcEHadCh_ = ib.book2D("ZDC EHAD vs Channel", "ZDC Had Section Energy vs Channel", 4000, 0., 8000., 6, 0., 6.);
237  meZdcEHadCh_->setAxisTitle("Hadronic Channel Number", 2);
238  meZdcEHadCh_->setAxisTitle("Energy (GeV)", 1);
240  meZdcEEMCh_ = ib.book2D("ZDC EEM vs Channel", "ZDC EM Section Energy vs Channel", 4000, 0., 8000., 6, 0., 6.);
241  meZdcEEMCh_->setAxisTitle("EM Channel Number", 2);
242  meZdcEEMCh_->setAxisTitle("Energy (GeV)", 1);
244  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/Excess_Info/BasicHitInfo");
245  meZdcETime_ = ib.book2D("E vs T", "Hits ZDC Energy vs Time", 4000, 0., 8000., 300, 0., 600.);
246  meZdcETime_->setAxisTitle("Energy (GeV)", 1);
247  meZdcETime_->setAxisTitle("Time (ns)", 2);
249  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS/Individual_Channels/NZDC");
250  meZdcEneEmN1_ = ib.book1D("NZDC EM1 Energy", "Energy EM module N1", 4000, 0., 8000.);
251  meZdcEneEmN1_->setAxisTitle("Energy (GeV)", 1);
252  meZdcEneEmN1_->setAxisTitle("Counts", 2);
254  meZdcEneEmN2_ = ib.book1D("NZDC EM2 Energy", "Energy EM module N2", 4000, 0., 8000.);
255  meZdcEneEmN2_->setAxisTitle("Energy (GeV)", 1);
256  meZdcEneEmN2_->setAxisTitle("Counts", 2);
258  meZdcEneEmN3_ = ib.book1D("NZDC EM3 Energy", "Energy EM module N3", 4000, 0., 8000.);
259  meZdcEneEmN3_->setAxisTitle("Energy (GeV)", 1);
260  meZdcEneEmN3_->setAxisTitle("Counts", 2);
262  meZdcEneEmN4_ = ib.book1D("NZDC EM4 Energy", "Energy EM module N4", 4000, 0., 8000.);
263  meZdcEneEmN4_->setAxisTitle("Energy (GeV)", 1);
264  meZdcEneEmN4_->setAxisTitle("Counts", 2);
266  meZdcEneEmN5_ = ib.book1D("NZDC EM5 Energy", "Energy EM module N5", 4000, 0., 8000.);
267  meZdcEneEmN5_->setAxisTitle("Energy (GeV)", 1);
268  meZdcEneEmN5_->setAxisTitle("Counts", 2);
270  meZdcEneHadN1_ = ib.book1D("NZDC HAD1 Energy", "Energy HAD module N1", 4000, 0., 8000.);
271  meZdcEneHadN1_->setAxisTitle("Energy (GeV)", 1);
272  meZdcEneHadN1_->setAxisTitle("Counts", 2);
274  meZdcEneHadN2_ = ib.book1D("NZDC HAD2 Energy", "Energy HAD module N2", 4000, 0., 8000.);
275  meZdcEneHadN2_->setAxisTitle("Energy (GeV)", 1);
276  meZdcEneHadN2_->setAxisTitle("Counts", 2);
278  meZdcEneHadN3_ = ib.book1D("NZDC HAD3 Energy", "Energy HAD module N3", 4000, 0., 8000.);
279  meZdcEneHadN3_->setAxisTitle("Energy (GeV)", 1);
280  meZdcEneHadN3_->setAxisTitle("Counts", 2);
282  meZdcEneHadN4_ = ib.book1D("NZDC HAD4 Energy", "Energy HAD module N4", 4000, 0., 8000.);
283  meZdcEneHadN4_->setAxisTitle("Energy (GeV)", 1);
284  meZdcEneHadN4_->setAxisTitle("Counts", 2);
286  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/Excess_Info/Individual_ChannelvsTime/NZDC");
287  meZdcEneTEmN1_ = ib.book2D("NZDC EM1 Energy vs Time", "Energy EM mod N1 vs Time", 4000, 0., 8000., 300, 0., 600.);
288  meZdcEneTEmN1_->setAxisTitle("Energy (GeV)", 1);
289  meZdcEneTEmN1_->setAxisTitle("Time (ns)", 2);
291  meZdcEneTEmN2_ = ib.book2D("NZDC EM2 Energy vs Time", "Energy EM mod N2 vs Time", 4000, 0., 8000., 300, 0., 600.);
292  meZdcEneTEmN2_->setAxisTitle("Energy (GeV)", 1);
293  meZdcEneTEmN2_->setAxisTitle("Time (ns)", 2);
295  meZdcEneTEmN3_ = ib.book2D("NZDC EM3 Energy vs Time", "Energy EM mod N3 vs Time", 4000, 0., 8000., 300, 0., 600.);
296  meZdcEneTEmN3_->setAxisTitle("Energy (GeV)", 1);
297  meZdcEneTEmN3_->setAxisTitle("Time (ns)", 2);
299  meZdcEneTEmN4_ = ib.book2D("NZDC EM4 Energy vs Time", "Energy EM mod N4 vs Time", 4000, 0., 8000., 300, 0., 600.);
300  meZdcEneTEmN4_->setAxisTitle("Energy (GeV)", 1);
301  meZdcEneTEmN4_->setAxisTitle("Time (ns)", 2);
303  meZdcEneTEmN5_ = ib.book2D("NZDC EM5 Energy vs Time", "Energy EM mod N5 vs Time", 4000, 0., 8000., 300, 0., 600.);
304  meZdcEneTEmN5_->setAxisTitle("Energy (GeV)", 1);
305  meZdcEneTEmN5_->setAxisTitle("Time (ns)", 2);
308  ib.book2D("NZDC HAD1 Energy vs Time", "Energy HAD mod N1 vs Time", 4000, 0., 8000., 300, 0., 600.);
309  meZdcEneTHadN1_->setAxisTitle("Energy (GeV)", 1);
310  meZdcEneTHadN1_->setAxisTitle("Time (ns)", 2);
313  ib.book2D("NZDC HAD2 Energy vs Time", "Energy HAD mod N2 vs Time", 4000, 0., 8000., 300, 0., 600.);
314  meZdcEneTHadN2_->setAxisTitle("Energy (GeV)", 1);
315  meZdcEneTHadN2_->setAxisTitle("Time (ns)", 2);
318  ib.book2D("NZDC HAD3 Energy vs Time", "Energy HAD mod N3 vs Time", 4000, 0., 8000., 300, 0., 600.);
319  meZdcEneTHadN3_->setAxisTitle("Energy (GeV)", 1);
320  meZdcEneTHadN3_->setAxisTitle("Time (ns)", 2);
323  ib.book2D("NZDC HAD4 Energy vs Time", "Energy HAD mod N4 vs Time", 4000, 0., 8000., 300, 0., 600.);
324  meZdcEneTHadN4_->setAxisTitle("Energy (GeV)", 1);
325  meZdcEneTHadN4_->setAxisTitle("Time (ns)", 2);
327  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS/NZDC");
328  meZdcEneHadNTot_ = ib.book1D("NZDC EHAD", "Total N-ZDC HAD Energy", 4000, 0., 4000.);
329  meZdcEneHadNTot_->setAxisTitle("Counts", 2);
330  meZdcEneHadNTot_->setAxisTitle("Energy (GeV)", 1);
332  meZdcEneEmNTot_ = ib.book1D("NZDC EEM", "Total N-ZDC EM Energy", 3000, 0., 3000.);
333  meZdcEneEmNTot_->setAxisTitle("Counts", 2);
334  meZdcEneEmNTot_->setAxisTitle("Energy (GeV)", 1);
336  meZdcEneNTot_ = ib.book1D("NZDC ETOT", "Total N-ZDC Energy ", 7000, 0., 7000.);
337  meZdcEneNTot_->setAxisTitle("Counts", 2);
338  meZdcEneNTot_->setAxisTitle("Energy (GeV)", 1);
340  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS/Individual_Channels/PZDC");
341  meZdcEneEmP1_ = ib.book1D("PZDC EM1 Energy", "Energy EM module P1", 3000, 0., 3000.);
342  meZdcEneEmP1_->setAxisTitle("Energy (GeV)", 1);
343  meZdcEneEmP1_->setAxisTitle("Counts", 2);
345  meZdcEneEmP2_ = ib.book1D("PZDC EM2 Energy", "Energy EM module P2", 3000, 0., 3000.);
346  meZdcEneEmP2_->setAxisTitle("Energy (GeV)", 1);
347  meZdcEneEmP2_->setAxisTitle("Counts", 2);
349  meZdcEneEmP3_ = ib.book1D("PZDC EM3 Energy", "Energy EM module P3", 3000, 0., 3000.);
350  meZdcEneEmP3_->setAxisTitle("Energy (GeV)", 1);
351  meZdcEneEmP3_->setAxisTitle("Counts", 2);
353  meZdcEneEmP4_ = ib.book1D("PZDC EM4 Energy", "Energy EM module P4", 3000, 0., 3000.);
354  meZdcEneEmP4_->setAxisTitle("Energy (GeV)", 1);
355  meZdcEneEmP4_->setAxisTitle("Counts", 2);
357  meZdcEneEmP5_ = ib.book1D("PZDC EM5 Energy", "Energy EM module P5", 3000, 0., 3000.);
358  meZdcEneEmP5_->setAxisTitle("Energy (GeV)", 1);
359  meZdcEneEmP5_->setAxisTitle("Counts", 2);
361  meZdcEneHadP1_ = ib.book1D("PZDC HAD1 Energy", "Energy HAD module P1", 3000, 0., 3000.);
362  meZdcEneHadP1_->setAxisTitle("Energy (GeV)", 1);
363  meZdcEneHadP1_->setAxisTitle("Counts", 2);
365  meZdcEneHadP2_ = ib.book1D("PZDC HAD2 Energy", "Energy HAD module P2", 3000, 0., 3000.);
366  meZdcEneHadP2_->setAxisTitle("Energy (GeV)", 1);
367  meZdcEneHadP2_->setAxisTitle("Counts", 2);
369  meZdcEneHadP3_ = ib.book1D("PZDC HAD3 Energy", "Energy HAD module P3", 3000, 0., 3000.);
370  meZdcEneHadP3_->setAxisTitle("Energy (GeV)", 1);
371  meZdcEneHadP3_->setAxisTitle("Counts", 2);
373  meZdcEneHadP4_ = ib.book1D("PZDC HAD4 Energy", "Energy HAD module P4", 3000, 0., 3000.);
374  meZdcEneHadP4_->setAxisTitle("Energy (GeV)", 1);
375  meZdcEneHadP4_->setAxisTitle("Counts", 2);
377  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/Excess_Info/Individual_ChannelvsTime/PZDC");
378  meZdcEneTEmP1_ = ib.book2D("PZDC EM1 Energy vs Time", "Energy EM mod P1 vs Time", 4000, 0., 8000., 300, 0., 600.);
379  meZdcEneTEmP1_->setAxisTitle("Energy (GeV)", 1);
380  meZdcEneTEmP1_->setAxisTitle("Time (ns)", 2);
382  meZdcEneTEmP2_ = ib.book2D("PZDC EM2 Energy vs Time", "Energy EM mod P2 vs Time", 4000, 0., 8000., 300, 0., 600.);
383  meZdcEneTEmP2_->setAxisTitle("Energy (GeV)", 1);
384  meZdcEneTEmP2_->setAxisTitle("Time (ns)", 2);
386  meZdcEneTEmP3_ = ib.book2D("PZDC EM3 Energy vs Time", "Energy EM mod P3 vs Time", 4000, 0., 8000., 300, 0., 600.);
387  meZdcEneTEmP3_->setAxisTitle("Energy (GeV)", 1);
388  meZdcEneTEmP3_->setAxisTitle("Time (ns)", 2);
390  meZdcEneTEmP4_ = ib.book2D("PZDC EM4 Energy vs Time", "Energy EM mod P4 vs Time", 4000, 0., 8000., 300, 0., 600.);
391  meZdcEneTEmP4_->setAxisTitle("Energy (GeV)", 1);
392  meZdcEneTEmP4_->setAxisTitle("Time (ns)", 2);
394  meZdcEneTEmP5_ = ib.book2D("PZDC EM5 Energy vs Time", "Energy EM mod P5 vs Time", 4000, 0., 8000., 300, 0., 600.);
395  meZdcEneTEmP5_->setAxisTitle("Energy (GeV)", 1);
396  meZdcEneTEmP5_->setAxisTitle("Time (ns)", 2);
399  ib.book2D("PZDC HAD1 Energy vs Time", "Energy HAD mod P1 vs Time", 4000, 0., 8000., 300, 0., 600.);
400  meZdcEneTHadP1_->setAxisTitle("Energy (GeV)", 1);
401  meZdcEneTHadP1_->setAxisTitle("Time (ns)", 2);
404  ib.book2D("PZDC HAD2 Energy vs Time", "Energy HAD mod P2 vs Time", 4000, 0., 8000., 300, 0., 600.);
405  meZdcEneTHadP2_->setAxisTitle("Energy (GeV)", 1);
406  meZdcEneTHadP2_->setAxisTitle("Time (ns)", 2);
409  ib.book2D("PZDC HAD3 Energy vs Time", "Energy HAD mod P3 vs Time", 4000, 0., 8000., 300, 0., 600.);
410  meZdcEneTHadP3_->setAxisTitle("Energy (GeV)", 1);
411  meZdcEneTHadP3_->setAxisTitle("Time (ns)", 2);
414  ib.book2D("PZDC HAD4 Energy vs Time", "Energy HAD mod P4 vs Time", 4000, 0., 8000., 300, 0., 600.);
415  meZdcEneTHadP4_->setAxisTitle("Energy (GeV)", 1);
416  meZdcEneTHadP4_->setAxisTitle("Time (ns)", 2);
418  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS/PZDC");
419  meZdcEneHadPTot_ = ib.book1D("PZDC EHAD", "Total P-ZDC HAD Energy", 10000, 0., 10000.);
420  meZdcEneHadPTot_->setAxisTitle("Energy (GeV)", 1);
421  meZdcEneHadPTot_->setAxisTitle("Counts", 2);
423  meZdcEneEmPTot_ = ib.book1D("PZDC EEM", "Total P-ZDC EM Energy", 10000, 0., 10000.);
424  meZdcEneEmPTot_->setAxisTitle("Energy (GeV)", 1);
425  meZdcEneEmPTot_->setAxisTitle("Counts", 2);
427  meZdcEnePTot_ = ib.book1D("PZDC ETOT", "Total P-ZDC Energy", 10000, 0., 10000.);
428  meZdcEnePTot_->setAxisTitle("Energy (GeV)", 1);
429  meZdcEnePTot_->setAxisTitle("Counts", 2);
431  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS/NZDC");
432  meZdcCorEEmNEHadN_ = ib.book2D("NZDC EMvHAD", "N-ZDC Energy EM vs HAD", 3000, 0., 3000., 3000, 0., 3000.);
433  meZdcCorEEmNEHadN_->setAxisTitle("EM Energy (GeV)", 1);
434  meZdcCorEEmNEHadN_->setAxisTitle("HAD Energy (GeV)", 2);
436  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS/PZDC");
437  meZdcCorEEmPEHadP_ = ib.book2D("PZDC EMvHAD", "P-ZDC Energy EM vs HAD", 3000, 0., 3000., 3000, 0., 3000.);
438  meZdcCorEEmPEHadP_->setAxisTitle("EM Energy (GeV)", 1);
439  meZdcCorEEmPEHadP_->setAxisTitle("HAD Energy (GeV)", 2);
441  ib.setCurrentFolder("ZDCValidation/ZdcSimHits/ENERGY_SUMS");
442  meZdcCorEtotNEtotP_ = ib.book2D("PZDC vs NZDC", "Energy N-ZDC vs P-ZDC", 3000, 0., 3000., 3000, 0., 3000.);
443  meZdcCorEtotNEtotP_->setAxisTitle("N-ZDC Total Energy (GeV)", 1);
444  meZdcCorEtotNEtotP_->setAxisTitle("P-ZDC Total Energy (GeV)", 2);
446  meZdcEneTot_ = ib.book1D("ETOT ZDCs", "Total Energy ZDCs", 3000, 0., 3000.);
447  meZdcEneTot_->setAxisTitle("Counts", 2);
448  meZdcEneTot_->setAxisTitle("Energy (GeV)", 1);
450 
452 
455  ib.setCurrentFolder("ZDCValidation/GenParticles/Forward");
458  genpart_Pi0F = ib.book2D("Pi0_Forward", "Forward Generated Pi0s", 200, 7.5, 13, 100, -3.15, 3.15);
459  genpart_Pi0F->setAxisTitle("Eta", 1);
460  genpart_Pi0F->setAxisTitle("Phi (radians)", 2);
461  genpart_Pi0F->setAxisTitle("Energy (GeV)", 3);
462  genpart_Pi0F->setOption("lego2z,prof");
463  genpart_Pi0F->getTH2F()->SetTitleOffset(1.4, "x");
464  genpart_Pi0F->getTH2F()->SetTitleOffset(1.4, "y");
465 
467  ib.book2D("Pi0_Forward_Counts", "Number of Forward Generated Pi0s", 200, 7.5, 13, 100, -3.15, 3.15);
468  genpart_Pi0F_counts->setAxisTitle("#eta", 1);
469  genpart_Pi0F_counts->setAxisTitle("#phi (radians)", 2);
470  genpart_Pi0F_counts->setAxisTitle("Energy (GeV)", 3);
471  genpart_Pi0F_counts->setOption("lego2z,prof");
472  genpart_Pi0F_counts->getTH2F()->SetTitleOffset(1.4, "x");
473  genpart_Pi0F_counts->getTH2F()->SetTitleOffset(1.4, "y");
474 
477  genpart_NeutF = ib.book2D("Neutron_Forward", "Forward Generated Neutrons", 200, 7.5, 13, 100, -3.15, 3.15);
478  genpart_NeutF->setAxisTitle("Eta", 1);
479  genpart_NeutF->setAxisTitle("Phi (radians)", 2);
480  genpart_NeutF->setAxisTitle("Energy (GeV)", 3);
481  genpart_NeutF->setOption("lego2z,prof");
482  genpart_NeutF->getTH2F()->SetTitleOffset(1.4, "x");
483  genpart_NeutF->getTH2F()->SetTitleOffset(1.4, "y");
484 
486  ib.book2D("Neutron_Forward_Counts", "Number of Forward Generated Neutrons", 200, 7.5, 13, 100, -3.15, 3.15);
488  genpart_NeutF_counts->setAxisTitle("#phi (radians)", 2);
489  genpart_NeutF_counts->setAxisTitle("Energy (GeV)", 3);
490  genpart_NeutF_counts->setOption("lego2z,prof");
491  genpart_NeutF_counts->getTH2F()->SetTitleOffset(1.4, "x");
492  genpart_NeutF_counts->getTH2F()->SetTitleOffset(1.4, "y");
493 
496  genpart_GammaF = ib.book2D("Gamma_Forward", "Forward Generated Gammas", 200, 7.5, 13, 100, -3.15, 3.15);
497  genpart_GammaF->setAxisTitle("Eta", 1);
498  genpart_GammaF->setAxisTitle("Phi (radians)", 2);
499  genpart_GammaF->setAxisTitle("Energy (GeV)", 3);
500  genpart_GammaF->setOption("lego2z,prof");
501  genpart_GammaF->getTH2F()->SetTitleOffset(1.4, "x");
502  genpart_GammaF->getTH2F()->SetTitleOffset(1.4, "y");
503 
505  ib.book2D("Gamma_Forward_Counts", "Number of Forward Generated Gammas", 200, 7.5, 13, 100, -3.15, 3.15);
507  genpart_GammaF_counts->setAxisTitle("#phi (radians)", 2);
508  genpart_GammaF_counts->setAxisTitle("Energy (GeV)", 3);
509  genpart_GammaF_counts->setOption("lego2z,prof");
510  genpart_GammaF_counts->getTH2F()->SetTitleOffset(1.4, "x");
511  genpart_GammaF_counts->getTH2F()->SetTitleOffset(1.4, "y");
512 
515  genpart_Pi0F_energydist = ib.book1D("Pi0_Forward_EDistribution", "Gen-Level Forward Pi0 Energy", 1500, 0, 1500);
516  genpart_Pi0F_energydist->setAxisTitle("Energy (GeV)", 1);
520  genpart_NeutF_energydist = ib.book1D("N_Forward_EDistribution", "Gen-Level Forward Neutron Energy", 1500, 0, 1500);
521  genpart_NeutF_energydist->setAxisTitle("Energy (GeV)", 1);
526  ib.book1D("Gamma_Forward_EDistribution", "Gen-Level Fowarad Gamma Energy", 1500, 0, 1500);
527  genpart_GammaF_energydist->setAxisTitle("Energy (GeV)", 1);
530  ib.setCurrentFolder("ZDCValidation/GenParticles/Backward");
533  genpart_Pi0B = ib.book2D("Pi0_Backward", "Backward Generated Pi0s", 1000, -13, -7.5, 100, -3.15, 3.15);
534  genpart_Pi0B->setAxisTitle("Eta", 1);
535  genpart_Pi0B->setAxisTitle("Phi (radians)", 2);
536  genpart_Pi0B->setAxisTitle("Energy (GeV)", 3);
537  genpart_Pi0B->setOption("lego2z,prof");
538  genpart_Pi0B->getTH2F()->SetTitleOffset(1.4, "x");
539  genpart_Pi0B->getTH2F()->SetTitleOffset(1.4, "y");
540 
542  ib.book2D("Pi0_Backwards_Counts", "Number of Backward Generated Pi0s", 200, -13, -7.5, 100, -3.15, 3.15);
543  genpart_Pi0B_counts->setAxisTitle("#eta", 1);
544  genpart_Pi0B_counts->setAxisTitle("#phi (radians)", 2);
545  genpart_Pi0B_counts->setAxisTitle("Energy (GeV)", 3);
546  genpart_Pi0B_counts->setOption("lego2z,prof");
547  genpart_Pi0B_counts->getTH2F()->SetTitleOffset(1.4, "x");
548  genpart_Pi0B_counts->getTH2F()->SetTitleOffset(1.4, "y");
549 
552  genpart_NeutB = ib.book2D("Neutron_Backward", "Backward Generated Neutrons", 1000, -13, -7.5, 100, -3.15, 3.15);
553  genpart_NeutB->setAxisTitle("Eta", 1);
554  genpart_NeutB->setAxisTitle("Phi (radians)", 2);
555  genpart_NeutB->setAxisTitle("Energy (GeV)", 3);
556  genpart_NeutB->setOption("lego2z,prof");
557  genpart_NeutB->getTH2F()->SetTitleOffset(1.4, "x");
558  genpart_NeutB->getTH2F()->SetTitleOffset(1.4, "y");
559 
560  genpart_NeutB_counts = ib.book2D(
561  "Neutron_Backwards_Counts", "Number of Backward Generated Neutrons", 200, -13, -7.5, 100, -3.15, 3.15);
563  genpart_NeutB_counts->setAxisTitle("#phi (radians)", 2);
564  genpart_NeutB_counts->setAxisTitle("Energy (GeV)", 3);
565  genpart_NeutB_counts->setOption("lego2z,prof");
566  genpart_NeutB_counts->getTH2F()->SetTitleOffset(1.4, "x");
567  genpart_NeutB_counts->getTH2F()->SetTitleOffset(1.4, "y");
568 
570  genpart_GammaB = ib.book2D("Gamma_Backward", "Backward Generated Gammas", 1000, -13, -7.5, 100, -3.15, 3.15);
571  genpart_GammaB->setAxisTitle("Eta", 1);
572  genpart_GammaB->setAxisTitle("Phi (radians)", 2);
573  genpart_GammaB->setAxisTitle("Energy (GeV)", 3);
574  genpart_GammaB->setOption("lego2z,prof");
575  genpart_GammaB->getTH2F()->SetTitleOffset(1.4, "x");
576  genpart_GammaB->getTH2F()->SetTitleOffset(1.4, "y");
577 
579  ib.book2D("Gamma_Backwards_Counts", "Number of Backward Generated Gammas", 200, -13, -7.5, 100, -3.15, 3.15);
581  genpart_GammaB_counts->setAxisTitle("#phi (radians)", 2);
582  genpart_GammaB_counts->setAxisTitle("Energy (GeV)", 3);
583  genpart_GammaB_counts->setOption("lego2z,prof");
584  genpart_GammaB_counts->getTH2F()->SetTitleOffset(1.4, "x");
585  genpart_GammaB_counts->getTH2F()->SetTitleOffset(1.4, "y");
586 
591  genpart_Pi0B_energydist = ib.book1D("Pi0_Backward_EDistribution", "Gen-Level Backward Pi0 Energy", 1500, 0, 1500);
592  genpart_Pi0B_energydist->setAxisTitle("Energy (GeV)", 1);
596  genpart_NeutB_energydist = ib.book1D("N_Backward_EDistribution", "Gen-Level Foward Neutron Energy", 1500, 0, 1500);
597  genpart_NeutB_energydist->setAxisTitle("Energy (GeV)", 1);
602  ib.book1D("Gamma_Backward_EDistribution", "Gen-Level Backward Gamma Energy", 1500, 0, 1500);
603  genpart_GammaB_energydist->setAxisTitle("Energy (GeV)", 1);
606  }
607 }
MonitorElement * meZdcEneTHadP3_
MonitorElement * meZdcEnergyHit_
MonitorElement * meZdcEneTEmN1_
MonitorElement * genpart_NeutB
MonitorElement * genpart_Pi0F
MonitorElement * meZdcEneTEmP1_
MonitorElement * meZdcHadL10EneP_
MonitorElement * meZdcEneEmP3_
MonitorElement * meZdcEneEmPTot_
MonitorElement * meZdcEneEmN1_
virtual void setOption(const char *option)
MonitorElement * meZdcEneTEmP4_
MonitorElement * meZdcEneHadN1_
MonitorElement * meZdcCorEEmNEHadN_
MonitorElement * meZdcEneEmN4_
MonitorElement * meZdcEneTHadN4_
MonitorElement * meZdcEneEmN5_
MonitorElement * meAllZdcNHit_
MonitorElement * genpart_Pi0F_energydist
MonitorElement * meZdcEneTEmN2_
MonitorElement * meZdcEneHadN4_
MonitorElement * genpart_GammaF_counts
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 * genpart_Pi0B_counts
MonitorElement * meBadZdcDetHit_
MonitorElement * genpart_GammaB_energydist
MonitorElement * meZdcEneTEmP5_
MonitorElement * genpart_Pi0F_counts
const bool checkHit_
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 * 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 * genpart_NeutF_counts
MonitorElement * meZdcEneHadP2_
MonitorElement * meZdcEneEmP4_
MonitorElement * meZdcHadEnergyHit_
MonitorElement * genpart_Pi0B_energydist
MonitorElement * meZdcEneEmP5_
MonitorElement * meZdcEneTEmP2_
MonitorElement * genpart_GammaB_counts
MonitorElement * meZdcSectionHit_
MonitorElement * meZdcEneNTot_
MonitorElement * meZdcEneHadN2_
MonitorElement * meZdcEneHadPTot_
MonitorElement * meZdcEEMCh_
MonitorElement * genpart_NeutB_counts
MonitorElement * meZdcEneEmP1_
MonitorElement * meZdcNHitEM_
MonitorElement * meZdcEneTHadN3_
MonitorElement * meZdcTimeWHit_
MonitorElement * meZdcEHadCh_
MonitorElement * meZdcETime_
MonitorElement * meZdcEMEnergyHit_
ib
Definition: cuy.py:661
MonitorElement * meZdcNHitLum_
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)

◆ FillHitValHist()

int ZdcSimHitStudy::FillHitValHist ( int  side,
int  section,
int  channel,
double  energy,
double  time 
)
protected

Definition at line 834 of file ZdcSimHitStudy.cc.

References HcalZDCDetId::EM, hcalRecHitTable_cff::energy, enetot, enetotEmN, enetotEmP, enetotHadN, enetotHadP, enetotN, enetotP, dqm::impl::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_, meZdcEneTHadP4_, hgcalPlots::section, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::side(), and hcalRecHitTable_cff::time.

Referenced by analyzeHits().

834  {
835  enetot += enetot;
836  if (side == -1) {
837  enetotN += energy;
838  if (section == HcalZDCDetId::EM) {
839  enetotEmN += energy;
840  switch (channel) {
841  case 1:
844  break;
845  case 2:
848  break;
849  case 3:
852  break;
853  case 4:
856  break;
857  case 5:
860  break;
861  }
862  }
863  if (section == HcalZDCDetId::HAD) {
864  enetotHadN += energy;
865  switch (channel) {
866  case 1:
869  break;
870  case 2:
873  break;
874  case 3:
877  break;
878  case 4:
881  break;
882  }
883  }
884  }
885  if (side == 1) {
886  enetotP += energy;
887  if (section == HcalZDCDetId::EM) {
888  enetotEmP += energy;
889  switch (channel) {
890  case 1:
893  break;
894  case 2:
897  break;
898  case 3:
901  break;
902  case 4:
905  break;
906  case 5:
909  break;
910  }
911  }
912  if (section == HcalZDCDetId::HAD) {
913  enetotHadP += energy;
914  switch (channel) {
915  case 1:
918  break;
919  case 2:
922  break;
923  case 3:
926  break;
927  case 4:
930  break;
931  }
932  }
933  }
934  return 0;
935 }
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

◆ checkHit_

const bool ZdcSimHitStudy::checkHit_
private

Definition at line 77 of file ZdcSimHitStudy.cc.

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

◆ enetot

double ZdcSimHitStudy::enetot
private

Definition at line 68 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and FillHitValHist().

◆ enetotEmN

double ZdcSimHitStudy::enetotEmN
private

Definition at line 66 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and FillHitValHist().

◆ enetotEmP

double ZdcSimHitStudy::enetotEmP
private

Definition at line 67 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and FillHitValHist().

◆ enetotHadN

double ZdcSimHitStudy::enetotHadN
private

Definition at line 66 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and FillHitValHist().

◆ enetotHadP

double ZdcSimHitStudy::enetotHadP
private

Definition at line 67 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and FillHitValHist().

◆ enetotN

double ZdcSimHitStudy::enetotN
private

Definition at line 66 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and FillHitValHist().

◆ enetotP

double ZdcSimHitStudy::enetotP
private

Definition at line 67 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and FillHitValHist().

◆ g4Label

const std::string ZdcSimHitStudy::g4Label
private

Definition at line 76 of file ZdcSimHitStudy.cc.

Referenced by ZdcSimHitStudy().

◆ genpart_GammaB

MonitorElement* ZdcSimHitStudy::genpart_GammaB
private

Definition at line 113 of file ZdcSimHitStudy.cc.

Referenced by analyze(), and bookHistograms().

◆ genpart_GammaB_counts

MonitorElement* ZdcSimHitStudy::genpart_GammaB_counts
private

Definition at line 123 of file ZdcSimHitStudy.cc.

Referenced by analyze(), and bookHistograms().

◆ genpart_GammaB_energydist

MonitorElement* ZdcSimHitStudy::genpart_GammaB_energydist
private

Definition at line 114 of file ZdcSimHitStudy.cc.

Referenced by analyze(), and bookHistograms().

◆ genpart_GammaF

MonitorElement* ZdcSimHitStudy::genpart_GammaF
private

Definition at line 111 of file ZdcSimHitStudy.cc.

Referenced by analyze(), and bookHistograms().

◆ genpart_GammaF_counts

MonitorElement* ZdcSimHitStudy::genpart_GammaF_counts
private

Definition at line 122 of file ZdcSimHitStudy.cc.

Referenced by analyze(), and bookHistograms().

◆ genpart_GammaF_energydist

MonitorElement* ZdcSimHitStudy::genpart_GammaF_energydist
private

Definition at line 112 of file ZdcSimHitStudy.cc.

Referenced by analyze(), and bookHistograms().

◆ genpart_NeutB

MonitorElement* ZdcSimHitStudy::genpart_NeutB
private

Definition at line 109 of file ZdcSimHitStudy.cc.

Referenced by analyze(), and bookHistograms().

◆ genpart_NeutB_counts

MonitorElement* ZdcSimHitStudy::genpart_NeutB_counts
private

Definition at line 121 of file ZdcSimHitStudy.cc.

Referenced by analyze(), and bookHistograms().

◆ genpart_NeutB_energydist

MonitorElement* ZdcSimHitStudy::genpart_NeutB_energydist
private

Definition at line 110 of file ZdcSimHitStudy.cc.

Referenced by analyze(), and bookHistograms().

◆ genpart_NeutF

MonitorElement* ZdcSimHitStudy::genpart_NeutF
private

Definition at line 107 of file ZdcSimHitStudy.cc.

Referenced by analyze(), and bookHistograms().

◆ genpart_NeutF_counts

MonitorElement* ZdcSimHitStudy::genpart_NeutF_counts
private

Definition at line 120 of file ZdcSimHitStudy.cc.

Referenced by analyze(), and bookHistograms().

◆ genpart_NeutF_energydist

MonitorElement* ZdcSimHitStudy::genpart_NeutF_energydist
private

Definition at line 108 of file ZdcSimHitStudy.cc.

Referenced by analyze(), and bookHistograms().

◆ genpart_Pi0B

MonitorElement* ZdcSimHitStudy::genpart_Pi0B
private

Definition at line 105 of file ZdcSimHitStudy.cc.

Referenced by analyze(), and bookHistograms().

◆ genpart_Pi0B_counts

MonitorElement* ZdcSimHitStudy::genpart_Pi0B_counts
private

Definition at line 119 of file ZdcSimHitStudy.cc.

Referenced by analyze(), and bookHistograms().

◆ genpart_Pi0B_energydist

MonitorElement* ZdcSimHitStudy::genpart_Pi0B_energydist
private

Definition at line 106 of file ZdcSimHitStudy.cc.

Referenced by analyze(), and bookHistograms().

◆ genpart_Pi0F

MonitorElement* ZdcSimHitStudy::genpart_Pi0F
private

Definition at line 103 of file ZdcSimHitStudy.cc.

Referenced by analyze(), and bookHistograms().

◆ genpart_Pi0F_counts

MonitorElement* ZdcSimHitStudy::genpart_Pi0F_counts
private

Definition at line 118 of file ZdcSimHitStudy.cc.

Referenced by analyze(), and bookHistograms().

◆ genpart_Pi0F_energydist

MonitorElement* ZdcSimHitStudy::genpart_Pi0F_energydist
private

Definition at line 104 of file ZdcSimHitStudy.cc.

Referenced by analyze(), and bookHistograms().

◆ meAllZdcNHit_

MonitorElement* ZdcSimHitStudy::meAllZdcNHit_
private

Definition at line 81 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meBadZdcDetHit_

MonitorElement * ZdcSimHitStudy::meBadZdcDetHit_
private

Definition at line 81 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meBadZdcIdHit_

MonitorElement * ZdcSimHitStudy::meBadZdcIdHit_
private

Definition at line 81 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meBadZdcSecHit_

MonitorElement * ZdcSimHitStudy::meBadZdcSecHit_
private

Definition at line 81 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdc10Ene_

MonitorElement * ZdcSimHitStudy::meZdc10Ene_
private

Definition at line 83 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdc10EneP_

MonitorElement* ZdcSimHitStudy::meZdc10EneP_
private

Definition at line 86 of file ZdcSimHitStudy.cc.

◆ meZdcChannelHit_

MonitorElement * ZdcSimHitStudy::meZdcChannelHit_
private

Definition at line 84 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcCorEEmNEHadN_

MonitorElement* ZdcSimHitStudy::meZdcCorEEmNEHadN_
private

Definition at line 92 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcCorEEmPEHadP_

MonitorElement* ZdcSimHitStudy::meZdcCorEEmPEHadP_
private

Definition at line 98 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcCorEtotNEtotP_

MonitorElement * ZdcSimHitStudy::meZdcCorEtotNEtotP_
private

Definition at line 98 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcDetectHit_

MonitorElement * ZdcSimHitStudy::meZdcDetectHit_
private

Definition at line 82 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcEEMCh_

MonitorElement * ZdcSimHitStudy::meZdcEEMCh_
private

Definition at line 86 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcEHadCh_

MonitorElement * ZdcSimHitStudy::meZdcEHadCh_
private

Definition at line 86 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcEMEnergyHit_

MonitorElement * ZdcSimHitStudy::meZdcEMEnergyHit_
private

Definition at line 85 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcEML10EneP_

MonitorElement * ZdcSimHitStudy::meZdcEML10EneP_
private

Definition at line 86 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcEneEmN1_

MonitorElement* ZdcSimHitStudy::meZdcEneEmN1_
private

Definition at line 87 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneEmN2_

MonitorElement * ZdcSimHitStudy::meZdcEneEmN2_
private

Definition at line 87 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneEmN3_

MonitorElement * ZdcSimHitStudy::meZdcEneEmN3_
private

Definition at line 87 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneEmN4_

MonitorElement * ZdcSimHitStudy::meZdcEneEmN4_
private

Definition at line 87 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneEmN5_

MonitorElement * ZdcSimHitStudy::meZdcEneEmN5_
private

Definition at line 87 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms().

◆ meZdcEneEmNTot_

MonitorElement * ZdcSimHitStudy::meZdcEneEmNTot_
private

Definition at line 91 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcEneEmP1_

MonitorElement* ZdcSimHitStudy::meZdcEneEmP1_
private

Definition at line 93 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneEmP2_

MonitorElement * ZdcSimHitStudy::meZdcEneEmP2_
private

Definition at line 93 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneEmP3_

MonitorElement * ZdcSimHitStudy::meZdcEneEmP3_
private

Definition at line 93 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneEmP4_

MonitorElement * ZdcSimHitStudy::meZdcEneEmP4_
private

Definition at line 93 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneEmP5_

MonitorElement * ZdcSimHitStudy::meZdcEneEmP5_
private

Definition at line 93 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms().

◆ meZdcEneEmPTot_

MonitorElement * ZdcSimHitStudy::meZdcEneEmPTot_
private

Definition at line 97 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcEneHadN1_

MonitorElement* ZdcSimHitStudy::meZdcEneHadN1_
private

Definition at line 88 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneHadN2_

MonitorElement * ZdcSimHitStudy::meZdcEneHadN2_
private

Definition at line 88 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneHadN3_

MonitorElement * ZdcSimHitStudy::meZdcEneHadN3_
private

Definition at line 88 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneHadN4_

MonitorElement * ZdcSimHitStudy::meZdcEneHadN4_
private

Definition at line 88 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneHadNTot_

MonitorElement* ZdcSimHitStudy::meZdcEneHadNTot_
private

Definition at line 91 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcEneHadP1_

MonitorElement* ZdcSimHitStudy::meZdcEneHadP1_
private

Definition at line 94 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneHadP2_

MonitorElement * ZdcSimHitStudy::meZdcEneHadP2_
private

Definition at line 94 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneHadP3_

MonitorElement * ZdcSimHitStudy::meZdcEneHadP3_
private

Definition at line 94 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneHadP4_

MonitorElement * ZdcSimHitStudy::meZdcEneHadP4_
private

Definition at line 94 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneHadPTot_

MonitorElement* ZdcSimHitStudy::meZdcEneHadPTot_
private

Definition at line 97 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcEneNTot_

MonitorElement * ZdcSimHitStudy::meZdcEneNTot_
private

Definition at line 91 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcEnePTot_

MonitorElement * ZdcSimHitStudy::meZdcEnePTot_
private

Definition at line 97 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcEnergyHit_

MonitorElement * ZdcSimHitStudy::meZdcEnergyHit_
private

Definition at line 84 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcEneTEmN1_

MonitorElement* ZdcSimHitStudy::meZdcEneTEmN1_
private

Definition at line 89 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneTEmN2_

MonitorElement * ZdcSimHitStudy::meZdcEneTEmN2_
private

Definition at line 89 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneTEmN3_

MonitorElement * ZdcSimHitStudy::meZdcEneTEmN3_
private

Definition at line 89 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneTEmN4_

MonitorElement * ZdcSimHitStudy::meZdcEneTEmN4_
private

Definition at line 89 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneTEmN5_

MonitorElement * ZdcSimHitStudy::meZdcEneTEmN5_
private

Definition at line 89 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms().

◆ meZdcEneTEmP1_

MonitorElement* ZdcSimHitStudy::meZdcEneTEmP1_
private

Definition at line 95 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneTEmP2_

MonitorElement * ZdcSimHitStudy::meZdcEneTEmP2_
private

Definition at line 95 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneTEmP3_

MonitorElement * ZdcSimHitStudy::meZdcEneTEmP3_
private

Definition at line 95 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneTEmP4_

MonitorElement * ZdcSimHitStudy::meZdcEneTEmP4_
private

Definition at line 95 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneTEmP5_

MonitorElement * ZdcSimHitStudy::meZdcEneTEmP5_
private

Definition at line 95 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms().

◆ meZdcEneTHadN1_

MonitorElement* ZdcSimHitStudy::meZdcEneTHadN1_
private

Definition at line 90 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneTHadN2_

MonitorElement * ZdcSimHitStudy::meZdcEneTHadN2_
private

Definition at line 90 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneTHadN3_

MonitorElement * ZdcSimHitStudy::meZdcEneTHadN3_
private

Definition at line 90 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneTHadN4_

MonitorElement * ZdcSimHitStudy::meZdcEneTHadN4_
private

Definition at line 90 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneTHadP1_

MonitorElement* ZdcSimHitStudy::meZdcEneTHadP1_
private

Definition at line 96 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneTHadP2_

MonitorElement * ZdcSimHitStudy::meZdcEneTHadP2_
private

Definition at line 96 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneTHadP3_

MonitorElement * ZdcSimHitStudy::meZdcEneTHadP3_
private

Definition at line 96 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneTHadP4_

MonitorElement * ZdcSimHitStudy::meZdcEneTHadP4_
private

Definition at line 96 of file ZdcSimHitStudy.cc.

Referenced by bookHistograms(), and FillHitValHist().

◆ meZdcEneTot_

MonitorElement * ZdcSimHitStudy::meZdcEneTot_
private

Definition at line 98 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcETime_

MonitorElement * ZdcSimHitStudy::meZdcETime_
private

Definition at line 82 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcHadEnergyHit_

MonitorElement* ZdcSimHitStudy::meZdcHadEnergyHit_
private

Definition at line 85 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcHadL10EneP_

MonitorElement * ZdcSimHitStudy::meZdcHadL10EneP_
private

Definition at line 85 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcNHit_

MonitorElement* ZdcSimHitStudy::meZdcNHit_
private

Definition at line 82 of file ZdcSimHitStudy.cc.

◆ meZdcNHitEM_

MonitorElement* ZdcSimHitStudy::meZdcNHitEM_
private

Definition at line 83 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcNHitHad_

MonitorElement * ZdcSimHitStudy::meZdcNHitHad_
private

Definition at line 83 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcNHitLum_

MonitorElement * ZdcSimHitStudy::meZdcNHitLum_
private

Definition at line 83 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcSectionHit_

MonitorElement* ZdcSimHitStudy::meZdcSectionHit_
private

Definition at line 84 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcSideHit_

MonitorElement * ZdcSimHitStudy::meZdcSideHit_
private

Definition at line 82 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcTimeHit_

MonitorElement * ZdcSimHitStudy::meZdcTimeHit_
private

Definition at line 85 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ meZdcTimeWHit_

MonitorElement * ZdcSimHitStudy::meZdcTimeWHit_
private

Definition at line 84 of file ZdcSimHitStudy.cc.

Referenced by analyzeHits(), and bookHistograms().

◆ outFile_

const std::string ZdcSimHitStudy::outFile_
private

Definition at line 76 of file ZdcSimHitStudy.cc.

Referenced by ZdcSimHitStudy().

◆ tok_gen_

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

Definition at line 78 of file ZdcSimHitStudy.cc.

Referenced by analyze().

◆ tok_hits_

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

Definition at line 79 of file ZdcSimHitStudy.cc.

Referenced by analyze().

◆ verbose_

const bool ZdcSimHitStudy::verbose_
private

Definition at line 77 of file ZdcSimHitStudy.cc.

◆ zdcHits

const std::string ZdcSimHitStudy::zdcHits
private

Definition at line 76 of file ZdcSimHitStudy.cc.

Referenced by ZdcSimHitStudy().