StRoot
1
|
#include <StFmsEventClusterer.h>
Public Member Functions | |
StFmsEventClusterer (StFmsDbMaker *db, Int_t detectorId, Int_t globalrefit, Int_t mergeSmallToLarge, Int_t try1Photon, Int_t categorizationAlgo, Float_t scaleShowerShapeLarge, Float_t scaleShowerShapeSmall, Int_t showerShapeWithAngle, double vertexz) | |
~StFmsEventClusterer () | |
int | detector () const |
Bool_t | cluster (std::vector< FMSCluster::StFmsTower > *towers) |
ClusterList & | clusters () |
const ClusterList & | clusters () const |
Performs clustering and photon-fitting for a single detector and event.
Clusters towers in a single sub-detector and performs photon shower-shape fitting on all the formed clusters.
Definition at line 65 of file StFmsEventClusterer.h.
FMSCluster::StFmsEventClusterer::StFmsEventClusterer | ( | StFmsDbMaker * | db, |
Int_t | detectorId, | ||
Int_t | globalrefit, | ||
Int_t | mergeSmallToLarge, | ||
Int_t | try1Photon, | ||
Int_t | categorizationAlgo, | ||
Float_t | scaleShowerShapeLarge, | ||
Float_t | scaleShowerShapeSmall, | ||
Int_t | showerShapeWithAngle, | ||
double | vertexz | ||
) |
Constructor.
Clustering is done per sub-detector, so initialize with the detector ID and FMS geometry information. The geometry object is not owned by StFmsEventClusterer.
See FMSCluster::StFmsDetectorId for valid detector IDs.
Definition at line 320 of file StFmsEventClusterer.cxx.
FMSCluster::StFmsEventClusterer::~StFmsEventClusterer | ( | ) |
Destructor.
Definition at line 332 of file StFmsEventClusterer.cxx.
Bool_t FMSCluster::StFmsEventClusterer::cluster | ( | std::vector< FMSCluster::StFmsTower > * | towers | ) |
Perform cluster-finding and photon-fitting on a list of towers.
Returns true if photon fits to all clusters succeed, or false if one or more clusters have a photon fit with a chi-square exceeding the maximum allowed value.
Definition at line 334 of file StFmsEventClusterer.cxx.
References StFmsDbMaker::getXWidth(), and StFmsDbMaker::getYWidth().
|
inline |
Returns the list of clusters in this detector for the event.
Definition at line 101 of file StFmsEventClusterer.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 103 of file StFmsEventClusterer.h.
|
inline |
Returns the ID of the detector for which clustering is being performed.
See FMSCluster::StFmsDetectorId for valid detector IDs.
Definition at line 90 of file StFmsEventClusterer.h.