StEEmcGenericPointMaker Class Reference

#include <StEEmcGenericPointMaker.h>

Inheritance diagram for StEEmcGenericPointMaker:

StMaker

List of all members.

Public Member Functions

 StEEmcGenericPointMaker (const Char_t *name="EEmcPointMaker", const StEEmcA2EMaker *a2e=NULL, const StEEmcGenericClusterMaker *cl=NULL)
virtual Int_t Init ()
virtual Int_t Make ()
virtual void Clear (Option_t *opts="")
 User defined functions.
StEEmcPointVec_t & points ()
 Return vector of EEmc points.
const StEEmcPointVec_t & points () const
StEEmcPointVec_t & smdPoints ()
 Return vector of smd-only points.
const StEEmcPointVec_t & smdPoints () const
StEEmcPointVec_t & towerPoints ()
 Return vector of tower-only points.
const StEEmcPointVec_t & towerPoints () const
Int_t numberOfPoints () const
 Number of points.
Int_t numberOfSmdPoints () const
 Number of smd-only points.
Int_t numberOfTowerPoints () const
 Number of tower-only points.
StEEmcPointpoint (Int_t ipoint)
const StEEmcPointpoint (Int_t ipoint) const
StEEmcPointsmdPoint (Int_t ipoint)
const StEEmcPointsmdPoint (Int_t ipoint) const
StEEmcPointtowerPoint (Int_t ipoint)
const StEEmcPointtowerPoint (Int_t ipoint) const
void addPoint (const StEEmcPoint &point)
void addSmdPoint (const StEEmcPoint &point)
void addTowerPoint (const StEEmcPoint &point)
StEEmcPointVec_t & points (const StEEmcCluster &cluster)
const StEEmcPointVec_t & points (const StEEmcCluster &cluster) const
Int_t numberOfPoints (const StEEmcCluster &c) const
StEEmcClustercluster (const StEEmcPoint &point)

Protected Member Functions

Int_t nextPointId ()
StEEmcPointVec_t buildSmdPoints (Int_t sector, const StEEmcSmdClusterVec_t &u, const StEEmcSmdClusterVec_t &v)
StEEmcPointVec_t buildTowerPoints (Int_t sector, const StEEmcClusterVec_t &c)
StEEmcPointVec_t buildPoints (const StEEmcClusterVec_t &towerClusters, const StEEmcSmdClusterVec_t &u, const StEEmcSmdClusterVec_t &v)
void fillStEvent ()
 ClassDef (StEEmcGenericPointMaker, 1)

Protected Attributes

Int_t mKey
const StEEmcA2EMakermEEanalysis
const StEEmcGenericClusterMakermEEclusters
StEEmcPointVec_t mPoints
StEEmcPointVec_t mSmdPoints
StEEmcPointVec_t mTowerPoints
const EEmcGeomSimplemEEtow
const EEmcSmdGeommEEsmd
const EEmcSmdMap * mEEmap
TH1F * hNumberOfPoints
TH1F * hEnergyOfPoints
TH2F * hDistributionOfPoints
TH1F * hTotalEnergy [6]
TH1F * hTotalPointEnergy [6]
std::map< Int_t, StEEmcPointVec_t > mCluster2points
std::map< Int_t, StEEmcClustermPoint2cluster


Detailed Description

Date:
11/21/2006
Author:
Jason C. Webb <Jason.Webb@Valpo.edu>
StEEmcGenericPointMaker provides a generic framework for finding points (photon/electron candidates) in the EEMC. The detailed algorithm is left to the user, who should create a new class which inherits from this one. An example class is provided:

Definition at line 61 of file StEEmcGenericPointMaker.h.


Member Function Documentation

StEEmcPointVec_t StEEmcGenericPointMaker::buildPoints ( const StEEmcClusterVec_t &  towerClusters,
const StEEmcSmdClusterVec_t &  u,
const StEEmcSmdClusterVec_t &  v 
) [protected]

builder for eemc points

Definition at line 128 of file StEEmcGenericPointMaker.cxx.

References points().

StEEmcPointVec_t StEEmcGenericPointMaker::buildSmdPoints ( Int_t  sector,
const StEEmcSmdClusterVec_t &  u,
const StEEmcSmdClusterVec_t &  v 
) [protected]

builder for smd points

Definition at line 135 of file StEEmcGenericPointMaker.cxx.

References points().

StEEmcPointVec_t StEEmcGenericPointMaker::buildTowerPoints ( Int_t  sector,
const StEEmcClusterVec_t &  c 
) [protected]

builder for tower points

Definition at line 142 of file StEEmcGenericPointMaker.cxx.

References points().

Int_t StEEmcGenericPointMaker::Make (  )  [virtual]

The Make() method is the one responsible for calling the maker's InitRun(). Note that that InitRun() is called for real data and if both of the following are true

  • a header exists
  • the run number changes

This is the ONLY place calling the InitRun() routine.

check privilege to skip event

Reimplemented from StMaker.

Definition at line 35 of file StEEmcGenericPointMaker.cxx.

StEEmcPoint& StEEmcGenericPointMaker::point ( Int_t  ipoint  )  [inline]

Return specific EEmc point

Parameters:
ipoint runs from 0 to numberOfPoints()-1

Definition at line 90 of file StEEmcGenericPointMaker.h.

References mPoints.

StEEmcPoint& StEEmcGenericPointMaker::smdPoint ( Int_t  ipoint  )  [inline]

Return specific smd-only point

Parameters:
ipoint runs from 0 to numberOfSmdPoints()-1

Definition at line 94 of file StEEmcGenericPointMaker.h.

References mSmdPoints.

StEEmcPoint& StEEmcGenericPointMaker::towerPoint ( Int_t  ipoint  )  [inline]

Return specific tower-only point

Parameters:
ipoint runs from 0 to numberOfTowerPoints()-1

Definition at line 98 of file StEEmcGenericPointMaker.h.

References mTowerPoints.


Member Data Documentation

total energy in each layer (TPQRUV)

Definition at line 137 of file StEEmcGenericPointMaker.h.

total energy associated w/ points in each layer (TPQRUV)

Definition at line 138 of file StEEmcGenericPointMaker.h.

adc to energy maker

Definition at line 116 of file StEEmcGenericPointMaker.h.

cluster maker

Definition at line 117 of file StEEmcGenericPointMaker.h.

const EEmcSmdMap* StEEmcGenericPointMaker::mEEmap [protected]

smd-to-tower map

Definition at line 129 of file StEEmcGenericPointMaker.h.

smd geometry

Definition at line 128 of file StEEmcGenericPointMaker.h.

tower geometry

Definition at line 127 of file StEEmcGenericPointMaker.h.

StEEmcPointVec_t StEEmcGenericPointMaker::mPoints [protected]

vector of final points

Definition at line 119 of file StEEmcGenericPointMaker.h.

Referenced by Clear(), numberOfPoints(), point(), and points().

StEEmcPointVec_t StEEmcGenericPointMaker::mSmdPoints [protected]

vector of smd-only points

Definition at line 120 of file StEEmcGenericPointMaker.h.

Referenced by Clear(), numberOfSmdPoints(), smdPoint(), and smdPoints().

StEEmcPointVec_t StEEmcGenericPointMaker::mTowerPoints [protected]

vector of tower-only points

Definition at line 121 of file StEEmcGenericPointMaker.h.

Referenced by Clear(), numberOfTowerPoints(), towerPoint(), and towerPoints().


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

Generated on Fri Feb 10 04:28:02 2012 for StRoot by  doxygen 1.5.9