Public Types | Public Member Functions | Private Attributes | List of all members
garana::Vee Class Reference

#include <Vee.h>

Inheritance diagram for garana::Vee:
garana::Vertex

Public Types

enum  hypothesis_t { Kshort =0, Lambda1 =1, Lambda2 =2 }
 

Public Member Functions

 Vee ()
 
 Vee (const TLorentzVector &vertex, const vector< TLorentzVector > &moms, const float &chisqr, const float *covar)
 
float const & GetChiSqr () const
 
const vector< TLorentzVector > * GetMomentaPerHypothesis () const
 
- Public Member Functions inherited from garana::Vertex
 Vertex ()
 
 Vertex (const TLorentzVector &position, const float *covar)
 
TLorentzVector * GetVertex ()
 
void GetCovar (float covar[][3])
 

Private Attributes

vector< TLorentzVector > fMomPerHypoth
 four-momentum of vee, one per hypothesis [GeV] More...
 
float fChisqr
 
float fCovar [3][3]
 

Additional Inherited Members

- Protected Attributes inherited from garana::Vertex
TLorentzVector fPosition
 4-position of vertex [cm,ns] More...
 
float fCovar [3][3]
 vertex 3-position fit uncertainties [cm] More...
 

Detailed Description

Definition at line 16 of file Vee.h.

Member Enumeration Documentation

enum garana::Vee::hypothesis_t
Enumerator
Kshort 
Lambda1 
Lambda2 

Definition at line 21 of file Vee.h.

Constructor & Destructor Documentation

Vee::Vee ( )

Definition at line 13 of file Vee.cxx.

13  {
14  fChisqr = FLT_MAX;
15  fPosition.SetXYZT(FLT_MAX,FLT_MAX,FLT_MAX,FLT_MAX);
16  for(size_t i=0; i<3; i++){
17 
18  //fMomPerHypoth[i].SetPxPyPzE(FLT_MAX,FLT_MAX,FLT_MAX,FLT_MAX);
19  //fCovar = new float*[3];
20 
21  for(size_t j=0; j<3; j++){
22  //fCovar[i] = new float[3];
23  fCovar[i][j] = FLT_MAX;
24  }
25  }
26 } //
float fCovar[3][3]
Definition: Vee.h:36
TLorentzVector fPosition
4-position of vertex [cm,ns]
Definition: Vertex.h:33
float fChisqr
Definition: Vee.h:35
Vee::Vee ( const TLorentzVector &  vertex,
const vector< TLorentzVector > &  moms,
const float &  chisqr,
const float *  covar 
)

Definition at line 28 of file Vee.cxx.

28  {
29 
30  fChisqr = chisqr;
31  fPosition = vertex;
32 
33  for(size_t i=0; i<3; i++){
34 
35  //fMomPerHypoth[i] = moms[i];
36  fMomPerHypoth.push_back(moms[i]);
37  //fCovar = new float*[3];
38 
39  for(size_t j=0; j<3; j++){
40  // fCovar[i] = new float[3];
41  fCovar[i][j] = covar[0]; //TODO check input array dimensions
42 
43  }
44  }
45 } //
float fCovar[3][3]
Definition: Vee.h:36
TLorentzVector fPosition
4-position of vertex [cm,ns]
Definition: Vertex.h:33
vector< TLorentzVector > fMomPerHypoth
four-momentum of vee, one per hypothesis [GeV]
Definition: Vee.h:34
float fChisqr
Definition: Vee.h:35
vertex reconstruction

Member Function Documentation

float const & Vee::GetChiSqr ( ) const

Definition at line 47 of file Vee.cxx.

47  {
48  return fChisqr;
49 }
float fChisqr
Definition: Vee.h:35
const vector< TLorentzVector > * Vee::GetMomentaPerHypothesis ( ) const

Definition at line 51 of file Vee.cxx.

51  {
52  return &fMomPerHypoth;
53 }
vector< TLorentzVector > fMomPerHypoth
four-momentum of vee, one per hypothesis [GeV]
Definition: Vee.h:34

Member Data Documentation

float garana::Vee::fChisqr
private

Definition at line 35 of file Vee.h.

float garana::Vee::fCovar[3][3]
private

Definition at line 36 of file Vee.h.

vector<TLorentzVector> garana::Vee::fMomPerHypoth
private

four-momentum of vee, one per hypothesis [GeV]

Definition at line 34 of file Vee.h.


The documentation for this class was generated from the following files: