#include "hmdccelleff.h"

HMdcCellEff


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

class HMdcCellEff : public HParSet

Inheritance Chart:
TObject
<-
TNamed
<-
HParSet
<-
HMdcCellEff

    public:
HMdcCellEff(const char* name = "MdcCellEff", const char* title = "cell efficiency parameters for MdcDigitizer", const char* context = "MdcCellEffProduction", Int_t n = 4) HMdcCellEff(const HMdcCellEff&) ~HMdcCellEff() Int_t calcEfficiency(Int_t m, Float_t r, Float_t a, Float_t l) Float_t calcEffval(Int_t m, Float_t r, Float_t a, Float_t l) static TClass* Class() virtual void clear() TString getContainerComment() Int_t getSize() virtual Bool_t init(HParIo*, Int_t*) virtual TClass* IsA() const HMdcCellEff& operator=(const HMdcCellEff&) HMdcCellEffMod& operator[](Int_t i) void printContainerComment() void printParam() void putAsciiHeader(TString&) void readline(const char*, Int_t*) void setContainerComment(TString mycomment) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual Int_t write(HParIo*) Bool_t writeline(char*, Int_t, Int_t)

Data Members


    protected:
TObjArray* array array of pointers of type HMdcCellEffSec HMdcDetector* fMdc TString comment

Class Description

 HMdcCellEff

 Container class for the cell efficiency  parameters for HMdcDigitizer



HMdcCellEff(const char* name,const char* title, const char* context,Int_t n) : HParSet(name,title,context)
 constructor

~HMdcCellEff()
 destructor

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 readline(const char* buf, Int_t* set)
 decodes one line read from ascii file I/O and calls HMdcCellEffAngle::fillTime1(...)

void putAsciiHeader(TString& header)
 puts the ascii header to the string used in HMdcParAsciiFileIo

Bool_t writeline(char *buf, Int_t mod, Int_t angle)
 writes one line to the buffer used by ascii file I/O

Int_t calcEfficiency(Int_t m, Float_t r , Float_t b, Float_t l)
 Function checks if given minimum distance from wire is larger than
 the allowed value (calculated from the level which was set before).
 If r > rCut the function returns -1 for the efficiency flag.

Float_t calcEffval(Int_t m, Float_t r , Float_t b, Float_t l)
 Function calculates the efficiency value which would correspond
 to a cut at the given value of r.

void clear()
 clears the container



Inline Functions


        HMdcCellEffMod& operator[](Int_t i)
                   void setContainerComment(TString mycomment)
                TString getContainerComment()
                   void printContainerComment()
                  Int_t getSize()
                   void printParam()
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
            HMdcCellEff HMdcCellEff(const HMdcCellEff&)
           HMdcCellEff& operator=(const HMdcCellEff&)


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