BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrTd1MatchingModule


class description - source file - inheritance tree

class BrTd1MatchingModule : public BrModule


    protected:
void SetMagnetFields() public:
BrTd1MatchingModule BrTd1MatchingModule() BrTd1MatchingModule BrTd1MatchingModule(const Char_t* name, const Char_t* title) BrTd1MatchingModule BrTd1MatchingModule(BrTd1MatchingModule&) virtual void ~BrTd1MatchingModule() virtual void Begin() static TClass* Class() virtual void DefineHistograms() virtual void End() virtual void Event(BrEventNode* inNode, BrEventNode* outNode) virtual void Finish() virtual Double_t GetDx() const virtual Double_t GetDy() const virtual Double_t GetXoffset() const virtual Double_t GetYoffset() const virtual void Init() virtual TClass* IsA() const virtual void Print(Option_t* option = "B") const virtual void SetDx(const Double_t d = 0.0) virtual void SetDy(const Double_t d = 0.0) virtual void SetXoffset(const Double_t d = 0.0) virtual void SetYoffset(const Double_t d = 0.0) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
TNtuple* fntpTd1 BrCoordinateSystem* fD1System BrCoordinateSystem* fT1System BrMagnetVolume* fD1Volume BrDetectorVolume* fT1Volume BrDetectorVolume* fTd1Volume Double_t fXoffset Double_t fYoffset Double_t fDx Double_t fDy TH2F* fhProjectedPosition TH2F* fhXYDiff TH2F* fhYYDiff1 TH2F* fhYYDiff2 TH2F* fhYYDiff3 TH1F* fhYDiff1 TH1F* fhYDiff2 TH1F* fhYDiff3 TH1F* fhXSlat1 TH1F* fhXSlat2 TH1F* fhXSlat3 TH1F* fhAcpXSlat1 TH1F* fhAcpXSlat2 TH1F* fhAcpXSlat3 TH1F* fhXSlatDiff1 TH1F* fhXSlatDiff2 TH1F* fhXSlatDiff3

Class Description

 Performe matching between FfsTracks and Td1 counter.



BrTd1MatchingModule()
 Default constructor. DO NOT USE

BrTd1MatchingModule(const Char_t* name, const Char_t* title) : BrModule(name, title)
 Named Constructor

void DefineHistograms()
 Define histograms. They are:
 <fill in here>

void Init()
 Job-level initialisation

void Begin()
 Run-level initialisation

void SetMagnetFields()
 ----------------------------------------------------
 get field information from database
 update info each time a field is needed (event loop)
 ----------------------------------------------------

void Event(BrEventNode* inNode, BrEventNode* outNode)
 Input:
  Td1Rdo datatables.
  FFsTracks
 Output:


 NOTE: this module assumes that you have the data in the innode.
 If this is not the case add the module to an AppendContainer rather than
 the MainModule and you are in business.

 Method:
 project tracks (swim back through D1) and looks for slat hit. There is a complication
 not taken care of namely that the is a physical overlap between the slat 2 and 1 or 3
 by several mm so there are valid combinations of one track to two slats.
 The cuts are deliberately loose at this point.


void End()
 Run-level finalisation

void Finish()
 Job-level finalisation

void Print(Option_t* option) const
 Print module information
 See BrModule::Print for options.
 In addition this module defines the Option:
 <fill in here>



Inline Functions


                       void SetXoffset(const Double_t d = 0.0)
                       void SetYoffset(const Double_t d = 0.0)
                       void SetDx(const Double_t d = 0.0)
                       void SetDy(const Double_t d = 0.0)
                   Double_t GetXoffset() const
                   Double_t GetYoffset() const
                   Double_t GetDx() const
                   Double_t GetDy() const
                    TClass* Class()
                    TClass* IsA() const
                       void ShowMembers(TMemberInspector& insp, char* parent)
                       void Streamer(TBuffer& b)
                       void StreamerNVirtual(TBuffer& b)
        BrTd1MatchingModule BrTd1MatchingModule(BrTd1MatchingModule&)
                       void ~BrTd1MatchingModule()

This page automatically generated by script docBrat by Christian Holm

Copyright ; 2002 BRAHMS Collaboration <brahmlib@rcf.rhic.bnl.gov>
Last Update on 2002/04/02 19:20:53 $ by videbaek $

Validate HTML
Validate CSS