Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
virtual void | analyze (edm::Event const &, edm::EventSetup const &) override |
template<class T1 > | |
void | analyzeDigi (int type, const T1 &detId, uint16_t adc) |
void | analyzeRecHits (int type, edm::Handle< HGCRecHitCollection > &hits) |
void | analyzeSimHits (int type, std::vector< PCaloHit > &hits, double zFront) |
void | analyzeSimTracks (edm::Handle< edm::SimTrackContainer > const &SimTk, edm::Handle< edm::SimVertexContainer > const &SimVtx) |
virtual void | beginJob () override |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) override |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) override |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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) |
Definition at line 53 of file HGCalTBAnalyzer.cc.
|
explicit |
Definition at line 114 of file HGCalTBAnalyzer.cc.
References gather_cfg::cout, detectorBeam_, detectorBH_, detectorEE_, detectorFH_, doDigis_, doRecHits_, doSimHits_, doTree_, doTreeCell_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hcalTTPDigis_cfi::id, idBeams_, ifBeam_, ifBH_, ifEE_, ifFH_, sampleIndex_, AlCaHLTBitMon_QueryRunRegistry::string, tok_digiBH_, tok_digiEE_, tok_digiFH_, tok_hepMC_, tok_hitrBH_, tok_hitrEE_, tok_hitrFH_, tok_hitsBeam_, tok_hitsBH_, tok_hitsEE_, tok_hitsFH_, tok_simTk_, tok_simVtx_, zFrontBH_, zFrontEE_, and zFrontFH_.
HGCalTBAnalyzer::~HGCalTBAnalyzer | ( | ) |
Definition at line 201 of file HGCalTBAnalyzer.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 434 of file HGCalTBAnalyzer.cc.
References ecalMGPA::adc(), analyzeDigi(), analyzeRecHits(), analyzeSimHits(), analyzeSimTracks(), edm::SortedCollection< T, SORT >::begin(), edm::HandleBase::clear(), gather_cfg::cout, HGCSample::data(), detectorBeam_, detectorBH_, detectorEE_, detectorFH_, doDigis_, doRecHits_, doSimHits_, doTree_, edm::SortedCollection< T, SORT >::end(), edm::Event::getByToken(), edm::HepMCProduct::GetEvent(), hBeam_, hgcons_, idBeams_, ifBeam_, ifBH_, ifEE_, ifFH_, edm::HandleBase::isValid(), gen::k, HGCalDDDConstants::layers(), AHCalDetId::MaxDepth, AlCaHLTBitMon_ParallelJobs::p, sampleIndex_, simHitCellEnBeam, simHitCellEnBH, simHitCellEnEE, simHitCellEnFH, simHitCellIdBeam, simHitCellIdBH, simHitCellIdEE, simHitCellIdFH, simHitLayEn1BH, simHitLayEn1EE, simHitLayEn1FH, simHitLayEn2BH, simHitLayEn2EE, simHitLayEn2FH, simHitLayEnBeam, edm::SortedCollection< T, SORT >::size(), tok_digiEE_, tok_digiFH_, tok_hepMC_, tok_hitrEE_, tok_hitrFH_, tok_hitsBeam_, tok_hitsBH_, tok_hitsEE_, tok_hitsFH_, tok_simTk_, tok_simVtx_, tree_, zFrontBH_, zFrontEE_, and zFrontFH_.
Referenced by endRun().
|
private |
Definition at line 848 of file HGCalTBAnalyzer.cc.
References HGCalGeometry::getPosition(), hDigiADC_, hDigiLng_, hDigiOcc_, and hgeom_.
Referenced by analyze(), and endRun().
|
private |
Definition at line 857 of file HGCalTBAnalyzer.cc.
References edm::SortedCollection< T, SORT >::begin(), HGCalDetId::cell(), gather_cfg::cout, DEFINE_FWK_MODULE, edm::SortedCollection< T, SORT >::end(), plotBeamSpotDB::first, HGCalGeometry::getPosition(), hgcons_, hgeom_, hRecHitE_, hRecHitLat_, hRecHitLng1_, hRecHitLng_, hRecHitOcc_, HGCalDetId::layer(), genParticles_cff::map, edm::second(), HGCalDDDConstants::waferZ(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze(), and endRun().
|
private |
Definition at line 630 of file HGCalTBAnalyzer.cc.
References gather_cfg::cout, particleFlowClusterECALTimeSelected_cfi::depth, AHCalDetId::depth(), plotBeamSpotDB::first, AHCalDetId::getXY(), AHCalDetId::getZ(), HcalOther, hgcons_, hSimHitE_, hSimHitEn_, hSimHitLat_, hSimHitLayEn1BH_, hSimHitLayEn1EE_, hSimHitLayEn1FH_, hSimHitLayEn2BH_, hSimHitLayEn2EE_, hSimHitLayEn2FH_, hSimHitLayEnBeam_, hSimHitLng1_, hSimHitLng2_, hSimHitLng_, hSimHitT_, mps_fire::i, AHCalDetId::icol(), AHCalDetId::icolAbs(), hcalTTPDigis_cfi::id, idBeams_, training_settings::idx, AHCalDetId::irow(), AHCalDetId::irowAbs(), gen::k, HGCalDDDConstants::locateCell(), genParticles_cff::map, HGCalTestNumbering::packHexagonIndex(), edm::second(), simHitCellEnBeam, simHitCellEnBH, simHitCellEnEE, simHitCellEnFH, simHitCellIdBeam, simHitCellIdBH, simHitCellIdEE, simHitCellIdFH, simHitLayEn1BH, simHitLayEn1EE, simHitLayEn1FH, simHitLayEn2BH, simHitLayEn2EE, simHitLayEn2FH, simHitLayEnBeam, HGCalDDDConstants::simToReco(), HcalDetId::subdet(), ntuplemaker::time, HGCalTestNumbering::unpackHexagonIndex(), HcalTestBeamNumbering::unpackIndex(), HGCalDDDConstants::waferZ(), geometryCSVtoXML::xx, geometryCSVtoXML::xy, HcalDigiParam_cfi::zside, and AHCalDetId::zside().
Referenced by analyze(), and endRun().
|
private |
Definition at line 814 of file HGCalTBAnalyzer.cc.
References gather_cfg::cout, pBeam, xBeam, yBeam, and zBeam.
Referenced by analyze(), and endRun().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 239 of file HGCalTBAnalyzer.cc.
References detectorBeam_, detectorBH_, detectorEE_, detectorFH_, doDigis_, doRecHits_, doSimHits_, doTree_, doTreeCell_, fs_, hBeam_, hDigiADC_, hDigiLng_, hDigiOcc_, hRecHitE_, hRecHitLat_, hRecHitLng1_, hRecHitLng_, hRecHitOcc_, hSimHitE_, hSimHitEn_, hSimHitLat_, hSimHitLng1_, hSimHitLng2_, hSimHitLng_, hSimHitT_, mps_fire::i, ifBeam_, ifBH_, ifEE_, ifFH_, TFileService::make(), dataset::name, pBeam, simHitCellEnBeam, simHitCellEnBH, simHitCellEnEE, simHitCellEnFH, simHitCellIdBeam, simHitCellIdBH, simHitCellIdEE, simHitCellIdFH, simHitLayEn1BH, simHitLayEn1EE, simHitLayEn1FH, simHitLayEn2BH, simHitLayEn2EE, simHitLayEn2FH, AlCaHLTBitMon_QueryRunRegistry::string, fftjetcommon_cfi::title, tree_, xBeam, yBeam, and zBeam.
|
overrideprivatevirtual |
Definition at line 344 of file HGCalTBAnalyzer.cc.
References gather_cfg::cout, detectorBeam_, detectorBH_, detectorEE_, detectorFH_, doDigis_, doRecHits_, fs_, relativeConstraints::geom, edm::EventSetup::get(), hgcons_, hgeom_, hSimHitLayEn1BH_, hSimHitLayEn1EE_, hSimHitLayEn1FH_, hSimHitLayEn2BH_, hSimHitLayEn2EE_, hSimHitLayEn2FH_, hSimHitLayEnBeam_, idBeams_, ifBeam_, ifBH_, ifEE_, ifFH_, checklumidiff::l, HGCalDDDConstants::layers(), TFileService::make(), AHCalDetId::MaxDepth, dataset::name, edm::ESHandle< T >::product(), and fftjetcommon_cfi::title.
|
inlineoverrideprivatevirtual |
Definition at line 64 of file HGCalTBAnalyzer.cc.
References ecalMGPA::adc(), analyze(), analyzeDigi(), analyzeRecHits(), analyzeSimHits(), analyzeSimTracks(), and hfClusterShapes_cfi::hits.
|
static |
Definition at line 203 of file HGCalTBAnalyzer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), edm::ParameterSetDescription::setUnknown(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 79 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), beginRun(), and HGCalTBAnalyzer().
|
private |
Definition at line 79 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), beginRun(), and HGCalTBAnalyzer().
|
private |
Definition at line 78 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), beginRun(), and HGCalTBAnalyzer().
|
private |
Definition at line 78 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), beginRun(), and HGCalTBAnalyzer().
|
private |
Definition at line 77 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), beginRun(), and HGCalTBAnalyzer().
|
private |
Definition at line 77 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), beginRun(), and HGCalTBAnalyzer().
|
private |
Definition at line 77 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), and HGCalTBAnalyzer().
|
private |
Definition at line 76 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), and HGCalTBAnalyzer().
|
private |
Definition at line 76 of file HGCalTBAnalyzer.cc.
Referenced by beginJob(), and HGCalTBAnalyzer().
|
private |
Definition at line 72 of file HGCalTBAnalyzer.cc.
Referenced by beginJob(), and beginRun().
|
private |
Definition at line 93 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 92 of file HGCalTBAnalyzer.cc.
Referenced by analyzeDigi(), and beginJob().
|
private |
Definition at line 92 of file HGCalTBAnalyzer.cc.
Referenced by analyzeDigi(), and beginJob().
|
private |
Definition at line 94 of file HGCalTBAnalyzer.cc.
Referenced by analyzeDigi(), and beginJob().
|
private |
Definition at line 73 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeRecHits(), analyzeSimHits(), and beginRun().
|
private |
Definition at line 74 of file HGCalTBAnalyzer.cc.
Referenced by analyzeDigi(), analyzeRecHits(), and beginRun().
|
private |
Definition at line 93 of file HGCalTBAnalyzer.cc.
Referenced by analyzeRecHits(), and beginJob().
|
private |
Definition at line 98 of file HGCalTBAnalyzer.cc.
Referenced by analyzeRecHits(), and beginJob().
|
private |
Definition at line 97 of file HGCalTBAnalyzer.cc.
Referenced by analyzeRecHits(), and beginJob().
|
private |
Definition at line 97 of file HGCalTBAnalyzer.cc.
Referenced by analyzeRecHits(), and beginJob().
|
private |
Definition at line 94 of file HGCalTBAnalyzer.cc.
Referenced by analyzeRecHits(), and beginJob().
|
private |
Definition at line 91 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginJob().
|
private |
Definition at line 93 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginJob().
|
private |
Definition at line 98 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginJob().
|
private |
Definition at line 101 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginRun().
|
private |
Definition at line 99 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginRun().
|
private |
Definition at line 100 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginRun().
|
private |
Definition at line 101 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginRun().
|
private |
Definition at line 99 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginRun().
|
private |
Definition at line 100 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginRun().
|
private |
Definition at line 102 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginRun().
|
private |
Definition at line 95 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginJob().
|
private |
Definition at line 96 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginJob().
|
private |
Definition at line 95 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginJob().
|
private |
Definition at line 91 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginJob().
|
private |
Definition at line 82 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), beginRun(), and HGCalTBAnalyzer().
|
private |
Definition at line 75 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), beginRun(), and HGCalTBAnalyzer().
|
private |
Definition at line 75 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), beginRun(), and HGCalTBAnalyzer().
|
private |
Definition at line 75 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), beginRun(), and HGCalTBAnalyzer().
|
private |
Definition at line 75 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), beginRun(), and HGCalTBAnalyzer().
|
private |
Definition at line 111 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimTracks(), and beginJob().
|
private |
Definition at line 81 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 110 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 110 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 109 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 109 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 108 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 108 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 107 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 107 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 105 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 103 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 104 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 105 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 103 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 104 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 106 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and analyzeSimHits().
|
private |
Definition at line 87 of file HGCalTBAnalyzer.cc.
Referenced by HGCalTBAnalyzer().
|
private |
Definition at line 87 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 87 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 89 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 88 of file HGCalTBAnalyzer.cc.
Referenced by HGCalTBAnalyzer().
|
private |
Definition at line 88 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 88 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 84 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 84 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 83 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 83 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 85 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 86 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 90 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 111 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimTracks(), and beginJob().
|
private |
Definition at line 111 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimTracks(), and beginJob().
|
private |
Definition at line 111 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimTracks(), and beginJob().
|
private |
Definition at line 80 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 80 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 80 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().