BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrVertexFilter


class description - source file - inheritance tree

class BrVertexFilter : public BrModule


    protected:
virtual Bool_t CheckBbVertex(BrEventNode* node) virtual Bool_t CheckInelVertex(BrEventNode* node) virtual Bool_t CheckProjectionVertex(BrEventNode* node) virtual Bool_t CheckTpm1Vertex(BrEventNode* node) virtual Bool_t CheckZdcVertex(BrEventNode* node) public:
BrVertexFilter BrVertexFilter() BrVertexFilter BrVertexFilter(const Char_t* name, const Char_t* title) BrVertexFilter BrVertexFilter(BrVertexFilter&) void ~BrVertexFilter() static TClass* Class() virtual void DefineHistograms() virtual void DemandBbVertex(Bool_t k = kTRUE) virtual void DemandInelVertex(Bool_t k = kTRUE) virtual void DemandProjectionVertex(Bool_t k = kTRUE) virtual void DemandTpcVertex(Bool_t k = kTRUE) virtual void DemandZdcVertex(Bool_t k = kTRUE) virtual void Event(BrEventNode* input, BrEventNode*) virtual void Finish() virtual TClass* IsA() const virtual void Print(Option_t* option = "B") const virtual void SetMaxBbVertexZ(Float_t z = 30) virtual void SetMaxInelVertexZ(Float_t z = 0) virtual void SetMaxProjectionVertexZ(Float_t z = 0) virtual void SetMaxTpm1VertexZ(Float_t z = 0) virtual void SetMaxZdcVertexZ(Float_t z = 45) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Float_t fMaxZdcVertexZ Float_t fMaxBbVertexZ Float_t fMaxTpm1VertexZ Float_t fMaxInelVertexZ Float_t fMaxProjectionVertexZ Float_t fCurrentZdcVertexZ Float_t fCurrentBbVertexZ Float_t fCurrentTpm1VertexZ Float_t fCurrentInelVertexZ Float_t fCurrentProjectionVertexZ Int_t fNoTimesCalled No of times the Event point was called Int_t fNoAcceptedZDC No of times ZDC cut was passed. Int_t fNoAcceptedBB No of times BB cut was passed. Int_t fNoAcceptedTPM1 No of times TPM1 cut was passed. Int_t fNoAcceptedInel No of times Inel cut was passed. Int_t fNoAcceptedProjection No of times Projection cut was passed. TH1F* fAllZdcHisto TH1F* fAccZdcHisto TH1F* fAllBbHisto TH1F* fAccBbHisto TH1F* fAllTpm1Histo TH1F* fAccTpm1Histo TH1F* fAllInelHisto TH1F* fAccInelHisto TH1F* fAllProjectionHisto TH1F* fAccProjectionHisto Bool_t kDemandZdcVertex Absolutely require a Zdc data object Bool_t kDemandBbVertex Absolutely require a Bb data object Bool_t kDemandTpcVertex Absolutely require a Tpc data object Bool_t kDemandInelVertex Absolutely require an Inel data object Bool_t kDemandProjectionVertex Absolutely require a Projection data object


See also

BrCollisionFilter, BrPpCollisionFilter

Class Description

 A module to select events with specific triggers


BrVertexFilter()
 Default constructor

BrVertexFilter(const Char_t* name, const Char_t* title) : BrModule(name, title)
 Default constructor

void SetMaxZdcVertexZ(Float_t z)
 Set the vertex cut for the ZDC vertex. If 0 or less, the ZDC
 vertex is ignored.

void SetMaxBbVertexZ(Float_t z)
 Set the vertex cut for the Beam-Beam vertex. If 0 or less, the
 Beam-Beam vertex is ignored.

void SetMaxTpm1VertexZ(Float_t z)
 Set the vertex cut for the TPM1 vertex. If 0 or less, the
 Beam-Beam vertex is ignored.

void SetMaxInelVertexZ(Float_t z)
 Set the vertex cut for the Inel vertex. If 0 or less, the
 Beam-Beam vertex is ignored.

void SetMaxProjectionVertexZ(Float_t z)
 Set the vertex cut for the Inel vertex. If 0 or less, the
 Beam-Beam vertex is ignored.

void DefineHistograms()
 Define histograms

void Event(BrEventNode* input, BrEventNode* output)
 Return with status set to kDisaster if the input was note a
 BrEvent object, or the trigger mask doesn't fit with the selected
 triggers.

Bool_t CheckZdcVertex(BrEventNode* node)
 Check if the ZDC vertex is within bounds

Bool_t CheckBbVertex(BrEventNode* node)
 Check if the BB vertex is within bounds

Bool_t CheckTpm1Vertex(BrEventNode* node)
 Check if the ZDC vertex is within bounds

Bool_t CheckInelVertex(BrEventNode* node)
 Check if the Inel vertex is within bounds

Bool_t CheckProjectionVertex(BrEventNode* node)
 Check if the Projection vertex is within bounds

void Finish()
 Print statistics

void Print(Option_t* option) const
 Print info on module



Inline Functions


                  void DemandZdcVertex(Bool_t k = kTRUE)
                  void DemandBbVertex(Bool_t k = kTRUE)
                  void DemandTpcVertex(Bool_t k = kTRUE)
                  void DemandInelVertex(Bool_t k = kTRUE)
                  void DemandProjectionVertex(Bool_t k = kTRUE)
               TClass* Class()
               TClass* IsA() const
                  void ShowMembers(TMemberInspector& insp, char* parent)
                  void Streamer(TBuffer& b)
                  void StreamerNVirtual(TBuffer& b)
        BrVertexFilter BrVertexFilter(BrVertexFilter&)
                  void ~BrVertexFilter()

This page automatically generated by script docBrat by Christian Holm

Copyright ; 2002 BRAHMS Collaboration <brahmlib@rcf.rhic.bnl.gov>
Last Update on 2002/08/30 17:02:02 $ by hagel $

Validate HTML
Validate CSS