#include "htofinodigitpar.h"

HTofinoDigitPar


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

class HTofinoDigitPar : public HParCond

Inheritance Chart:
TObject
<-
TNamed
<-
HParSet
<-
HParCond
<-
HTofinoDigitPar

    protected:
Float_t calcDistPMT(Int_t nSector, Int_t nCell, Float_t y) Float_t calcTimeResol(Int_t nSector, Int_t nCell, Float_t y) public:
HTofinoDigitPar(const char* name = "TofinoDigitPar", const char* title = "digitisation parameters for Tofino", const char* context = "TofinoDigitParProduction") HTofinoDigitPar(const HTofinoDigitPar&) ~HTofinoDigitPar() Float_t calcDeltaLightPropTime(Int_t nSector, Int_t nCell, Float_t fTime) Float_t calcDistance(Int_t nSector, Int_t nCell, Float_t fY) 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 void clear() void copyCell(HLocation& local, HTofinoCalParCell* cell) void copyTofinoCalPar(HTofinoCalPar* pCal) Float_t getADCPedestal(HLocation& loc) Float_t getADCThreshold(HLocation& loc) Float_t getCFDThreshold(HLocation& loc) Float_t getCoordPosition(HLocation& loc) Float_t getDeltaOffset(HLocation& loc) Float_t getDeltaSlope(HLocation& loc) void getDistParams(HLocation& loc, Float_t* dist) void getElossParams(HLocation& loc, Float_t* eloss) Float_t getMinLength(HLocation& loc) Int_t getNDistParamType(HLocation& loc) Float_t getOffset(HLocation& loc) virtual Bool_t getParams(HParamList*) void getResolParams(HLocation& loc, Float_t* resol) Float_t getSlope(HLocation& loc) Float_t getTimeChannel(HLocation& loc) virtual Bool_t init(HParIo*, Int_t*) virtual TClass* IsA() const HTofinoDigitPar& operator=(const HTofinoDigitPar&) void printParam() virtual void putParams(HParamList*) void setADCPedestal(HLocation& loc, Float_t fADCPedestal) void setADCThreshold(HLocation& loc, Float_t fADCThreshold) 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 setDistParams(HLocation& loc, Float_t* dist) void setElossParams(HLocation& loc, Float_t* eloss) void setMinLength(HLocation& loc, Float_t fLen) void setNDistParamType(HLocation& loc, Int_t n) void setOffset(HLocation& loc, Float_t fOffset) void setResolParams(HLocation& loc, Float_t* resol) void setSlope(HLocation& loc, Float_t fSlope) void setTimeChannel(HLocation& loc, Float_t timechannel) 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 Int_t write(HParIo*)

Data Members


    protected:
TArrayF m_fOffset offset parameter for calibration of the cell TArrayF m_fSlope slope parameter for calibration of the cell TArrayF m_fDeltaSlope error in slope parameter TArrayF m_fDeltaOffset error in offset parameter TArrayF m_fCFDThreshold CFD Threshold (chan.) for the cell TArrayF m_fADCThreshold ADC Threshold (chan.) for the cell TArrayF m_fADCPedestal ADC Pedestal (chan.) for the cell TArrayF m_fElossParam0 K and A0-A2 parameters for (Eloss = K*(ADC-ADCPedestal) + A0+A1*Row+A2*Row*Row) calculation TArrayF m_fElossParam1 K and A0-A2 parameters for (Eloss = K*(ADC-ADCPedestal) + A0+A1*Row+A2*Row*Row) calculation TArrayF m_fElossParam2 K and A0-A2 parameters for (Eloss = K*(ADC-ADCPedestal) + A0+A1*Row+A2*Row*Row) calculation TArrayF m_fElossParam3 K and A0-A2 parameters for (Eloss = K*(ADC-ADCPedestal) + A0+A1*Row+A2*Row*Row) calculation TArrayF m_fResolParam0 parameters for tofino resolution calculation TArrayF m_fResolParam1 parameters for tofino resolution calculation TArrayF m_fResolParam2 parameters for tofino resolution calculation TArrayF m_fDistParam0 parameters for distance calculation TArrayF m_fDistParam1 parameters for distance calculation TArrayF m_fDistParam2 parameters for distance calculation TArrayF m_fDistParam3 parameters for distance calculation TArrayF m_fMinLength min distance from target to cell TArrayI m_nDistParamType type of parameters for distance calculation TArrayF m_fTimeChannel time in ns per tdc channel TArrayF m_fCoordPos y position of the coordinate system in the cell

Class Description

*-- AUTHOR : J. Markert

 HTofinoDigitPar

 Container class for Tofino digitization parameters



HTofinoDigitPar(const char* name,const char* title, const char* context) : HParCond(name,title,context)

~HTofinoDigitPar()
 destructor

void clear()

void printParam(void)
 prints the parameters of HTofinoDigitPar to the screen.

Bool_t init(HParIo* inp,Int_t* set)
 intitializes the container from an input

Int_t write(HParIo* output)
 writes the container to an output

void putParams(HParamList* l)
 Puts all params of HTofinoDigitPar to the parameter list of
 HParamList (which ist used by the io);

Bool_t getParams(HParamList* l)

Float_t calcDistance(Int_t nSector, Int_t nCell,Float_t row)

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

Float_t calcLightPropTime(Int_t nSector, Int_t nCell, Float_t fY)

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

Float_t calcDeltaLightPropTime(Int_t nSector, Int_t nCell, Float_t fY)

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

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



Inline Functions


                 Float_t calcDistPMT(Int_t nSector, Int_t nCell, Float_t y)
                 Float_t calcTimeResol(Int_t nSector, Int_t nCell, Float_t y)
                 Float_t getOffset(HLocation& loc)
                 Float_t getSlope(HLocation& loc)
                 Float_t getDeltaSlope(HLocation& loc)
                 Float_t getDeltaOffset(HLocation& loc)
                 Float_t getCFDThreshold(HLocation& loc)
                 Float_t getADCThreshold(HLocation& loc)
                 Float_t getADCPedestal(HLocation& loc)
                 Float_t getCoordPosition(HLocation& loc)
                 Float_t getMinLength(HLocation& loc)
                 Float_t getTimeChannel(HLocation& loc)
                   Int_t getNDistParamType(HLocation& loc)
                    void getElossParams(HLocation& loc, Float_t* eloss)
                    void getResolParams(HLocation& loc, Float_t* resol)
                    void getDistParams(HLocation& loc, Float_t* dist)
                    void setOffset(HLocation& loc, Float_t fOffset)
                    void setSlope(HLocation& loc, Float_t fSlope)
                    void setDeltaSlope(HLocation& loc, Float_t fDeltaSlope)
                    void setDeltaOffset(HLocation& loc, Float_t fDeltaOffset)
                    void setCFDThreshold(HLocation& loc, Float_t fCFDThreshold)
                    void setADCThreshold(HLocation& loc, Float_t fADCThreshold)
                    void setADCPedestal(HLocation& loc, Float_t fADCPedestal)
                    void setCoordPosition(HLocation& loc, Float_t fCoordPos)
                    void setNDistParamType(HLocation& loc, Int_t n)
                    void setMinLength(HLocation& loc, Float_t fLen)
                    void setTimeChannel(HLocation& loc, Float_t timechannel)
                    void setElossParams(HLocation& loc, Float_t* eloss)
                    void setResolParams(HLocation& loc, Float_t* resol)
                    void setDistParams(HLocation& loc, Float_t* dist)
                    void copyCell(HLocation& local, HTofinoCalParCell* cell)
                    void copyTofinoCalPar(HTofinoCalPar* pCal)
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
         HTofinoDigitPar HTofinoDigitPar(const HTofinoDigitPar&)
        HTofinoDigitPar& operator=(const HTofinoDigitPar&)


Last update: Fri Jan 26 12:37:02 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.