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 | |
void | analyze (edm::Event const &, edm::EventSetup const &) override |
void | analyzeSimHits (int type, std::vector< PCaloHit > const &hits) |
void | analyzeSimTracks (edm::Handle< edm::SimTrackContainer > const &SimTk, edm::Handle< edm::SimVertexContainer > const &SimVtx) |
void | beginJob () override |
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
void | endRun (edm::Run const &, edm::EventSetup const &) override |
Private Attributes | |
std::string | detectorBeam_ |
std::string | detectorEE_ |
bool | doTree_ |
edm::Service< TFileService > | fs_ |
bool | groupHits_ |
const HGCalDDDConstants * | hgcons_ |
std::vector< int > | idBeams_ |
double | pBeam_ |
std::vector< float > | simHitCellEnBeam_ |
std::vector< float > | simHitCellEnEE_ |
std::vector< uint32_t > | simHitCellIdBeam_ |
std::vector< uint32_t > | simHitCellIdEE_ |
std::vector< float > | simHitCellTmBeam_ |
std::vector< float > | simHitCellTmEE_ |
double | timeUnit_ |
edm::EDGetTokenT< edm::HepMCProduct > | tok_hepMC_ |
edm::EDGetTokenT< edm::PCaloHitContainer > | tok_hitsBeam_ |
edm::EDGetTokenT< edm::PCaloHitContainer > | tok_hitsEE_ |
edm::EDGetTokenT< edm::SimTrackContainer > | tok_simTk_ |
edm::EDGetTokenT< edm::SimVertexContainer > | tok_simVtx_ |
TTree * | tree_ |
double | xBeam_ |
double | yBeam_ |
double | zBeam_ |
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 48 of file HGCalTimingAnalyzer.cc.
|
explicit |
Definition at line 82 of file HGCalTimingAnalyzer.cc.
References gather_cfg::cout, detectorBeam_, detectorEE_, doTree_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), groupHits_, triggerObjects_cff::id, idBeams_, AlCaHLTBitMon_QueryRunRegistry::string, timeUnit_, tok_hepMC_, tok_hitsBeam_, tok_hitsEE_, tok_simTk_, and tok_simVtx_.
|
override |
Definition at line 125 of file HGCalTimingAnalyzer.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 171 of file HGCalTimingAnalyzer.cc.
References analyzeSimHits(), analyzeSimTracks(), edm::HandleBase::clear(), gather_cfg::cout, detectorBeam_, detectorEE_, doTree_, edm::Event::getByToken(), edm::HepMCProduct::GetEvent(), edm::HandleBase::isValid(), gen::k, AlCaHLTBitMon_ParallelJobs::p, simHitCellEnBeam_, simHitCellEnEE_, simHitCellIdBeam_, simHitCellIdEE_, simHitCellTmBeam_, simHitCellTmEE_, tok_hepMC_, tok_hitsBeam_, tok_hitsEE_, tok_simTk_, tok_simVtx_, and tree_.
Referenced by endRun().
|
private |
Definition at line 242 of file HGCalTimingAnalyzer.cc.
References gather_cfg::cout, TauDecayModes::dec, plotBeamSpotDB::first, hgcons_, mps_fire::i, hit::id, crabWrapper::key, DetId::rawId(), edm::second(), simHitCellEnBeam_, simHitCellEnEE_, simHitCellIdBeam_, simHitCellIdEE_, simHitCellTmBeam_, simHitCellTmEE_, HGCalDDDConstants::simToReco(), ntuplemaker::time, timeUnit_, HGCalTestNumbering::unpackHexagonIndex(), HcalTestBeamNumbering::unpackIndex(), x, y, and ecaldqm::zside().
Referenced by analyze(), and endRun().
|
private |
Definition at line 316 of file HGCalTimingAnalyzer.cc.
References gather_cfg::cout, DEFINE_FWK_MODULE, pBeam_, xBeam_, yBeam_, and zBeam_.
Referenced by analyze(), and endRun().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 142 of file HGCalTimingAnalyzer.cc.
References detectorEE_, doTree_, fs_, TFileService::make(), pBeam_, simHitCellEnBeam_, simHitCellEnEE_, simHitCellIdBeam_, simHitCellIdEE_, simHitCellTmBeam_, simHitCellTmEE_, AlCaHLTBitMon_QueryRunRegistry::string, tree_, xBeam_, yBeam_, and zBeam_.
|
overrideprivate |
Definition at line 159 of file HGCalTimingAnalyzer.cc.
References gather_cfg::cout, detectorEE_, edm::EventSetup::get(), hgcons_, and HGCalDDDConstants::layers().
|
inlineoverrideprivate |
Definition at line 59 of file HGCalTimingAnalyzer.cc.
References analyze(), analyzeSimHits(), analyzeSimTracks(), and hfClusterShapes_cfi::hits.
|
static |
Definition at line 127 of file HGCalTimingAnalyzer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), electrons_cff::ids, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 68 of file HGCalTimingAnalyzer.cc.
Referenced by analyze(), and HGCalTimingAnalyzer().
|
private |
Definition at line 68 of file HGCalTimingAnalyzer.cc.
Referenced by analyze(), beginJob(), beginRun(), and HGCalTimingAnalyzer().
|
private |
Definition at line 67 of file HGCalTimingAnalyzer.cc.
Referenced by analyze(), beginJob(), and HGCalTimingAnalyzer().
|
private |
Definition at line 65 of file HGCalTimingAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 67 of file HGCalTimingAnalyzer.cc.
Referenced by HGCalTimingAnalyzer().
|
private |
Definition at line 66 of file HGCalTimingAnalyzer.cc.
Referenced by analyzeSimHits(), and beginRun().
|
private |
Definition at line 70 of file HGCalTimingAnalyzer.cc.
Referenced by HGCalTimingAnalyzer().
|
private |
Definition at line 79 of file HGCalTimingAnalyzer.cc.
Referenced by analyzeSimTracks(), and beginJob().
|
private |
Definition at line 77 of file HGCalTimingAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 77 of file HGCalTimingAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 76 of file HGCalTimingAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 76 of file HGCalTimingAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 78 of file HGCalTimingAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 78 of file HGCalTimingAnalyzer.cc.
Referenced by analyze(), analyzeSimHits(), and beginJob().
|
private |
Definition at line 69 of file HGCalTimingAnalyzer.cc.
Referenced by analyzeSimHits(), and HGCalTimingAnalyzer().
|
private |
Definition at line 74 of file HGCalTimingAnalyzer.cc.
Referenced by analyze(), and HGCalTimingAnalyzer().
|
private |
Definition at line 71 of file HGCalTimingAnalyzer.cc.
Referenced by analyze(), and HGCalTimingAnalyzer().
|
private |
Definition at line 71 of file HGCalTimingAnalyzer.cc.
Referenced by analyze(), and HGCalTimingAnalyzer().
|
private |
Definition at line 72 of file HGCalTimingAnalyzer.cc.
Referenced by analyze(), and HGCalTimingAnalyzer().
|
private |
Definition at line 73 of file HGCalTimingAnalyzer.cc.
Referenced by analyze(), and HGCalTimingAnalyzer().
|
private |
Definition at line 75 of file HGCalTimingAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 79 of file HGCalTimingAnalyzer.cc.
Referenced by analyzeSimTracks(), and beginJob().
|
private |
Definition at line 79 of file HGCalTimingAnalyzer.cc.
Referenced by analyzeSimTracks(), and beginJob().
|
private |
Definition at line 79 of file HGCalTimingAnalyzer.cc.
Referenced by analyzeSimTracks(), and beginJob().