CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
VZero.h
Go to the documentation of this file.
1 #ifndef _VZero_h_
2 #define _VZero_h_
3 
9 
10 #include <utility>
11 
12 namespace reco {
13 
14  class VZeroData
15  {
16  public:
19  std::pair<GlobalVector,GlobalVector> momenta;
20  };
21 
22  class VZero
23  {
24  public:
25  // default constructor
26  VZero() { }
27 
28  // constructor from parameters
29  VZero(const Vertex& vertex, const VZeroData& data);
30 
31  // decay/conversion vertex
32  Vertex vertex() const { return vertex_; }
33 
34  // position of vertex
36 
37  // reference to positive daughter
39  { return (*(vertex_.tracks_begin() )).castTo<reco::TrackRef>(); }
40 
41  // reference to negative daughter
43  { return (*(vertex_.tracks_begin()+1)).castTo<reco::TrackRef>(); }
44 
45  // distance of closest approach
46  float dca() const { return data_.dca; }
47 
48  // impact parameter of the mother particle
49  float impactMother() const { return data_.impactMother; }
50 
51  // Armenteros variables
52  float armenterosPt() const { return data_.armenterosPt; }
53  float armenterosAlpha() const { return data_.armenterosAlpha; }
54 
55  // Momentum
56  std::pair<GlobalVector,GlobalVector> momenta() const { return data_.momenta; }
57 
58  private:
61  };
62 }
63 
64 #endif
float armenterosPt() const
Definition: VZero.h:52
math::GlobalPoint crossingPoint
Definition: VZero.h:18
Vertex::Point crossingPoint() const
Definition: VZero.h:35
VZero()
Definition: VZero.h:26
TrackRef positiveDaughter() const
Definition: VZero.h:38
float armenterosPt
Definition: VZero.h:17
const Point & position() const
position
Definition: Vertex.h:99
std::pair< GlobalVector, GlobalVector > momenta
Definition: VZero.h:19
float dca() const
Definition: VZero.h:46
float dca
Definition: VZero.h:17
float armenterosAlpha
Definition: VZero.h:17
float impactMother() const
Definition: VZero.h:49
math::XYZPoint Point
point in the space
Definition: Vertex.h:39
TrackRef negativeDaughter() const
Definition: VZero.h:42
float impactMother
Definition: VZero.h:17
VZeroData data_
Definition: VZero.h:60
Vertex vertex() const
Definition: VZero.h:32
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalPoint
point in global coordinate system
Definition: Point3D.h:17
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
float armenterosAlpha() const
Definition: VZero.h:53
trackRef_iterator tracks_begin() const
first iterator over tracks
Definition: Vertex.cc:39
std::pair< GlobalVector, GlobalVector > momenta() const
Definition: VZero.h:56
Vertex vertex_
Definition: VZero.h:59