Go to the documentation of this file.
5 #include <RtypesCore.h>
11 #include <boost/serialization/access.hpp>
12 #include <boost/serialization/base_object.hpp>
45 CbmTrdDigi(Int_t padChNr, Float_t chargeT, Float_t chargeR, ULong64_t time);
108 Double_t
GetCharge(Double_t& tilt, Int_t& dt)
const;
146 Bool_t
IsFlagged(
const Int_t iflag)
const;
167 void SetCharge(Float_t cT, Float_t cR, Int_t dt = 0);
169 void SetFlag(
const Int_t iflag, Bool_t set = kTRUE);
240 template<
class Archive>
ULong64_t GetTimeDAQ() const
Getter for global DAQ time [clk]. Differs for each ASIC. In FASP case DAQ time is already stored in f...
Double_t GetChargeError() const
Charge error parametrisation. SPADIC specific see GetErrorClass()
Int_t GetAddress() const
Address getter for module in the format defined by CbmTrdDigi (format of CbmTrdAddress can be accesse...
Bool_t IsPileUp() const
Query digi pile-up (FASP only)
void SetTimeOffset(Char_t t)
Set time offset of rectangular to tilt pads for FASP (clk)
Bool_t IsFlagged(const Int_t iflag) const
Query flag status (generic)
Int_t GetErrorClass() const
Channel status. SPADIC specific see LUT.
static const Int_t fgkErrOffset
static Double_t fgClk[kNTypes]
void SetCharge(Float_t c)
Charge setter for SPADIC ASIC.
void SetTimeDAQ(ULong64_t t)
Set global digi time (clk)
static const Int_t fgkRoOffset
Int_t GetAddressChannel() const
Getter read-out id.
void SetFlag(const Int_t iflag, Bool_t set=kTRUE)
Generic flag status setter.
void AddCharge(CbmTrdDigi *sd, Double_t f)
Charge addition in case of pile-up (FASP simulation only)
void SetLayer(const Int_t a)
void SetAddress(const Int_t a)
Module address setter for digi.
CbmTrdDigi(Int_t, Double_t, Int_t, Int_t, Int_t, Int_t, Float_t *)
Constructor for backward compatibillity. Does not do anything.
void SetPulseShape(Float_t[45])
static const Int_t fgkFlgOffset
static Float_t fgPrecission[kNTypes]
static const Int_t fgkLyOffset
static Float_t Clk(CbmTrdAsicType ty)
DAQ clock accessor for each ASIC.
CbmTrdDigi()
Default constructor.
void serialize(Archive &ar, const unsigned int)
static const char * GetClassName()
Class name (static)
friend class boost::serialization::access
BOOST serialization interface.
ClassDefNV(CbmTrdDigi, 3)
void SetAddressModule(const Int_t a)
Alias for SetAddress()
Bool_t IsMasked() const
Query digi mask (FASP only)
@ kTrd
Transition Radiation Detector.
CbmTrdAsicType GetType() const
Channel FEE SPADIC/FASP according to CbmTrdAsicType.
static const Int_t fgkTrgOffset
void SetTriggerType(const Int_t ttype)
Set digi trigger type (SPADIC only)
Double_t GetChargeTR() const
static ECbmModuleId GetSystem()
void SetPileUp(Bool_t set=kTRUE)
Set digi pile-up (FASP only)
Int_t GetTriggerType() const
Channel trigger type. SPADIC specific see CbmTrdTriggerType.
static const Int_t fgkModOffset
Double_t GetTime() const
Getter for physical time [ns]. Accounts for clock representation of each ASIC. In SPADIC case physica...
static const Int_t fgkTypOffset
void SetModule(const Int_t a)
void SetAsic(CbmTrdAsicType ty=kSPADIC)
void SetTime(Double_t t)
Set global digi time (ns)
void SetChannel(const Int_t a)
Double_t GetCharge() const
Charge getter for SPADIC.
void SetMasked(Bool_t set=kTRUE)
Set digi mask (FASP only)
void SetErrorClass(const Int_t n)
Set digi error class (SPADIC only)
Int_t GetAddressModule() const
Getter module address in the experiment.
std::string ToString() const
String representation of a TRD digi. Account for digi type and specific information.