Go to the documentation of this file.
7 #ifndef CBMTRDCLUSTER_H
8 #define CBMTRDCLUSTER_H
11 #include <RtypesCore.h>
37 CbmTrdCluster(
const std::vector<Int_t>& indices, Int_t address);
46 CbmTrdCluster(Int_t address, Int_t idx, Int_t ch, Int_t r, Int_t time);
60 AddDigi(Int_t idx, Int_t channel = -1, Int_t terminator = 0, Int_t dt = 0);
62 void Clear(Option_t*);
89 void ReInit(Int_t address, Int_t row, Int_t time);
107 virtual std::string
ToString()
const;
void ReInit(Int_t address, Int_t row, Int_t time)
Initialize basic parameters of the cluster.
void SetNCols(UShort_t ncols)
UShort_t GetEndCh() const
@ kProfileStart
only for triangular if no T in first col
Int_t IsChannelInRange(Int_t ch) const
Query on RO channel list.
@ kTriang
set type of pads on which the cluster is reconstructed
virtual std::string ToString() const
Extended functionality.
Data Container for TRD clusters.
CbmTrdCluster()
Default constructor.
void SetTrianglePads(Bool_t set=kTRUE)
UShort_t GetNRows() const
UShort_t GetStartCh() const
Bool_t AddDigi(Int_t idx, Int_t channel=-1, Int_t terminator=0, Int_t dt=0)
Append digi to cluster.
void SetProfileStart(Bool_t set=kTRUE)
virtual ~CbmTrdCluster()
Destructor.
void SetProfileStop(Bool_t set=kTRUE)
UShort_t GetNCols() const
Bool_t HasOpenStop() const
UShort_t GetStartTime() const
Base class for cluster objects.
void Clear(Option_t *)
reset cluster data
Bool_t HasOpenStart() const
Bool_t HasTrianglePads() const
Bool_t Merge(CbmTrdCluster *second)
Merge current cluster with info from second.
UShort_t fStartTime
channel address of first channel
@ kProfileStop
only for triangular if no R in last col
Base class for cluster objects.
void SetNRows(UShort_t nrows)