|
| TrackingParticleCategoriesAnalyzer (const edm::ParameterSet &) |
|
| ~TrackingParticleCategoriesAnalyzer () |
|
| EDAnalyzer ()=default |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDAnalyzerBase () |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
TrackingParticleCategoriesAnalyzer::TrackingParticleCategoriesAnalyzer |
( |
const edm::ParameterSet & |
config | ) |
|
|
explicit |
Definition at line 49 of file TrackingParticleCategoriesAnalyser.cc.
References createBeamHaloJobs::directory, edm::ParameterSet::getUntrackedParameter(), mps_fire::i, TFileService::make(), TFileService::mkdir(), TrackCategories::Names, numberTrackingParticleCategories_, trackingParticleCategories_, trackingTruth_, and TrackCategories::Unknown.
55 usesResource(
"TFileService");
67 "Frequency for the different track categories",
70 numberTrackingParticleCategories_ - 0.5
T getUntrackedParameter(std::string const &, T const &) const
TH1F * trackingParticleCategories_
static const char *const Names[]
Name of the different categories.
T * make(const Args &...args) const
make new ROOT object
Int_t numberTrackingParticleCategories_
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
edm::EDGetTokenT< TrackingParticleCollection > trackingTruth_
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
TrackClassifier classifier_
TrackingParticleCategoriesAnalyzer::~TrackingParticleCategoriesAnalyzer |
( |
| ) |
|
Definition at line 82 of file TrackingParticleCategoriesAnalyser.cc.
References classifier_, DEFINE_FWK_MODULE, TrackClassifier::evaluate(), mps_fire::i, diffTreeTool::index, TrackCategories::is(), TrackClassifier::newEvent(), numberTrackingParticleCategories_, trackingParticleCategories_, and trackingTruth_.
TH1F * trackingParticleCategories_
Int_t numberTrackingParticleCategories_
TrackClassifier const & evaluate(reco::TrackBaseRef const &)
Classify the RecoTrack in categories.
void newEvent(edm::Event const &, edm::EventSetup const &)
Pre-process event information (for accessing reconstraction information)
edm::EDGetTokenT< TrackingParticleCollection > trackingTruth_
bool is(Category category) const
Returns track flag for a given category.
TrackClassifier classifier_
Category
Categories available to vertex.
Int_t TrackingParticleCategoriesAnalyzer::numberTrackingParticleCategories_ |
|
private |
std::size_t TrackingParticleCategoriesAnalyzer::totalTrakingParticles_ |
|
private |
TH1F* TrackingParticleCategoriesAnalyzer::trackingParticleCategories_ |
|
private |