Go to the documentation of this file.
2 #ifndef TrackClassifier_h
3 #define TrackClassifier_h
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoHandToken_
edm::ESHandle< MagneticField > magneticField_
TrackClassifier(edm::ParameterSet const &, edm::ConsumesCollector &&)
Constructor by ParameterSet.
edm::Handle< reco::BeamSpot > beamSpot_
std::vector< int > finalstateParticles
bool operator<(GeneratedPrimaryVertex const &reference) const
const TrackHistory & history() const
Returns a reference to the track history used in the classification.
const TrackerTopology * tTopo_
unsigned int minTrackerSimHits_
GeneratedPrimaryVertex(double x1, double y1, double z1)
const edm::InputTag beamSpotLabel_
const edm::InputTag hepMCLabel_
Auxiliary class holding simulated primary vertices.
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldToken_
bool isCharged(const HepMC::GenParticle *)
edm::Handle< edm::HepMCProduct > mcInformation_
void processesAtSimulation()
Get information about conversion and other interactions.
const TrackClassifier & evaluate(reco::TrackBaseRef const &)
Classify the RecoTrack in categories.
edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > transientTrackBuilderToken_
unsigned int numberOfInnerLayers_
void hadronFlavor()
Get hadron flavor of the initial hadron.
This class analyses the reconstruction quality for a given track.
const TrackQuality & quality() const
Returns a reference to the track quality used in the classification.
std::vector< GeneratedPrimaryVertex > genpvs_
void processesAtGenerator()
Get all the information related to decay process.
std::vector< int > simTrackIndex
void newEvent(edm::Event const &, edm::EventSetup const &)
Pre-process event information (for accessing reconstraction information)
edm::ESHandle< ParticleDataTable > particleDataTable_
void vertexInformation()
Get geometrical information about the vertices.
void qualityInformation(reco::TrackBaseRef const &)
Classify all the tracks by their reconstruction quality.
double vertexClusteringSqDistance_
const TrackClassifier & evaluate(reco::TrackRef const &track)
Classify the RecoTrack in categories.
void reconstructionInformation(reco::TrackBaseRef const &)
edm::ESHandle< TransientTrackBuilder > transientTrackBuilder_
double longLivedDecayLength_
This class traces the simulated and generated history of a given track.
void simulationInformation()
Get all the information related to the simulation details.
const G4toCMSLegacyProcTypeMap g4toCMSProcMap_
Get track history and classify it in function of their .
void genPrimaryVertices()
bool isFinalstateParticle(const HepMC::GenParticle *)
std::vector< int > genVertex
TrackCategories Categories
Type to the associate category.