BrDigitizeTPC


class description - source file - inheritance tree

class BrDigitizeTPC : public BrModule


    public:
BrDigitizeTPC BrDigitizeTPC(Char_t* Name, Char_t* Title) BrDigitizeTPC BrDigitizeTPC() BrDigitizeTPC BrDigitizeTPC(BrDigitizeTPC&) void ~BrDigitizeTPC() TClass* Class() virtual void Event(BrEventNode* InputTable, BrEventNode* OutputTable) virtual void EventStatisticsEnd() virtual void EventStatisticsStart() virtual BrDetectorParamsTPC* GetDetectorParamsTPC() virtual BrDetectorVolume* GetDetectorVolume() virtual void Init() virtual TClass* IsA() void ListDetectorParameters() virtual void ListEventStatistics() void SetDetectorParamsTPC(BrDetectorParamsTPC* par) void SetDetectorParamsTPC(BrDetectorParamsTPC& par) virtual void SetDetectorVolume(BrDetectorVolume* vol) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

private:
TH1F* d_Hhits BrDetectorParamsTPC* fParams_p BrDetectorVolume* fVolumeParams_p BrDataTable* padres[20] TStopwatch fTimer Double_t fCpuTime Int_t fNumGeantHits Int_t fNumDigTPC Int_t fNumTPCHit

Class Description

 The BRDigitize TPC is the digitization module for the
 pad TPC's. The module performs a slow digitization using the
 geant hit information.



BrDigitizeTPC()
 Constructor.

BrDigitizeTPC(Text_t *Name,Char_t *Title) : BrModule(Name, Title)
padres_p = new BrClonesArray("BrDigTPC",10000);

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



void SetDetectorParamsTPC(const BrDetectorParamsTPC& 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 EventStatisticsStart()

void EventStatisticsEnd()

void ListEventStatistics()

~BrDigitizeTPC()
 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 to be called once per event. This performes the actual slow simulation
 of the hits on the TPC.




Inline Functions


        BrDetectorParamsTPC* GetDetectorParamsTPC()
           BrDetectorVolume* GetDetectorVolume()
                        void SetDetectorVolume(BrDetectorVolume* vol)
                     TClass* Class()
                     TClass* IsA()
                        void ShowMembers(TMemberInspector& insp, char* parent)
                        void Streamer(TBuffer& b)
               BrDigitizeTPC BrDigitizeTPC(BrDigitizeTPC&)


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.