|
BrDigitizeDCclass description - source file - inheritance tree class BrDigitizeDC : public BrModuleprivate: Data Membersprivate: Class DescriptionThe TBrDigitizeDC is the base module for digitization of drift Chambers. The algorithms are based on those in Sonata and Sonata++ BrDigitizeDC() :BrModule() BrDigitizeDC(const Char_t *Name, const Char_t *Title) :BrModule(Name,Title) void DefineHistograms() Called from Module::Book Create histograms 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() const List the current value of the digitization parameters on standard out. void SetDetectorVolume(BrDetectorVolume *vol) BrDetectorVolume* GetDetectorVolume(const Char_t *name) 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 // Bool_t Digitize(BrEventNode* InputTable,BrEventNode* OutputTable) Digitize DC events return kTRUE if successful return kFALSE if error void SetDetectorTrackParams(BrGeantHit* hit) define track associated with a hit in the local detector frame void SetSubModuleTrackParams(BrGeantHit* hit) define track associated with a hit in the local sub-module frame void SortDighit(BrDataTable* DigitizedHits) void DrawGeantHits() Inline FunctionsBrDetectorParamsDC* GetDetectorParamsDC() void SetPosres(Float_t posres) Float_t GetPosres() void SetBragGeoMode(Bool_t val) TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) BrDigitizeDC BrDigitizeDC(BrDigitizeDC&) |
||||||
This page automatically generated by script docBrat by Christian Holm |
Copyright ; 2002 BRAHMS Collaboration
<brahmlib@rcf.rhic.bnl.gov>
|