![]() |
![]() |
Get track history and classify it in function of their . More...
#include <VertexClassifier.h>
Classes | |
struct | GeneratedPrimaryVertex |
Auxiliary class holding simulated primary vertices. More... | |
Public Types | |
typedef VertexCategories | Categories |
Type to the associate category. More... | |
![]() | |
enum | Category { Fake = 0, Reconstructed = Fake, SignalEvent, BWeakDecay, CWeakDecay, TauDecay, KsDecay, LambdaDecay, JpsiDecay, XiDecay, OmegaDecay, SigmaPlusDecay, SigmaMinusDecay, LongLivedDecay, KnownProcess, UndefinedProcess, UnknownProcess, PrimaryProcess, HadronicProcess, DecayProcess, ComptonProcess, AnnihilationProcess, EIoniProcess, HIoniProcess, MuIoniProcess, PhotonProcess, MuPairProdProcess, ConversionsProcess, EBremProcess, SynchrotronRadiationProcess, MuBremProcess, MuNuclProcess, PrimaryVertex, SecondaryVertex, TertiaryVertex, TierciaryVertex = TertiaryVertex, Unknown } |
Categories available to vertexes. More... | |
typedef std::vector< bool > | Flags |
Main types associated to the class. More... | |
Public Member Functions | |
VertexClassifier const & | evaluate (reco::VertexBaseRef const &) |
Classify the RecoVertex in categories. More... | |
VertexClassifier const & | evaluate (TrackingVertexRef const &) |
Classify the TrackingVertex in categories. More... | |
VertexClassifier const & | evaluate (reco::VertexRef const &vertex) |
Classify the RecoVertex in categories. More... | |
VertexHistory const & | history () const |
Returns a reference to the vertex history used in the classification. More... | |
virtual void | newEvent (edm::Event const &, edm::EventSetup const &) |
Pre-process event information (for accessing reconstraction information) More... | |
VertexClassifier (edm::ParameterSet const &pset, edm::ConsumesCollector &&) | |
Constructor by ParameterSet. More... | |
virtual | ~VertexClassifier () |
![]() | |
const Flags & | flags () const |
Returns flags with the category descriptions. More... | |
bool | is (Category category) const |
Returns track flag for a given category. More... | |
VertexCategories () | |
Void constructor. More... | |
Private Member Functions | |
void | genPrimaryVertices () |
bool | isCharged (const HepMC::GenParticle *) |
bool | isFinalstateParticle (const HepMC::GenParticle *) |
void | processesAtGenerator () |
Get all the information related to decay process. More... | |
void | processesAtSimulation () |
Get information about conversion and other interactions. More... | |
void | reconstructionInformation (reco::TrackBaseRef const &) |
Get reconstruction information. More... | |
void | simulationInformation () |
Get all the information related to the simulation details. More... | |
void | vertexInformation () |
Get geometrical information about the vertices. More... | |
Private Attributes | |
const G4toCMSLegacyProcTypeMap | g4toCMSProcMap_ |
std::vector < GeneratedPrimaryVertex > | genpvs_ |
const edm::InputTag | hepMCLabel_ |
double | longLivedDecayLength_ |
edm::Handle< edm::HepMCProduct > | mcInformation_ |
edm::ESHandle< ParticleDataTable > | particleDataTable_ |
VertexHistory | tracer_ |
double | vertexClusteringDistance_ |
Additional Inherited Members | |
![]() | |
static const char *const | Names [] |
Name of the different categories. More... | |
![]() | |
void | reset () |
Reset the categories flags. More... | |
void | unknownVertex () |
![]() | |
Flags | flags_ |
Flag containers. More... | |
Get track history and classify it in function of their .
Definition at line 18 of file VertexClassifier.h.
Type to the associate category.
Definition at line 24 of file VertexClassifier.h.
VertexClassifier::VertexClassifier | ( | edm::ParameterSet const & | pset, |
edm::ConsumesCollector && | collector | ||
) |
Constructor by ParameterSet.
Definition at line 17 of file VertexClassifier.cc.
|
inlinevirtual |
Definition at line 30 of file VertexClassifier.h.
VertexClassifier const & VertexClassifier::evaluate | ( | reco::VertexBaseRef const & | vertex | ) |
Classify the RecoVertex in categories.
Definition at line 51 of file VertexClassifier.cc.
Referenced by VertexClassifierByProxy< reco::SecondaryVertexTagInfoCollection >::evaluate(), and evaluate().
VertexClassifier const & VertexClassifier::evaluate | ( | TrackingVertexRef const & | vertex | ) |
Classify the TrackingVertex in categories.
Definition at line 81 of file VertexClassifier.cc.
|
inline |
Classify the RecoVertex in categories.
Definition at line 42 of file VertexClassifier.h.
References evaluate().
|
private |
Definition at line 457 of file VertexClassifier.cc.
|
inline |
Returns a reference to the vertex history used in the classification.
Definition at line 48 of file VertexClassifier.h.
References tracer_.
|
private |
Definition at line 444 of file VertexClassifier.cc.
|
private |
Definition at line 438 of file VertexClassifier.cc.
|
virtual |
Pre-process event information (for accessing reconstraction information)
Reimplemented in VertexClassifierByProxy< Collection >, and VertexClassifierByProxy< reco::SecondaryVertexTagInfoCollection >.
Definition at line 35 of file VertexClassifier.cc.
Referenced by VertexClassifierByProxy< reco::SecondaryVertexTagInfoCollection >::newEvent().
|
private |
Get all the information related to decay process.
Definition at line 123 of file VertexClassifier.cc.
|
private |
Get information about conversion and other interactions.
Definition at line 182 of file VertexClassifier.cc.
|
private |
Get reconstruction information.
|
private |
Get all the information related to the simulation details.
Definition at line 114 of file VertexClassifier.cc.
|
private |
Get geometrical information about the vertices.
Definition at line 303 of file VertexClassifier.cc.
|
private |
Definition at line 57 of file VertexClassifier.h.
|
private |
Definition at line 104 of file VertexClassifier.h.
|
private |
Definition at line 59 of file VertexClassifier.h.
|
private |
Definition at line 61 of file VertexClassifier.h.
|
private |
Definition at line 64 of file VertexClassifier.h.
|
private |
Definition at line 66 of file VertexClassifier.h.
|
private |
Definition at line 55 of file VertexClassifier.h.
Referenced by history().
|
private |
Definition at line 62 of file VertexClassifier.h.