#include "htofinocalpar.h"

HTofinoCalPar


class description - source file - inheritance tree (.pdf)

class HTofinoCalPar : public HTofinoParSet

Inheritance Chart:
TObject
<-
TNamed
<-
HParSet
<-
HTofinoParSet
<-
HTofinoCalPar

    public:
HTofinoCalPar(const char* name = "TofinoCalPar", const char* title = "Calibration parameters for Tofino", const char* context = "TofinoStandardCalib") HTofinoCalPar(const HTofinoCalPar&) ~HTofinoCalPar() Float_t calcDeltaLightPropTime(Int_t nSector, Int_t nCell, Float_t fTime) Float_t calcDriftTime(Int_t nSector, Int_t nCell, Float_t fY) Float_t calcLightPropTime(Int_t nSector, Int_t nCell, Float_t fY) Float_t calcLightPropTimeFull(Int_t nSector, Int_t nCell, Float_t fY) Float_t channelToTime(Int_t nSector, Int_t nCell, Float_t fTime) static TClass* Class() virtual Bool_t defaultInit() Float_t getADCPedestal(HLocation& loc) Float_t getADCThreshold(HLocation& loc) Char_t* getCellClassName() Int_t getCells() Float_t getCFDThreshold(HLocation& loc) Float_t getCoordPosition(HLocation& loc) Float_t getDeltaOffset(HLocation& loc) Float_t getDeltaSlope(HLocation& loc) void getElossParams(HLocation& loci, Float_t* eloss) Float_t getMinLength(HLocation& loc) HTofinoCalParCell* getObject(HLocation& loc) Float_t getOffset(HLocation& loc) Int_t getSectors() Float_t getSlope(HLocation& loc) HTofinoCalParCell*& getSlot(HLocation& loc) virtual Bool_t initAscii(HParHadAsciiFileIo* pHadAsciiFile) virtual TClass* IsA() const HTofinoCalPar& operator=(const HTofinoCalPar&) void Print() void setADCPedestal(HLocation& loc, Float_t fADCPedestal) void setADCThreshold(HLocation& loc, Float_t fADCThreshold) void setCellClassName(Char_t* pszName) void setCFDThreshold(HLocation& loc, Float_t fCFDThreshold) void setCoordPosition(HLocation& loc, Float_t fCoordPos) void setDeltaOffset(HLocation& loc, Float_t fDeltaOffset) void setDeltaSlope(HLocation& loc, Float_t fDeltaSlope) void setElossParams(HLocation& loc, Float_t* fElossParams) void setMinLength(HLocation& loc, Float_t fLen) void setOffset(HLocation& loc, Float_t fOffset) void setSetup(Int_t nSectors, Int_t nCells) void setSlope(HLocation& loc, Float_t fSlope) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) Float_t timeToChannel(Int_t nSector, Int_t nCell, Float_t fTime) virtual Bool_t writeAscii(HParHadAsciiFileIo* pHadAsciiFile)

Data Members

    private:
Int_t m_nSectors sizes of calibration structure Int_t m_nCells Char_t m_szClassName[40] name of class used for keeping data for HObjTable m_ParamsTable structure which contains all object HLocation fLoc !

Class Description

 HTofinoCalPar

 HTofinoCalPar is used to manage of all parameters for calibration
 This class contains structure HObjTable, which contains all
 HTofinoCalParCell objects. One HTofinoCalParCell object contains
 calibration parameters of one pad: slope and offset



HTofinoCalPar(const char* name,const char* title, const char* context) : HTofinoParSet(name,title,context)

~HTofinoCalPar()

void setSetup(Int_t nSectors, Int_t nCells)
set sizes of internal structure

void setCellClassName(Char_t* pszName) //set name of class of calibration parameter container for one pad

Char_t* getCellClassName()
return  name of class of calibration parameter container for one pad

HTofinoCalParCell*& getSlot(HLocation &loc)
return references address to place new object at loc position

HTofinoCalParCell* getObject(HLocation &loc)
return pointer to object, which contains parameter for pad
at loc position

Float_t calcDriftTime(Int_t nSector, Int_t nCell, Float_t fRow)

Float_t channelToTime(Int_t nSector, Int_t nCell, Float_t fTime)

Float_t timeToChannel(Int_t nSector, Int_t nCell, Float_t fTime)

Float_t getMinLength(HLocation &loc)
return CFD Threshold for the pad at position loc

Float_t getCFDThreshold(HLocation &loc)
return CFD Threshold for the pad at position loc

Float_t getADCThreshold(HLocation &loc)
return ADC Threshold for the pad at position loc

Float_t getADCPedestal(HLocation &loc)
return ADC Pedestal for the pad at position loc

void getElossParams(HLocation &loc, Float_t *eloss)

Float_t getSlope(HLocation &loc)
return slope for the pad at position loc

Float_t getOffset(HLocation &loc)
return offset for the pad at position loc

Float_t getDeltaSlope(HLocation &loc)
return error in slope for the pad at position loc

Float_t getDeltaOffset(HLocation &loc)
return error in slope for the pad at position loc

Float_t getCoordPosition(HLocation &loc)
return Y position of the coordinate system for the pad at position loc

void setMinLength(HLocation &loc, Float_t fLen)
set slope for the pad at position loc

void setCFDThreshold(HLocation &loc, Float_t fCFDThreshold)
set slope for the pad at position loc

void setADCThreshold(HLocation &loc, Float_t fADCThreshold)
set slope for the pad at position loc

void setADCPedestal(HLocation &loc, Float_t fADCPedestal)
set slope for the pad at position loc

void setElossParams(HLocation &loc, Float_t *elossparam)
set slope for the pad at position loc

void setSlope(HLocation &loc, Float_t fSlope)
set slope for the pad at position loc

void setOffset(HLocation &loc, Float_t fOffset)
set offset for the pad at position loc

void setDeltaSlope(HLocation &loc, Float_t fDeltaSlope)
set slope for the pad at position loc

void setDeltaOffset(HLocation &loc, Float_t fDeltaOffset)
set slope for the pad at position loc

void setCoordPosition(HLocation &loc, Float_t fCoordPos)
set Y position of the coordinate system for the pad at position loc

Bool_t initAscii(HParHadAsciiFileIo* pHadAsciiFile)
reading and initializing  calibration parameters from ascii file (HAsciiKey format)

Bool_t writeAscii(HParHadAsciiFileIo* pHadAsciiFile)
writing calibration parameters into ascii file (HAsciiKey format)

Bool_t defaultInit()
initialization of calibration parameters for full setup
of tofino detector. Default calibration using
values of slope==1 and offset==0

void Print()



Inline Functions


                 Int_t getSectors()
                 Int_t getCells()
               Float_t calcLightPropTime(Int_t nSector, Int_t nCell, Float_t fY)
               Float_t calcLightPropTimeFull(Int_t nSector, Int_t nCell, Float_t fY)
               Float_t calcDeltaLightPropTime(Int_t nSector, Int_t nCell, Float_t fTime)
               TClass* Class()
               TClass* IsA() const
                  void ShowMembers(TMemberInspector& insp, char* parent)
                  void Streamer(TBuffer& b)
                  void StreamerNVirtual(TBuffer& b)
         HTofinoCalPar HTofinoCalPar(const HTofinoCalPar&)
        HTofinoCalPar& operator=(const HTofinoCalPar&)


Last update: Fri Jan 26 12:36:54 2007


ROOT page - Class index - Class Hierarchy - 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.