BrDigitizeDC


class description - source file - inheritance tree

class BrDigitizeDC : public BrModule

    private:
void Decode(BrEventNode* OutputTable) void Digitize(BrEventNode* InputTable, BrEventNode* OutputTable) void SortDighit(BrDataTable* DigitizedHits) public:
BrDigitizeDC BrDigitizeDC(Char_t* Name, Char_t* Title) BrDigitizeDC BrDigitizeDC() BrDigitizeDC BrDigitizeDC(BrDigitizeDC&) void ~BrDigitizeDC() TClass* Class() virtual void Event(BrEventNode* InputTable, BrEventNode* OutputTable) virtual void EventStatisticsEnd() virtual void EventStatisticsStart() virtual BrDetectorParamsDC* GetDetectorParamsDC() virtual BrDetectorVolume* GetDetectorVolume(Char_t* name) virtual void Init() virtual TClass* IsA() void ListDetectorParameters() virtual void ListEventStatistics() void SetDetectorParamsDC(BrDetectorParamsDC* par) void SetDetectorParamsDC(BrDetectorParamsDC& par) virtual void SetDetectorVolume(BrDetectorVolume* vol) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

private:
BrDetectorParamsDC* fParams_p BrDetectorVolume* fVolumeParams_p[4] Int_t fNumVol TStopwatch fTimer Double_t fCpuTime Int_t fNumGeantHits[3] Int_t fNumDigHits TH1F* d_Hhits TH1F* d_Dz TGraph* d_Graphxz

Class Description

 The TBrDigitizeDC is the base module for digitization of drift
  Chambers. The algorithms are based on those in Sonata and Sonata++




BrDigitizeDC() :BrModule()

BrDigitizeDC(Char_t *Name,Char_t *Title) :BrModule(Name,Title)

void SetDetectorParamsDC(BrDetectorParamsDC* par)
 Set the DC parameters with the values of the external parameters
 referenced by pointer
 Note that no owner ship is transferred. A copy is made.



void SetDetectorParamsDC(const BrDetectorParamsDC& par)
 Set the TPC parameters with the values of the external parameters.
 Note that no owner ship is transferred. A copy is made.
 There is no real need for the copy code here. Both Name and Title
 will be copied (it seems)

void ListDetectorParameters()
 List the current value of the digitization parameters on
 standard out.

void SetDetectorVolume(BrDetectorVolume *vol)

BrDetectorVolume* GetDetectorVolume(const Char_t *name)

void EventStatisticsStart()

void EventStatisticsEnd()

void ListEventStatistics()

~BrDigitizeDC()
 Is there a problem with the fact the the fParams_p can point to different kinds
 of datastructures i.e. potential memory leak. probably yes since fParams_p is
 defined as BrDetectorParams nor BrDetectorParamsTPC.
 By second thought it is probably ok. As long as all parameters are defined/set
 Using the SetDetectorParamsTPC / DC /BB etc..


void Init()
 The init member function/method is used to define histograms
 The histograms is added to the list of hist objects in this
 module.

void Event(BrEventNode* InputTable,BrEventNode* OutputTable) // Event method for DC digitization //

void Digitize(BrEventNode* InputTable,BrEventNode* OutputTable)

void Decode(BrEventNode* Table)

void SortDighit(BrDataTable* DigitizedHits)



Inline Functions


        BrDetectorParamsDC* GetDetectorParamsDC()
                    TClass* Class()
                    TClass* IsA()
                       void ShowMembers(TMemberInspector& insp, char* parent)
                       void Streamer(TBuffer& b)
               BrDigitizeDC BrDigitizeDC(BrDigitizeDC&)


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