Base class for all the manageables that hold information about one or several FEMs (like Pedestals, Gains, HLRatios, etc)
A FEMtuple is a vector of emcCalFEM.
Base class for all the manageables that hold information about one or several FEMs (like Pedestals, Gains, HLRatios, etc)
A FEMtuple is a vector of emcCalFEM.
Assuming you already get a filled emcFEMtuple femtuple object, you can :
Get access to a full FEM using femtuple.GetFEM(ifem),
where ifem is the index number of the FEM (ranging from 0 to femtuple.GetNumberOfFEMs())
This method returns a pointer to an emcCalFEM object. To know what you can do with this object, see the emcCalFEM interface.
Get access to channel values using one of the following methods:
getValue(int)
getValue(int,int)
getValue(int,const char*)
virtual emcCalFEM* AppendFEM(int absPosition, int pinNumber, int post_pre, int tac_pre, const PHTimeStamp& t1, const PHTimeStamp& t2)
pinNumber - : the fem PIN number
post_pre - : value of the AMU Cells post-pre difference
tac_pre - : value of the AMU Cells tac-pre difference
t1 - : start-of-validity period
t2 - : end-of-validity period.virtual bool CheckIndex(int ifem) const
virtual emcCalFEM* GetFEM(int ifem)
virtual int GetNumberOfChannels(void) const
virtual int GetNumberOfFEMs(void) const
virtual int GetLastValidTime(int ifem=0) const
virtual int Get_post_pre(int ifem) const
virtual int GetSize(void) const
virtual int Get_tac_pre(int ifem) const
virtual float getValue(int ichannel) const
virtual float getValue(int ichannel, int thetime) const
virtual float getValue(int ichannel, int amucell, const char* kind) const
virtual bool IsOwner(void) const
virtual bool IsValid(const PHTimeStamp& when) const
virtual bool IsValid(const PHTimeStamp& when, int ifem) const
virtual void Print(int level=0)
virtual bool ReplaceFEM(int ifem, emcFEMtuple& fem)
virtual void Reset(void)
virtual bool SetLastValidTime(int thetime, int ifem=0)
Alphabetic index HTML hierarchy of classes or Java