5#ifndef CBMTRDPARMODASIC_H
6#define CBMTRDPARMODASIC_H
12#include <RtypesCore.h>
35 CbmTrdParModAsic(
const char* name =
"CbmTrdParModAsic",
const char* title =
"Generic list of ASICs for TRD modules");
87 virtual int HasEqId(uint16_t eqid, uint8_t& lnk)
const;
98 virtual void Print(Option_t* opt =
"")
const;
Definition of ASIC parameters.
Definition of FASP channel calibration container.
Describe TRD module ASIC settings (electronic gain, delays, etc)
virtual void GetAsicAddresses(std::vector< Int_t > *a) const
Query the ASICs in the module for their DAQ address. It applies to the list of ASICs....
virtual void SetCrobAddresses(int *addresses)
Initialize the CROB addresses as they are used in the DAQ.
uint8_t fType
type of chamber for current module
std::map< int, CbmTrdParAsic * > fModPar
list of ASIC params for module
CbmTrdParModAsic(const CbmTrdParModAsic &ref)
virtual int GetNofAsics() const
Returns the DEFAULT number of ASICs for the current module.
virtual void SetChamberType(Int_t t)
CbmTrdParModAsic(const char *name="CbmTrdParModAsic", const char *title="Generic list of ASICs for TRD modules")
virtual CbmTrdDigi::eCbmTrdAsicType GetAsicType() const
Query the type of ASICs in the list.
virtual size_t GetNofAsicsOnModule() const
Returns the number of INSTALLED ASICs for the current module It applies to the list of ASICs.
virtual void clear()
Reset all parameters.
const CbmTrdParModAsic & operator=(const CbmTrdParModAsic &ref)
virtual Int_t GetAsicAddress(Int_t chAddress) const
Look for the ASIC which operates on a specific channel It applies to the list of ASICs.
virtual const CbmTrdParAsic * GetAsicPar(Int_t address) const
Look for the ASIC parameters of a given DAQ id It applies to the list of ASICs.
virtual const int32_t * GetCrobAddresses() const
Query the type of chamber.
bool GetFaspChannelPar(int pad, const CbmTrdParFaspChannel *&tilt, const CbmTrdParFaspChannel *&rect) const
Access the calibration objects describing the two FASP channels allocated to a pad....
virtual Int_t GetChamberType() const
Query the type of chamber.
virtual int HasEqId(uint16_t eqid, uint8_t &lnk) const
Query the existence of an equipment (CROB) by HW id on the current module params.
ClassDef(CbmTrdParModAsic, 1)
virtual void Print(Option_t *opt="") const
virtual ~CbmTrdParModAsic()
Destructor.
std::vector< int32_t > fCrobAdd
ordered list of Crobs for current module
virtual void SetAsicPar(CbmTrdParAsic *p)
Initialize the ASIC parameters for DAQ id It applies to the list of ASICs.
Definition of generic parameters for one TRD module.
Describe TRD module ASIC settings (electronic gain, delays, etc)