BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrDigitizeTof


class description - source file - inheritance tree

class BrDigitizeTof : public BrModule

    private:
void SetDetectorParamsTof(BrDetectorParamsTof* par) void SetDetectorParamsTof(const BrDetectorParamsTof& par) virtual void SetDetectorVolume(BrDetectorVolume* vol) public:
BrDigitizeTof BrDigitizeTof() BrDigitizeTof BrDigitizeTof(const Text_t* Name, const Char_t* Title) BrDigitizeTof BrDigitizeTof(BrDigitizeTof&) virtual void ~BrDigitizeTof() Int_t CheckSlatNo(Int_t slat) static TClass* Class() BrDetectorVolume* DetectorVolume() virtual void Event(BrEventNode* InputTable, BrEventNode* OutputTable) virtual BrDetectorParamsTof* GetDetectorParamsTof() const virtual BrDetectorVolume* GetDetectorVolume() const virtual void Init() virtual TClass* IsA() const void ListDetectorParameters() const virtual void Print(Option_t* option = "B") const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
BrDetectorVolume* fVolumeParamsTof_p BrDetectorParamsTof* fParamsTof_p

Class Description

	BrDigitizeTof

      Digitisation Module class for time-of flight detectors
      which have each slat instrumented with two tubes at each end.
      The module expect to get geant hits as input and produce digitized
      Tof data BrTofDig.
      At present this code works for the following detectors
      TOFW:  geant hits TFP1
      TOF1:  geant hits TOF1
      TOF2:  geant hits TOF2
      TD1 :  geant hits D1TR





BrDigitizeTof()
 Constructor.

BrDigitizeTof(const Text_t *Name, const Char_t *Title) :BrModule(Name,Title)

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



void SetDetectorParamsTof(const BrDetectorParamsTof& par)
 Set the Tof 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)

~BrDigitizeTof()

void Init()
 Initialize entry point. This is not called at creation time but
 This would be a good place to setup histograms, statistics variables etc.
 This could also be done at the time of the constructor.
 This might likely be more
 Usefull since one has the opportunity to setup varibales before this call
 (e.g. detector parameters or alike).

void Event(BrEventNode* InputTable, BrEventNode* OutputTable)

Int_t CheckSlatNo(Int_t slat)

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

void Print(Option_t* option) const
 Standard information printout.

 Options: See BrModule::Print




Inline Functions


                        void SetDetectorVolume(BrDetectorVolume* vol)
        BrDetectorParamsTof* GetDetectorParamsTof() const
           BrDetectorVolume* GetDetectorVolume() const
           BrDetectorVolume* DetectorVolume()
                     TClass* Class()
                     TClass* IsA() const
                        void ShowMembers(TMemberInspector& insp, char* parent)
                        void Streamer(TBuffer& b)
                        void StreamerNVirtual(TBuffer& b)
               BrDigitizeTof BrDigitizeTof(BrDigitizeTof&)

This page automatically generated by script docBrat by Christian Holm

Copyright ; 2002 BRAHMS Collaboration <brahmlib@rcf.rhic.bnl.gov>
Last Update on Wed Sep 11 04:51:32 2002 by

Validate HTML
Validate CSS