Public Member Functions | |
TrackCategoriesAnalyzer (const edm::ParameterSet &) | |
~TrackCategoriesAnalyzer () | |
Public Member Functions inherited from edm::one::EDAnalyzer< 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 () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
TrackClassifier | classifier_ |
Int_t | numberTrackCategories_ |
std::size_t | totalTracks_ |
TH1F * | trackCategories_ |
edm::EDGetTokenT< edm::View < reco::Track > > | trackProducer_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 24 of file TrackCategoriesAnalyzer.cc.
|
explicit |
Definition at line 49 of file TrackCategoriesAnalyzer.cc.
References createBeamHaloJobs::directory, edm::ParameterSet::getUntrackedParameter(), i, TFileService::make(), TFileService::mkdir(), TrackCategories::Names, numberTrackCategories_, trackCategories_, trackProducer_, and TrackCategories::Unknown.
TrackCategoriesAnalyzer::~TrackCategoriesAnalyzer | ( | ) |
Definition at line 79 of file TrackCategoriesAnalyzer.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 82 of file TrackCategoriesAnalyzer.cc.
References classifier_, TrackClassifier::evaluate(), i, cmsHarvester::index, TrackCategories::is(), TrackClassifier::newEvent(), numberTrackCategories_, trackCategories_, HLT_25ns10e33_v2_cff::trackCollection, and trackProducer_.
|
private |
Definition at line 41 of file TrackCategoriesAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 45 of file TrackCategoriesAnalyzer.cc.
Referenced by analyze(), and TrackCategoriesAnalyzer().
|
private |
Definition at line 39 of file TrackCategoriesAnalyzer.cc.
|
private |
Definition at line 43 of file TrackCategoriesAnalyzer.cc.
Referenced by analyze(), and TrackCategoriesAnalyzer().
|
private |
Definition at line 37 of file TrackCategoriesAnalyzer.cc.
Referenced by analyze(), and TrackCategoriesAnalyzer().