Public Member Functions | |
HcalIsoTrkAnalyzer (edm::ParameterSet const &) | |
~HcalIsoTrkAnalyzer () | |
Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::SharedResources > | |
EDAnalyzer ()=default | |
Public Member Functions inherited from edm::one::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDAnalyzerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 |
virtual void | beginJob () |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) override |
double | dR (math::XYZTLorentzVector &, math::XYZTLorentzVector &) |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) override |
int | fillTree (std::vector< math::XYZTLorentzVector > &vecL1, std::vector< math::XYZTLorentzVector > &vecL3, math::XYZPoint &leadPV, std::vector< spr::propagatedTrackDirection > &trkCaloDirections, const CaloGeometry *geo, edm::Handle< EcalRecHitCollection > &barrelRecHitsHandle, edm::Handle< EcalRecHitCollection > &endcapRecHitsHandle, edm::Handle< HBHERecHitCollection > &hbhe) |
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 68 of file HcalIsoTrkAnalyzer.cc.
|
explicit |
Definition at line 130 of file HcalIsoTrkAnalyzer.cc.
References a_charIsoR_, a_coneR_, a_mipR_, dataType_, eEcalMax_, eIsolation_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hcalScale_, ignoreTrigger_, HLT_25ns10e33_v2_cff::InputTag, relval_2017::k, l1Filter_, l2Filter_, l3Filter_, labelEB_, labelEE_, labelGenTrack_, labelHBHE_, labelRecVtx_, spr::trackSelectionParameters::maxChi2, spr::trackSelectionParameters::maxDpOverP, spr::trackSelectionParameters::maxDxyPV, spr::trackSelectionParameters::maxDzPV, spr::trackSelectionParameters::maxInMiss, spr::trackSelectionParameters::maxOutMiss, maxRestrictionPt_, spr::trackSelectionParameters::minLayerCrossed, spr::trackSelectionParameters::minOuterHit, spr::trackSelectionParameters::minPt, spr::trackSelectionParameters::minQuality, processName_, pTrackMin_, reco::TrackBase::qualityByName(), selectionParameter_, slopeRestrictionPt_, AlCaHLTBitMon_QueryRunRegistry::string, theTrackQuality_, theTriggerResultsLabel_, tok_bs_, tok_EB_, tok_EE_, tok_genTrack_, tok_hbhe_, tok_recVtx_, tok_trigEvt_, tok_trigRes_, triggerEvent_, trigNames_, and useRaw_.
HcalIsoTrkAnalyzer::~HcalIsoTrkAnalyzer | ( | ) |
Definition at line 236 of file HcalIsoTrkAnalyzer.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 238 of file HcalIsoTrkAnalyzer.cc.
References ecalTB2006H4_GenSimDigiReco_cfg::bField, edm::EventBase::bunchCrossing(), dataType_, fileCollector::done, dR(), trigger::TriggerObject::energy(), trigger::TriggerObject::eta(), edm::EventID::event(), fillTree(), trigger::TriggerEvent::filterKeys(), trigger::TriggerEvent::filterTag(), spr::find(), edm::EventSetup::get(), edm::Event::getByToken(), trigger::TriggerEvent::getObjects(), runregparse::hlt, hltConfig_, i, trigger::TriggerObject::id(), edm::EventBase::id(), ignoreTrigger_, edm::HandleBase::isValid(), relval_2017::k, l1Filter_, l2Filter_, l3Filter_, edm::InputTag::label(), diffTwoXMLs::label, labelEB_, labelEE_, labelGenTrack_, labelHBHE_, edm::EventBase::luminosityBlock(), trigger::TriggerObject::mass(), HLTConfigProvider::moduleLabels(), edmConvertToStreamModule::modules, convertSQLiteXML::ok, trigger::TriggerObject::phi(), edm::Handle< T >::product(), edm::ESHandle< class >::product(), spr::propagateCALO(), trigger::TriggerObject::pt(), trigger::TriggerObject::px(), trigger::TriggerObject::py(), trigger::TriggerObject::pz(), edm::EventID::run(), trigger::TriggerEvent::sizeFilters(), AlCaHLTBitMon_QueryRunRegistry::string, t_DataType, t_Event, t_EventWeight, t_goodPV, t_ietaAll, t_ietaGood, t_l1eta, t_l1phi, t_l1pt, t_l3eta, t_l3phi, t_l3pt, t_Run, t_Tracks, t_TracksProp, t_TracksSaved, t_trgbits, theTrackQuality_, tok_bs_, tok_EB_, tok_EE_, tok_genTrack_, tok_hbhe_, tok_recVtx_, tok_trigEvt_, tok_trigRes_, tree2, triggerEvent_, HLTConfigProvider::triggerIndex(), edm::TriggerNames::triggerNames(), edm::Event::triggerNames(), triggerResults, trigNames_, x, y, and z.
|
privatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 465 of file HcalIsoTrkAnalyzer.cc.
References fs, TFileService::make(), t_DataType, t_DetIds, t_eHcal, t_eMipDR, t_Event, t_EventWeight, t_goodPV, t_HitEnergies, t_hmaxNearP, t_ieta, t_ietaAll, t_ietaGood, t_l1eta, t_l1phi, t_l1pt, t_l3eta, t_l3phi, t_l3pt, t_mindR1, t_mindR2, t_p, t_qltyFlag, t_qltyMissFlag, t_qltyPVFlag, t_Run, t_selectTk, t_Tracks, t_TracksProp, t_TracksSaved, t_trgbits, tree, and tree2.
|
privatevirtual |
Definition at line 549 of file HcalIsoTrkAnalyzer.cc.
|
overrideprivatevirtual |
Definition at line 512 of file HcalIsoTrkAnalyzer.cc.
References hltConfig_, HLTConfigProvider::init(), gen::n, nRun_, processName_, edm::RunBase::run(), HLTConfigProvider::size(), HLTConfigProvider::triggerIndex(), and trigNames_.
|
private |
Definition at line 680 of file HcalIsoTrkAnalyzer.cc.
References reco::deltaR().
Referenced by analyze(), and fillTree().
|
privatevirtual |
Definition at line 551 of file HcalIsoTrkAnalyzer.cc.
|
overrideprivatevirtual |
Definition at line 543 of file HcalIsoTrkAnalyzer.cc.
References nRun_, and edm::RunBase::run().
|
static |
Definition at line 553 of file HcalIsoTrkAnalyzer.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 561 of file HcalIsoTrkAnalyzer.cc.
References a_charIsoR_, a_coneR_, a_mipR_, funct::abs(), spr::chargeIsolationCone(), dR(), spr::eCone_ecal(), spr::eCone_hcal(), eEcalMax_, eIsolation_, reco::TrackBase::eta(), spr::goodTrack(), hcalScale_, HcalDetId::ieta(), relval_2017::k, spr::trackSelectionParameters::maxDxyPV, spr::trackSelectionParameters::maxDzPV, spr::trackSelectionParameters::maxInMiss, spr::trackSelectionParameters::maxOutMiss, maxRestrictionPt_, spr::trackSelectionParameters::minPt, nTracks(), reco::TrackBase::p(), reco::TrackBase::phi(), reco::TrackBase::pt(), pTrackMin_, reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), selectionParameter_, slopeRestrictionPt_, t_DetIds, t_eHcal, t_eMipDR, t_HitEnergies, t_hmaxNearP, t_ieta, t_ietaAll, t_ietaGood, t_mindR1, t_mindR2, t_p, t_qltyFlag, t_qltyMissFlag, t_qltyPVFlag, t_selectTk, t_trgbits, tree, and useRaw_.
Referenced by analyze(), and core.AutoFillTreeProducer.AutoFillTreeProducer::process().
|
private |
Definition at line 101 of file HcalIsoTrkAnalyzer.cc.
Referenced by fillTree(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 101 of file HcalIsoTrkAnalyzer.cc.
Referenced by fillTree(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 101 of file HcalIsoTrkAnalyzer.cc.
Referenced by fillTree(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 99 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 102 of file HcalIsoTrkAnalyzer.cc.
Referenced by fillTree(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 102 of file HcalIsoTrkAnalyzer.cc.
Referenced by fillTree(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 95 of file HcalIsoTrkAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 102 of file HcalIsoTrkAnalyzer.cc.
Referenced by fillTree(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 96 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 107 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 106 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 106 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 106 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 104 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 104 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 104 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 105 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 104 of file HcalIsoTrkAnalyzer.cc.
Referenced by HcalIsoTrkAnalyzer().
|
private |
Definition at line 100 of file HcalIsoTrkAnalyzer.cc.
Referenced by fillTree(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 94 of file HcalIsoTrkAnalyzer.cc.
Referenced by beginRun(), and endRun().
|
private |
Definition at line 124 of file HcalIsoTrkAnalyzer.cc.
|
private |
Definition at line 105 of file HcalIsoTrkAnalyzer.cc.
Referenced by beginRun(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 102 of file HcalIsoTrkAnalyzer.cc.
Referenced by fillTree(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 98 of file HcalIsoTrkAnalyzer.cc.
Referenced by fillTree(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 100 of file HcalIsoTrkAnalyzer.cc.
Referenced by fillTree(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 118 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 123 of file HcalIsoTrkAnalyzer.cc.
Referenced by beginJob(), and fillTree().
|
private |
Definition at line 121 of file HcalIsoTrkAnalyzer.cc.
Referenced by beginJob(), and fillTree().
|
private |
Definition at line 121 of file HcalIsoTrkAnalyzer.cc.
Referenced by beginJob(), and fillTree().
|
private |
Definition at line 118 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 119 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 118 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 124 of file HcalIsoTrkAnalyzer.cc.
Referenced by beginJob(), and fillTree().
|
private |
Definition at line 121 of file HcalIsoTrkAnalyzer.cc.
Referenced by beginJob(), and fillTree().
|
private |
Definition at line 118 of file HcalIsoTrkAnalyzer.cc.
Referenced by beginJob(), and fillTree().
|
private |
Definition at line 127 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), beginJob(), and fillTree().
|
private |
Definition at line 127 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), beginJob(), and fillTree().
|
private |
Definition at line 119 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 119 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 119 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 120 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 120 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 120 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 120 of file HcalIsoTrkAnalyzer.cc.
Referenced by beginJob(), and fillTree().
|
private |
Definition at line 121 of file HcalIsoTrkAnalyzer.cc.
Referenced by beginJob(), and fillTree().
|
private |
Definition at line 120 of file HcalIsoTrkAnalyzer.cc.
Referenced by beginJob(), and fillTree().
|
private |
Definition at line 122 of file HcalIsoTrkAnalyzer.cc.
Referenced by beginJob(), and fillTree().
|
private |
Definition at line 122 of file HcalIsoTrkAnalyzer.cc.
Referenced by beginJob(), and fillTree().
|
private |
Definition at line 122 of file HcalIsoTrkAnalyzer.cc.
Referenced by beginJob(), and fillTree().
|
private |
Definition at line 118 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 122 of file HcalIsoTrkAnalyzer.cc.
Referenced by beginJob(), and fillTree().
|
private |
Definition at line 126 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 126 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 126 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 125 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), beginJob(), and fillTree().
|
private |
Definition at line 105 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 103 of file HcalIsoTrkAnalyzer.cc.
Referenced by HcalIsoTrkAnalyzer().
|
private |
Definition at line 112 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 113 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 114 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 110 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 115 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 111 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 108 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 109 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 117 of file HcalIsoTrkAnalyzer.cc.
Referenced by eventstfile.Events::__iter__(), svgfig.SVG::__str__(), beginJob(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer::beginLoop(), MetTreeProducer.MetTreeProducer::declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer::declareVariables(), fillTree(), core.AutoFillTreeProducer.AutoFillTreeProducer::fillTree(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer::process(), MetTreeProducer.MetTreeProducer::process(), python.cmstools.EventTree::SetAlias(), and eventstfile.Events::to().
|
private |
Definition at line 117 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 103 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 97 of file HcalIsoTrkAnalyzer.cc.
Referenced by analyze(), beginRun(), and HcalIsoTrkAnalyzer().
|
private |
Definition at line 107 of file HcalIsoTrkAnalyzer.cc.
Referenced by fillTree(), and HcalIsoTrkAnalyzer().