StSvtHybridData
class description - source file - inheritance tree
public:
StSvtHybridData StSvtHybridData()
StSvtHybridData StSvtHybridData(int barrel, int ladder, int wafer, int hybrid)
StSvtHybridData StSvtHybridData(StSvtHybridData&)
virtual void ~StSvtHybridData()
TClass* Class()
int getAnodeList(int*& list)
int getSequences(int anodeID, int& nSequences, StSequence*& sequence)
virtual TClass* IsA()
StSvtHybridData& operator=(StSvtHybridData&)
Bool_t setHybrid(StSVTReader* reader)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
protected:
int nAnodes Number of anodes with one or more sequences
int* anodeList ! List of anodes with one or more sequences
int* nSeq ! Number of sequences for each anode
StSequence** seq ! List of sequences for each anode
This is the class to access the data from each hybrid.
StSvtHybridData() : StSvtHybrid()
StSvtHybridData(int barrel, int ladder, int wafer, int hybrid) :
StSvtHybrid(barrel, ladder, wafer, hybrid)
This constructor has four input parameters: Barrel, Ladder, Wafer and Hybrid number (as expected).
StSvtHybridData(const StSvtHybridData& hybrid)
~StSvtHybridData()
Bool_t setHybrid(StSVTReader* reader)
fills the data members of this object,
so one can access the data through the two methods mentioned below.
Therefore, it must be invoked before the access methods.
This method can be overloaded to allow other types of input data (simulators, ASCII files, etc.).
If everything goes OK, it returns kTRUE.
int getAnodeList(int*& list)
returns the number of anodes of a given hybrid that has one or more sequences of data.
The anodeList contains the number (ID) of such anodes.
In the case of raw data, it returns always 240 anodes.
int getSequences(int anode, int& nSequence, StSequence*& sequence)
provides the number of sequences each anode has (nSequences) and a list of the sequences (sequence).
The structure StSequence (from StarClassLibrary) gives the first time bin of the sequence,
the length of the sequence and a pointer for the first ADC of the sequence.
Inline Functions
StSvtHybridData& operator=(StSvtHybridData&)
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.