#include <dEdxAnalyzer.h>
Classes | |
struct | dEdxMEs |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Attributes | |
std::vector< std::string > | AlgoNames |
edm::ParameterSet | conf_ |
double | dEdxC |
std::vector< std::string > | dEdxInputList_ |
double | dEdxK |
std::vector< dEdxMEs > | dEdxMEsVector |
std::vector< edm::EDGetTokenT< reco::DeDxDataValueMap > > | dEdxTokenList_ |
bool | doAllPlots_ |
bool | doDeDxPlots_ |
DQMStore * | dqmStore_ |
edm::ParameterSet | fullconf_ |
GenericTriggerEventFlag * | genTriggerEventFlag_ |
double | HighPtThreshold |
double | HIPdEdxMin |
std::string | histname |
double | TrackHitMin |
edm::InputTag | trackInputTag_ |
std::string | TrackName |
edm::EDGetTokenT< reco::TrackCollection > | trackToken_ |
Additional Inherited Members | |
Public Types inherited from DQMEDAnalyzer | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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) |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Monitoring source for general quantities related to track dEdx.
Definition at line 34 of file dEdxAnalyzer.h.
|
explicit |
Definition at line 22 of file dEdxAnalyzer.cc.
References conf_, dEdxInputList_, dEdxTokenList_, edm::ParameterSet::getParameter(), HLT_2018_cff::InputTag, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, trackInputTag_, and trackToken_.
|
override |
Definition at line 39 of file dEdxAnalyzer.cc.
References genTriggerEventFlag_.
|
override |
Definition at line 156 of file dEdxAnalyzer.cc.
References GenericTriggerEventFlag::accept(), plot_hgcal_utils::dEdx, dEdxInputList_, dEdxMEsVector, dEdxTokenList_, doAllPlots_, doDeDxPlots_, genTriggerEventFlag_, edm::Event::getByToken(), HighPtThreshold, reco::TrackBase::highPurity, HIPdEdxMin, mps_fire::i, edm::HandleBase::isValid(), mass(), GenericTriggerEventFlag::on(), edm::Handle< T >::product(), OrderedSet::t, HLT_2018_cff::track, TrackHitMin, and trackToken_.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 65 of file dEdxAnalyzer.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), conf_, dEdxAnalyzer_cfi::dEdxBin, dEdxC, dEdxAnalyzer_cfi::dEdxHIPmassBin, dEdxAnalyzer_cfi::dEdxHIPmassMax, dEdxAnalyzer_cfi::dEdxHIPmassMin, dEdxInputList_, dEdxK, dEdxAnalyzer_cfi::dEdxMax, dEdxMEsVector, dEdxAnalyzer_cfi::dEdxMin, dEdxAnalyzer_cfi::dEdxMIPmassBin, dEdxAnalyzer_cfi::dEdxMIPmassMax, dEdxAnalyzer_cfi::dEdxMIPmassMin, dEdxAnalyzer_cfi::dEdxNHitBin, dEdxAnalyzer_cfi::dEdxNHitMax, dEdxAnalyzer_cfi::dEdxNHitMin, doAllPlots_, doDeDxPlots_, genTriggerEventFlag_, edm::ParameterSet::getParameter(), HighPtThreshold, HIPdEdxMin, histname, mps_fire::i, GenericTriggerEventFlag::initRun(), GenericTriggerEventFlag::on(), dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and TrackHitMin.
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 45 of file dEdxAnalyzer.cc.
References conf_, dqmStore_, edm::ParameterSet::getParameter(), reco_skim_cfg_mod::outputFileName, dqm::dqmstoreimpl::DQMStore::save(), dqm::dqmstoreimpl::DQMStore::showDirStructure(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
Definition at line 203 of file dEdxAnalyzer.cc.
References edm::ConfigurationDescriptions::addDefault(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setUnknown().
double dEdxAnalyzer::mass | ( | double | P, |
double | I | ||
) |
Definition at line 148 of file dEdxAnalyzer.cc.
References dEdxC, dEdxK, and mathSSE::sqrt().
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), and analyze().
|
private |
Definition at line 85 of file dEdxAnalyzer.h.
|
private |
Definition at line 51 of file dEdxAnalyzer.h.
Referenced by bookHistograms(), dEdxAnalyzer(), and endJob().
|
private |
Definition at line 76 of file dEdxAnalyzer.h.
Referenced by bookHistograms(), and mass().
|
private |
Definition at line 81 of file dEdxAnalyzer.h.
Referenced by analyze(), bookHistograms(), and dEdxAnalyzer().
|
private |
Definition at line 76 of file dEdxAnalyzer.h.
Referenced by bookHistograms(), and mass().
|
private |
Definition at line 86 of file dEdxAnalyzer.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 82 of file dEdxAnalyzer.h.
Referenced by analyze(), and dEdxAnalyzer().
|
private |
Definition at line 53 of file dEdxAnalyzer.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 54 of file dEdxAnalyzer.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 49 of file dEdxAnalyzer.h.
Referenced by endJob().
|
private |
Definition at line 50 of file dEdxAnalyzer.h.
|
private |
Definition at line 89 of file dEdxAnalyzer.h.
Referenced by analyze(), bookHistograms(), and ~dEdxAnalyzer().
|
private |
Definition at line 75 of file dEdxAnalyzer.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 75 of file dEdxAnalyzer.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 87 of file dEdxAnalyzer.h.
Referenced by bookHistograms().
|
private |
Definition at line 75 of file dEdxAnalyzer.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 78 of file dEdxAnalyzer.h.
Referenced by dEdxAnalyzer().
|
private |
Definition at line 84 of file dEdxAnalyzer.h.
|
private |
Definition at line 79 of file dEdxAnalyzer.h.
Referenced by analyze(), and dEdxAnalyzer().