FairRoot/PandaRoot
Public Member Functions | Private Attributes | List of all members
RhoEventInfo Class Reference

#include <RhoEventInfo.h>

Inheritance diagram for RhoEventInfo:

Public Member Functions

 RhoEventInfo ()
 
virtual ~RhoEventInfo ()
 
virtual void PrintOn (std::ostream &o=std::cout) const
 
const TLorentzVector & CmFrame () const
 
const RhoVector3ErrBeamSpot () const
 
const RhoVector3Err PrimaryVertex () const
 
const RhoVector3ErrPrimaryVtx () const
 
const TVector3 * MCImpactPoint () const
 
const RhoEventShapeEventShape () const
 
void SetPrimaryVertex (RhoVector3Err *inVtx)
 
void SetIPTruth (const TLorentzVector &inVtx)
 
void SetIPTruth (const TVector3 &inVtx)
 
void SetBeamSpot (const RhoVector3Err &inVtx)
 
void SetCmFrame (const TLorentzVector &cmf)
 
void SetEventShape (RhoEventShape *eventShape)
 

Private Attributes

TLorentzVector fCmFrame
 
TVector3 * fMCIP
 The CMS frame. More...
 
RhoVector3Err fBeamSpot
 The MC interaction point. More...
 
RhoVector3ErrfPrimaryVertex
 The beam spot w/ error matrix. More...
 
RhoEventShapefEventShape
 The primary vertex. More...
 

Detailed Description

Definition at line 31 of file RhoEventInfo.h.

Constructor & Destructor Documentation

RhoEventInfo::RhoEventInfo ( )

Definition at line 23 of file RhoEventInfo.cxx.

23  :
25 {}
RhoVector3Err * fPrimaryVertex
The beam spot w/ error matrix.
Definition: RhoEventInfo.h:89
RhoVector3Err fBeamSpot
The MC interaction point.
Definition: RhoEventInfo.h:88
TVector3 * fMCIP
The CMS frame.
Definition: RhoEventInfo.h:87
RhoEventShape * fEventShape
The primary vertex.
Definition: RhoEventInfo.h:91
RhoEventInfo::~RhoEventInfo ( )
virtual

Definition at line 31 of file RhoEventInfo.cxx.

References fMCIP, and fPrimaryVertex.

32 {
33  delete fPrimaryVertex;
34  delete fMCIP;
35 }
RhoVector3Err * fPrimaryVertex
The beam spot w/ error matrix.
Definition: RhoEventInfo.h:89
TVector3 * fMCIP
The CMS frame.
Definition: RhoEventInfo.h:87

Member Function Documentation

const RhoVector3Err& RhoEventInfo::BeamSpot ( ) const
inline

Definition at line 57 of file RhoEventInfo.h.

References fBeamSpot.

57  {
58  return fBeamSpot;
59  }
RhoVector3Err fBeamSpot
The MC interaction point.
Definition: RhoEventInfo.h:88
const TLorentzVector& RhoEventInfo::CmFrame ( ) const
inline

Definition at line 53 of file RhoEventInfo.h.

References fCmFrame.

Referenced by RhoTotalMomentum::RhoTotalMomentum().

53  {
54  return fCmFrame;
55  }
TLorentzVector fCmFrame
Definition: RhoEventInfo.h:86
const RhoEventShape* RhoEventInfo::EventShape ( ) const
inline

Definition at line 68 of file RhoEventInfo.h.

References fEventShape.

68  {
69  return fEventShape;
70  }
RhoEventShape * fEventShape
The primary vertex.
Definition: RhoEventInfo.h:91
const TVector3* RhoEventInfo::MCImpactPoint ( ) const
inline

Definition at line 64 of file RhoEventInfo.h.

References fMCIP.

64  {
65  return fMCIP;
66  }
TVector3 * fMCIP
The CMS frame.
Definition: RhoEventInfo.h:87
const RhoVector3Err RhoEventInfo::PrimaryVertex ( ) const

Definition at line 46 of file RhoEventInfo.cxx.

References RhoVector3Err::CovMatrix(), and fPrimaryVertex.

47 {
48  return ( fPrimaryVertex == 0 ) ? RhoVector3Err ( TVector3 ( 0,0,0 ) ) :
49  RhoVector3Err ( *((TVector3*)fPrimaryVertex),fPrimaryVertex->CovMatrix() );
50 }
RhoVector3Err * fPrimaryVertex
The beam spot w/ error matrix.
Definition: RhoEventInfo.h:89
const RhoVector3Err* RhoEventInfo::PrimaryVtx ( ) const
inline

Definition at line 61 of file RhoEventInfo.h.

References fPrimaryVertex.

61  {
62  return fPrimaryVertex;
63  }
RhoVector3Err * fPrimaryVertex
The beam spot w/ error matrix.
Definition: RhoEventInfo.h:89
void RhoEventInfo::PrintOn ( std::ostream o = std::cout) const
virtual

Definition at line 72 of file RhoEventInfo.cxx.

Referenced by operator<<().

73 {
74 }
void RhoEventInfo::SetBeamSpot ( const RhoVector3Err inVtx)
inline

Definition at line 76 of file RhoEventInfo.h.

References fBeamSpot.

76  {
77  fBeamSpot=inVtx;
78  }
RhoVector3Err fBeamSpot
The MC interaction point.
Definition: RhoEventInfo.h:88
void RhoEventInfo::SetCmFrame ( const TLorentzVector &  cmf)
inline

Definition at line 79 of file RhoEventInfo.h.

References fCmFrame.

79  {
80  fCmFrame =cmf;
81  }
TLorentzVector fCmFrame
Definition: RhoEventInfo.h:86
void RhoEventInfo::SetEventShape ( RhoEventShape eventShape)

Definition at line 64 of file RhoEventInfo.cxx.

References fEventShape.

65 {
66  fEventShape = eventShape;
67 }
RhoEventShape * fEventShape
The primary vertex.
Definition: RhoEventInfo.h:91
void RhoEventInfo::SetIPTruth ( const TLorentzVector &  inVtx)

Definition at line 52 of file RhoEventInfo.cxx.

References fMCIP.

53 {
54  fMCIP=new TVector3 ( inVtx.X(),inVtx.Y(),inVtx.Z() );
55 }
TVector3 * fMCIP
The CMS frame.
Definition: RhoEventInfo.h:87
void RhoEventInfo::SetIPTruth ( const TVector3 &  inVtx)

Definition at line 58 of file RhoEventInfo.cxx.

References fMCIP.

59 {
60  fMCIP=new TVector3 ( inVtx );
61 }
TVector3 * fMCIP
The CMS frame.
Definition: RhoEventInfo.h:87
void RhoEventInfo::SetPrimaryVertex ( RhoVector3Err inVtx)

Definition at line 38 of file RhoEventInfo.cxx.

References fPrimaryVertex.

39 {
40  delete fPrimaryVertex;
41  fPrimaryVertex = inVtx;
42 // fPrimaryVertex = ( inVtx == 0 ) ? ( VAbsVertex* ) 0 : ( VAbsVertex* ) inVtx->Clone();
43 }
RhoVector3Err * fPrimaryVertex
The beam spot w/ error matrix.
Definition: RhoEventInfo.h:89

Member Data Documentation

RhoVector3Err RhoEventInfo::fBeamSpot
private

The MC interaction point.

Definition at line 88 of file RhoEventInfo.h.

Referenced by BeamSpot(), and SetBeamSpot().

TLorentzVector RhoEventInfo::fCmFrame
private

Definition at line 86 of file RhoEventInfo.h.

Referenced by CmFrame(), and SetCmFrame().

RhoEventShape* RhoEventInfo::fEventShape
private

The primary vertex.

Definition at line 91 of file RhoEventInfo.h.

Referenced by EventShape(), and SetEventShape().

TVector3* RhoEventInfo::fMCIP
private

The CMS frame.

Definition at line 87 of file RhoEventInfo.h.

Referenced by MCImpactPoint(), SetIPTruth(), and ~RhoEventInfo().

RhoVector3Err* RhoEventInfo::fPrimaryVertex
private

The beam spot w/ error matrix.

Definition at line 89 of file RhoEventInfo.h.

Referenced by PrimaryVertex(), PrimaryVtx(), SetPrimaryVertex(), and ~RhoEventInfo().


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