All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
VertexMCOperator.hh
Go to the documentation of this file.
1 #include <EVENT/MCParticle.h>
2 #include <IMPL/ReconstructedParticleImpl.h>
3 #include "marlin/VerbosityLevels.h"
4 
5 #include <EVENT/LCCollection.h>
6 #include <UTIL/LCRelationNavigator.h>
7 #include <IMPL/VertexImpl.h>
8 #include "DecayChain.hh"
9 #include "MyVertex.hh"
10 #include "ConstantStorage.hh"
11 #include "MathOperator.hh"
12 #ifndef _VertexMCOperator_hh
13 #define _VertexMCOperator_hh
14 namespace TTbarAnalysis
15 {
17  {
18  public:
19  //
20  // Constants
21  //
22 
23  //
24  // Constructors
25  //
26  VertexMCOperator (EVENT::LCCollection * rel);
27  virtual ~VertexMCOperator () {};
28  VertexMCOperator(const VertexMCOperator&) = delete;
30  //
31  // Methods
32  //
33  std::vector< EVENT::Vertex * > * Construct(DecayChain * chain);
34  void AddProngs(EVENT::Vertex * vertex, std::vector< EVENT::MCParticle * > & particles, bool usingRelation = false);
35  private:
36  //
37  // Data
38  //
39  EVENT::LCCollection * myRelCollection{};
40  /* data */
41  //
42  // Private methods
43  //
44  EVENT::Vertex * construct(EVENT::MCParticle * particle, const double * ip, int pdg, int number);
45  void addParticle(EVENT::Vertex * vertex, EVENT::MCParticle * particle);
46  EVENT::ReconstructedParticle * translate(EVENT::MCParticle * particle);
47  EVENT::ReconstructedParticle * getReco(EVENT::MCParticle * particle);
48  };
49 }
50 #endif
VertexMCOperator(EVENT::LCCollection *rel)
EVENT::ReconstructedParticle * translate(EVENT::MCParticle *particle)
void addParticle(EVENT::Vertex *vertex, EVENT::MCParticle *particle)
EVENT::LCCollection * myRelCollection
EVENT::Vertex * construct(EVENT::MCParticle *particle, const double *ip, int pdg, int number)
std::vector< EVENT::Vertex * > * Construct(DecayChain *chain)
EVENT::ReconstructedParticle * getReco(EVENT::MCParticle *particle)
VertexMCOperator & operator=(const VertexMCOperator &)=delete
void AddProngs(EVENT::Vertex *vertex, std::vector< EVENT::MCParticle * > &particles, bool usingRelation=false)