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
StEEmcIUPair Class Reference
Inheritance diagram for StEEmcIUPair:

Public Member Functions

 StEEmcIUPair ()
 Default constructor (don't use except for placeholder)
 
 StEEmcIUPair (StEEmcIUPoint p1, StEEmcIUPoint p2)
 
 StEEmcIUPair (StEEmcIUPoint p1, StEEmcIUPoint p2, TVector3 vertex)
 Reconstruct a pair of real photons with a common vertex.
 
 StEEmcIUPair (StEEmcIUPoint p1, StEEmcIUPoint p2, TVector3 vertex1, TVector3 vertex2)
 Reconstruct a mixed-event pair with vertex from each event. More...
 
 ~StEEmcIUPair ()
 Destructor.
 
 StEEmcIUPair (const StEEmcIUPair &old)
 Copy constructor. More...
 
StEEmcIUPoint 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.
 
Float_t pz ()
 
TVector3 momentum ()
 Returns momentum of pair.
 
TVector3 vertex ()
 Returns vertex of pair.
 
void print ()
 Prints a one-line summary of the pair.
 

Protected Member Functions

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

Protected Attributes

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

Detailed Description

Definition at line 9 of file StEEmcIUPair.h.

Constructor & Destructor Documentation

StEEmcIUPair::StEEmcIUPair ( StEEmcIUPoint  p1,
StEEmcIUPoint  p2 
)

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

Definition at line 38 of file StEEmcIUPair.cxx.

References StEEmcIUPair().

StEEmcIUPair::StEEmcIUPair ( StEEmcIUPoint  p1,
StEEmcIUPoint  p2,
TVector3  vertex1,
TVector3  vertex2 
)

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

initialize to zero

compute kinematics

Definition at line 48 of file StEEmcIUPair.cxx.

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

StEEmcIUPair::StEEmcIUPair ( const StEEmcIUPair old)

Copy constructor.

initialize to zero

kompute kinematics

Definition at line 103 of file StEEmcIUPair.cxx.

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

Member Function Documentation

void StEEmcIUPair::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 66 of file StEEmcIUPair.cxx.

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

Referenced by StEEmcIUPair().

StEEmcIUPoint StEEmcIUPair::point ( Int_t  index)
inline

Returns specified point

Parameters
index[0,1]

Definition at line 30 of file StEEmcIUPair.h.

References mPoint.

Referenced by StEEmcIUPi0Analysis::accept(), StEEmcIUMixMaker::fillQA(), StEEmcIUPi0Analysis::Make(), and StEEmcIUPi0Analysis::twoBodyCut().

Member Data Documentation

Float_t StEEmcIUPair::mEnergy
protected
  • total energy

Definition at line 58 of file StEEmcIUPair.h.

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

Float_t StEEmcIUPair::mMass
protected
  • invariant mass

Definition at line 57 of file StEEmcIUPair.h.

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

TVector3 StEEmcIUPair::mMomentum
protected
  • self-evident

Definition at line 61 of file StEEmcIUPair.h.

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

Float_t StEEmcIUPair::mPhigg
protected
  • opening-angle

Definition at line 60 of file StEEmcIUPair.h.

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

StEEmcIUPoint StEEmcIUPair::mPoint[2]
protected
  • points

Definition at line 67 of file StEEmcIUPair.h.

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

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

Definition at line 65 of file StEEmcIUPair.h.

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

TVector3 StEEmcIUPair::mVertex1
protected
  • vertex of first point

Definition at line 63 of file StEEmcIUPair.h.

Referenced by Kinematics(), and StEEmcIUPair().

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

Definition at line 64 of file StEEmcIUPair.h.

Referenced by Kinematics(), and StEEmcIUPair().

Float_t StEEmcIUPair::mZgg
protected
  • energy-sharing

Definition at line 59 of file StEEmcIUPair.h.

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


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