Back to the top page
Back to the upper page
Function members
public
- TArtRawSegmentObject()
- TArtRawSegmentObject(const unsigned int indev, const unsigned int infp, const unsigned int indet, const unsigned int inmod)
- virtual ~TArtRawSegmentObject()
- virtual void SetSegmentID( const unsigned int indev, const unsigned int infp, const unsigned int indet, const unsigned int inmod)
- virtual int GetDevice()
- virtual int GetFP()
- virtual int GetDetector()
- virtual int GetModule()
- virtual int GetAddress()
- virtual void SetAddress(int i)
- virtual int GetDataSize()
- virtual void SetDataSize(int i)
- virtual int GetNumModule()
- virtual void SetNumModule(int i)
- virtual int GetNumGoodModule()
- virtual void SetNumGoodModule(int i)
- virtual void PutData(TArtRAwDataObject *indata)
- virtual TArtRawDataObject * GetData(int nn)
- virtual void Clear()
- virtual int GetNumData()
protected
- unsigned int device
Device ID, such as BigRIPS, ZDS, SHARAQ ...
- unsigned int fp
Number of focal plane.
- unsigned int detector
Detector ID, such as DALI, PPAC ...
- unsigned int module
Module ID, such as CAEN-V1190 ...
- int address
Supposed to be same as EFN in RIBF-DAQ.
- int nmodule
Number of modules.
- int ngoodmodule
Number of good modules.
- int size
Data size.
- std::vector <TArtRawDataObject*> data_array
Array of data.
Function documents
- TArtRawSegmentObject(const unsigned int indev, const unsigned int infp, const unsigned int indet, const unsigned int inmod)
Assign all arguments to all protected members.
Generate data_array as TClonesArray of TArtRawDataObject.
- TArtRawSegmentObject()
Assign -1 to all protected members.
- ~TArtRawSegmentObject()
Call Clear()
- virtual void SetSegmentID;( const unsigned int indev, const unsigned int infp, const unsigned int indet, const unsigned int inmod)
Assign all argument to all protected members.
- virtual int GetDevice()
Return device.
- virtual int GetFP()
Return fp.
- virtual int GetDetector()
Return detector.
- virtual int GetModule()
Return module.
- virtual int GetAddress()
Return address.
- virtual void SetAddress(int i)
Assign i to address.
- virtual int GetDataSize()
Return size.
- virtual void SetDataSize(int i)
Assign i to size.
- virtual int GetNumModule()
Return nmodule.
- virtual void SetNumModule(int i)
Assign i to nmodule.
- virtual int GetNumGoodModule()
Return ngoodmodule.
- virtual void SetNumGoodModule(int i)
Assign i to ngoodmodule
- virtual void PutData(TArtRawDataObject * indata);
Add indata to data_array as a last element.
- virtual TArtRawDataObject * GetData(int nn)
Return nn-th element of data_array.
- virtual void Clear()
Delete data_array.
- virtual int GetNumData()
Return the size of data_array.