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) |
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 49 of file HGCalTBAnalyzer.cc.
|
explicit |
Definition at line 100 of file HGCalTBAnalyzer.cc.
References gather_cfg::cout, detectorEE_, detectorHE_, doDigis_, doRecHits_, doSimHits_, doTree_, doTreeCell_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), ifEE_, ifHE_, HLT_25ns10e33_v2_cff::InputTag, sampleIndex_, AlCaHLTBitMon_QueryRunRegistry::string, tok_digiEE_, tok_digiHE_, tok_hepMC_, tok_hitrEE_, tok_hitrHE_, tok_hitsEE_, tok_hitsHE_, tok_simTk_, tok_simVtx_, and usesResource().
HGCalTBAnalyzer::~HGCalTBAnalyzer | ( | ) |
Definition at line 154 of file HGCalTBAnalyzer.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 313 of file HGCalTBAnalyzer.cc.
References ecalMGPA::adc(), analyzeDigi(), analyzeRecHits(), analyzeSimHits(), analyzeSimTracks(), edm::HandleBase::clear(), gather_cfg::cout, HGCSample::data(), detectorEE_, detectorHE_, doDigis_, doRecHits_, doSimHits_, doTree_, edm::Event::getByToken(), hBeam_, hgcons_, ifEE_, ifHE_, edm::HandleBase::isValid(), relval_2017::k, HGCalDDDConstants::layers(), AlCaHLTBitMon_ParallelJobs::p, sampleIndex_, simHitCellEnE, simHitCellEnH, simHitCellIdE, simHitCellIdH, simHitLayEn1E, simHitLayEn1H, simHitLayEn2E, simHitLayEn2H, tok_digiEE_, tok_digiHE_, tok_hepMC_, tok_hitrEE_, tok_hitrHE_, tok_hitsEE_, tok_hitsHE_, tok_simTk_, tok_simVtx_, and tree_.
|
private |
Definition at line 634 of file HGCalTBAnalyzer.cc.
References HGCalGeometry::getPosition(), hDigiADC_, hDigiLng_, hDigiOcc_, and hgeom_.
Referenced by analyze().
|
private |
Definition at line 643 of file HGCalTBAnalyzer.cc.
References HGCalDetId::cell(), gather_cfg::cout, relval_parameters_module::energy, plotBeamSpotDB::first, HGCalGeometry::getPosition(), hgcons_, hgeom_, hRecHitE_, hRecHitLat_, hRecHitLng1_, hRecHitLng_, hRecHitOcc_, HGCalDetId::layer(), edm::second(), HGCalDDDConstants::waferZ(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze().
|
private |
Definition at line 470 of file HGCalTBAnalyzer.cc.
References gather_cfg::cout, HLT_25ns10e33_v2_cff::depth, relval_parameters_module::energy, plotBeamSpotDB::first, hgcons_, hSimHitE_, hSimHitEn_, hSimHitLat_, hSimHitLayEn1E_, hSimHitLayEn1H_, hSimHitLayEn2E_, hSimHitLayEn2H_, hSimHitLng1_, hSimHitLng2_, hSimHitLng_, hSimHitT_, i, HGCalDDDConstants::locateCell(), HGCalTestNumbering::packHexagonIndex(), edm::second(), simHitCellEnE, simHitCellEnH, simHitCellIdE, simHitCellIdH, simHitLayEn1E, simHitLayEn1H, simHitLayEn2E, simHitLayEn2H, HGCalDDDConstants::simToReco(), HGCalTestNumbering::unpackHexagonIndex(), HGCalDDDConstants::waferZ(), create_public_lumi_plots::xy, and ecaldqm::zside().
Referenced by analyze().
|
private |
Definition at line 600 of file HGCalTBAnalyzer.cc.
References gather_cfg::cout, pBeam, xBeam, yBeam, and zBeam.
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 164 of file HGCalTBAnalyzer.cc.
References detectorEE_, detectorHE_, doDigis_, doRecHits_, doSimHits_, doTree_, doTreeCell_, fs_, hBeam_, hDigiADC_, hDigiLng_, hDigiOcc_, hRecHitE_, hRecHitLat_, hRecHitLng1_, hRecHitLng_, hRecHitOcc_, hSimHitE_, hSimHitEn_, hSimHitLat_, hSimHitLng1_, hSimHitLng2_, hSimHitLng_, hSimHitT_, i, ifEE_, ifHE_, TFileService::make(), mergeVDriftHistosByStation::name, pBeam, simHitCellEnE, simHitCellEnH, simHitCellIdE, simHitCellIdH, simHitLayEn1E, simHitLayEn1H, simHitLayEn2E, simHitLayEn2H, AlCaHLTBitMon_QueryRunRegistry::string, SiPixelPhase1TrackClusters_cfi::title, tree_, xBeam, yBeam, and zBeam.
|
overrideprivatevirtual |
Definition at line 245 of file HGCalTBAnalyzer.cc.
References gather_cfg::cout, detectorEE_, detectorHE_, doDigis_, doRecHits_, fs_, relativeConstraints::geom, edm::EventSetup::get(), hgcons_, hgeom_, hSimHitLayEn1E_, hSimHitLayEn1H_, hSimHitLayEn2E_, ifEE_, ifHE_, cmsLHEtoEOSManager::l, HGCalDDDConstants::layers(), TFileService::make(), mergeVDriftHistosByStation::name, edm::ESHandle< class >::product(), and SiPixelPhase1TrackClusters_cfi::title.
|
inlineoverrideprivatevirtual |
Definition at line 60 of file HGCalTBAnalyzer.cc.
|
static |
Definition at line 156 of file HGCalTBAnalyzer.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 74 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), beginRun(), and HGCalTBAnalyzer().
|
private |
Definition at line 74 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), beginRun(), and HGCalTBAnalyzer().
|
private |
Definition at line 73 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), beginRun(), and HGCalTBAnalyzer().
|
private |
Definition at line 73 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), beginRun(), and HGCalTBAnalyzer().
|
private |
Definition at line 73 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), and HGCalTBAnalyzer().
|
private |
Definition at line 72 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), and HGCalTBAnalyzer().
|
private |
Definition at line 72 of file HGCalTBAnalyzer.cc.
Referenced by beginJob(), and HGCalTBAnalyzer().
|
private |
Definition at line 68 of file HGCalTBAnalyzer.cc.
Referenced by beginJob(), and beginRun().
|
private |
Definition at line 85 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 84 of file HGCalTBAnalyzer.cc.
Referenced by analyzeDigi(), and beginJob().
|
private |
Definition at line 84 of file HGCalTBAnalyzer.cc.
Referenced by analyzeDigi(), and beginJob().
|
private |
Definition at line 86 of file HGCalTBAnalyzer.cc.
Referenced by analyzeDigi(), and beginJob().
|
private |
Definition at line 69 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeRecHits(), analyzeSimHits(), and beginRun().
|
private |
Definition at line 70 of file HGCalTBAnalyzer.cc.
Referenced by analyzeDigi(), analyzeRecHits(), and beginRun().
|
private |
Definition at line 85 of file HGCalTBAnalyzer.cc.
Referenced by analyzeRecHits(), and beginJob().
|
private |
Definition at line 90 of file HGCalTBAnalyzer.cc.
Referenced by analyzeRecHits(), and beginJob().
|
private |
Definition at line 89 of file HGCalTBAnalyzer.cc.
Referenced by analyzeRecHits(), and beginJob().
|
private |
Definition at line 89 of file HGCalTBAnalyzer.cc.
Referenced by analyzeRecHits(), and beginJob().
|
private |
Definition at line 86 of file HGCalTBAnalyzer.cc.
Referenced by analyzeRecHits(), and beginJob().
|
private |
Definition at line 83 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginJob().
|
private |
Definition at line 85 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginJob().
|
private |
Definition at line 90 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginJob().
|
private |
Definition at line 91 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginRun().
|
private |
Definition at line 91 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginRun().
|
private |
Definition at line 92 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginRun().
|
private |
Definition at line 92 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits().
|
private |
Definition at line 87 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginJob().
|
private |
Definition at line 88 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginJob().
|
private |
Definition at line 87 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginJob().
|
private |
Definition at line 83 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimHits(), and beginJob().
|
private |
Definition at line 71 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), beginRun(), and HGCalTBAnalyzer().
|
private |
Definition at line 71 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), beginJob(), beginRun(), and HGCalTBAnalyzer().
|
private |
Definition at line 97 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimTracks(), and beginJob().
|
private |
Definition at line 75 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 96 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 96 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 95 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 95 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 93 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 94 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 93 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 94 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 79 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 79 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 81 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().
|
private |
Definition at line 76 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 76 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 77 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 78 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and HGCalTBAnalyzer().
|
private |
Definition at line 82 of file HGCalTBAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 97 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimTracks(), and beginJob().
|
private |
Definition at line 97 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimTracks(), and beginJob().
|
private |
Definition at line 97 of file HGCalTBAnalyzer.cc.
Referenced by analyzeSimTracks(), and beginJob().