2 #ifndef VertexClassifier_h 3 #define VertexClassifier_h 90 std::vector<GeneratedPrimaryVertex>
genpvs_;
edm::Handle< edm::HepMCProduct > mcInformation_
This class traces the simulated and generated history of a given track.
edm::ESGetToken< ParticleDataTable, edm::DefaultRecord > particleDataTableToken_
void vertexInformation()
Get geometrical information about the vertices.
std::vector< GeneratedPrimaryVertex > genpvs_
GeneratedPrimaryVertex(double x1, double y1, double z1)
const edm::InputTag hepMCLabel_
bool isCharged(const HepMC::GenParticle *)
Get track history and classify it in function of their .
VertexCategories Categories
Type to the associate category.
bool isFinalstateParticle(const HepMC::GenParticle *)
VertexClassifier(edm::ParameterSet const &pset, edm::ConsumesCollector)
Constructor by ParameterSet.
void genPrimaryVertices()
void reconstructionInformation(reco::TrackBaseRef const &)
Get reconstruction information.
VertexClassifier const & evaluate(reco::VertexBaseRef const &)
Classify the RecoVertex in categories.
std::vector< int > finalstateParticles
double longLivedDecayLength_
edm::ESHandle< ParticleDataTable > particleDataTable_
const G4toCMSLegacyProcTypeMap g4toCMSProcMap_
VertexHistory const & history() const
Returns a reference to the vertex history used in the classification.
virtual ~VertexClassifier()
VertexClassifier const & evaluate(reco::VertexRef const &vertex)
Classify the RecoVertex in categories.
std::vector< int > simTrackIndex
void processesAtGenerator()
Get all the information related to decay process.
bool operator<(GeneratedPrimaryVertex const &reference) const
double vertexClusteringDistance_
virtual void newEvent(edm::Event const &, edm::EventSetup const &)
Pre-process event information (for accessing reconstraction information)
void processesAtSimulation()
Get information about conversion and other interactions.
Auxiliary class holding simulated primary vertices.
std::vector< int > genVertex
void simulationInformation()
Get all the information related to the simulation details.