StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
StEEmcPair Class Reference

A class to represent pairs of points. More...

Inheritance diagram for StEEmcPair:

Public Member Functions

 StEEmcPair ()
 Default constructor (don't use except for placeholder)
 
 StEEmcPair (const StEEmcPoint &p1, const StEEmcPoint &p2)
 
 StEEmcPair (const StEEmcPoint &p1, const StEEmcPoint &p2, const TVector3 &vertex)
 Reconstruct a pair of real photons with a common vertex.
 
 StEEmcPair (const StEEmcPoint &p1, const StEEmcPoint &p2, const TVector3 &vertex1, const TVector3 &vertex2)
 Reconstruct a mixed-event pair with vertex from each event. More...
 
virtual ~StEEmcPair ()
 Destructor.
 
 StEEmcPair (const StEEmcPair &old)
 Copy constructor. More...
 
const StEEmcPointpoint (Int_t index) const
 
Float_t mass () const
 Returns invariant mass of pair.
 
Float_t energy () const
 Returns energy of pair.
 
Float_t zgg () const
 Returns energy-sharing of pair.
 
Float_t phigg () const
 Returns opening-angle of pair.
 
Float_t pt () const
 Returns pt of pair.
 
const TVector3 & momentum () const
 Returns momentum of pair.
 
const TVector3 & vertex () const
 Returns vertex of pair.
 
void print () const
 Prints a one-line summary of the pair.
 
 StEEmcPair ()
 Default constructor (don't use except for placeholder)
 
 StEEmcPair (StEEmcPoint p1, StEEmcPoint p2)
 
 StEEmcPair (StEEmcPoint p1, StEEmcPoint p2, TVector3 vertex)
 Reconstruct a pair of real photons with a common vertex.
 
 StEEmcPair (StEEmcPoint p1, StEEmcPoint p2, TVector3 vertex1, TVector3 vertex2)
 Reconstruct a mixed-event pair with vertex from each event. More...
 
 ~StEEmcPair ()
 Destructor.
 
 StEEmcPair (const StEEmcPair &old)
 Copy constructor.
 
StEEmcPoint point (Int_t index)
 
Float_t mass ()
 Returns invariant mass of pair.
 
Float_t energy ()
 Returns energy of pair.
 
Float_t zgg ()
 Returns energy-sharing of pair.
 
Float_t phigg ()
 Returns opening-angle of pair.
 
Float_t pt ()
 Returns pt of pair.
 
TVector3 momentum ()
 Returns momentum of pair.
 
TVector3 vertex ()
 Returns vertex of pair.
 

Protected Member Functions

void Kinematics ()
 Called by constructor to reconstruct two-body kinematics. More...
 
 ClassDef (StEEmcPair, 1)
 Makes class available in root.
 
void Kinematics ()
 
 ClassDef (StEEmcPair, 1)
 

Protected Attributes

Float_t mMass
 
Float_t mEnergy
 
Float_t mZgg
 
Float_t mPhigg
 
TVector3 mMomentum
 
TVector3 mVertex1
 
TVector3 mVertex2
 
TVector3 mVertex
 
StEEmcPoint mPoint [2]
 

Detailed Description

A class to represent pairs of points.

StEEmcPair is a class which represents the pairing of two EEMC points. The constructor takes in two points and (up to) two vertices. The two-body decay kinematics are computed at the average z-vertex.

When mixing real pi0 pair candidates, we use a common vertex. When a combinatoric background is being mixed, we have the option to use two seperate vertices. Whether this is the optimal solution or not should be studied.

Author
Weihong He

StEEmcPair is a class which represents the pairing of two EEMC points. The constructor takes in two points and (up to) two vertices. The two-body decay kinematics are computed at the average z-vertex.

When mixing real pi0 pair candidates, we use a common vertex. When a combinatoric background is being mixed, we have the option to use two seperate vertices. Whether this is the optimal solution or not should be studied.

Author
Jason C. Webb

Definition at line 9 of file StEEmcPair.h.

Constructor & Destructor Documentation

StEEmcPair::StEEmcPair ( const StEEmcPoint p1,
const StEEmcPoint p2 
)

Reconstruct point pairs where vertex doesn't matter or isn't available (i.e. in production)

Definition at line 42 of file StEEmcPair.cxx.

References StEEmcPair().

StEEmcPair::StEEmcPair ( const StEEmcPoint p1,
const StEEmcPoint p2,
const TVector3 &  vertex1,
const TVector3 &  vertex2 
)

Reconstruct a mixed-event pair with vertex from each event.

initialize to zero

compute kinematics

Definition at line 52 of file StEEmcPair.cxx.

References Kinematics(), mEnergy, mMass, mMomentum, mPhigg, mPoint, mVertex1, mVertex2, and mZgg.

StEEmcPair::StEEmcPair ( const StEEmcPair old)

Copy constructor.

initialize to zero

Definition at line 111 of file StEEmcPair.cxx.

References mEnergy, mMass, mMomentum, mPhigg, mPoint, mVertex, mVertex1, mVertex2, and mZgg.

StEEmcPair::StEEmcPair ( StEEmcPoint  p1,
StEEmcPoint  p2 
)

Reconstruct point pairs where vertex doesn't matter or isn't available (i.e. in production)

Definition at line 19 of file StEEmcPair.cxx.

References StEEmcPair().

StEEmcPair::StEEmcPair ( StEEmcPoint  p1,
StEEmcPoint  p2,
TVector3  vertex1,
TVector3  vertex2 
)

Reconstruct a mixed-event pair with vertex from each event.

initialize to zero

compute kinematics

Definition at line 29 of file StEEmcPair.cxx.

References Kinematics(), mEnergy, mMass, mMomentum, mPhigg, mPoint, mVertex1, mVertex2, and mZgg.

Member Function Documentation

void StEEmcPair::Kinematics ( )
protected

Called by constructor to reconstruct two-body kinematics.

Determine energy of candidate meson

Energy sharing

Momenta of each gamma

Opening angle between gammas

Total momentum

Set the "mean" vertex

Calculate invariant mass

Definition at line 71 of file StEEmcPair.cxx.

References StEEmcPoint::energy(), energy(), mEnergy, mMass, mMomentum, mPhigg, mPoint, mVertex, mVertex1, mVertex2, mZgg, and StEEmcPoint::position().

Referenced by StEEmcPair().

const StEEmcPoint& StEEmcPair::point ( Int_t  index) const
inline
StEEmcPoint StEEmcPair::point ( Int_t  index)
inline

Returns specified point index [0,1]

Definition at line 30 of file StEEmcPair.h.

References mPoint.

Member Data Documentation

Float_t StEEmcPair::mEnergy
protected
  • total energy

Definition at line 57 of file StEEmcPair.h.

Referenced by energy(), Kinematics(), and StEEmcPair().

Float_t StEEmcPair::mMass
protected
  • invariant mass

Definition at line 56 of file StEEmcPair.h.

Referenced by Kinematics(), mass(), and StEEmcPair().

TVector3 StEEmcPair::mMomentum
protected
  • self-evident

Definition at line 60 of file StEEmcPair.h.

Referenced by Kinematics(), momentum(), pt(), and StEEmcPair().

Float_t StEEmcPair::mPhigg
protected
  • opening-angle

Definition at line 59 of file StEEmcPair.h.

Referenced by Kinematics(), phigg(), and StEEmcPair().

StEEmcPoint StEEmcPair::mPoint
protected
  • points

Definition at line 66 of file StEEmcPair.h.

Referenced by Kinematics(), point(), print(), and StEEmcPair().

TVector3 StEEmcPair::mVertex
protected
  • event vertex (real pi0), average vertex (mixed)

Definition at line 64 of file StEEmcPair.h.

Referenced by Kinematics(), print(), StEEmcPair(), and vertex().

TVector3 StEEmcPair::mVertex1
protected
  • vertex of first point

Definition at line 62 of file StEEmcPair.h.

Referenced by Kinematics(), and StEEmcPair().

TVector3 StEEmcPair::mVertex2
protected
  • vertex of second point (different for background mix)

Definition at line 63 of file StEEmcPair.h.

Referenced by Kinematics(), and StEEmcPair().

Float_t StEEmcPair::mZgg
protected
  • energy-sharing

Definition at line 58 of file StEEmcPair.h.

Referenced by Kinematics(), StEEmcPair(), and zgg().


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