BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrCentFilter


class description - source file - inheritance tree

class BrCentFilter : public BrModule

    private:
Bool_t CheckMult(BrEventNode* inNode) Bool_t CheckSi(BrEventNode* inNode) Bool_t CheckTile(BrEventNode* inNode) public:
BrCentFilter BrCentFilter() BrCentFilter BrCentFilter(const Char_t* name, const Char_t* title) BrCentFilter BrCentFilter(BrCentFilter&) void ~BrCentFilter() static TClass* Class() virtual void DefineHistograms() virtual void Event(BrEventNode* inNode, BrEventNode* outNode) virtual void Finish() virtual void Init() virtual TClass* IsA() const virtual void Print(Option_t* option = "B") const void SetHighLimit(Float_t high = 100) void SetLowLimit(Float_t low = 0) void SetMultHighLimit(Float_t high = 100) void SetMultLowLimit(Float_t low = 0) void SetSiHighLimit(Float_t high = 100) void SetSiLowLimit(Float_t low = 0) void SetTileHighLimit(Float_t high = 100) void SetTileLowLimit(Float_t low = 0) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Float_t fTileLowLimit Minimum centrality to except (most central) Float_t fTileHighLimit Maximum centrality to except (least central) Float_t fSiLowLimit Minimum centrality to except (most central) Float_t fSiHighLimit Maximum centrality to except (least central) Float_t fMultLowLimit Minimum centrality to except (most central) Float_t fMultHighLimit Maximum centrality to except (least central) TH1F* fTileAccCentHisto TH1F* fTileAllCentHisto TH1F* fSiAccCentHisto TH1F* fSiAllCentHisto TH1F* fMultAccCentHisto TH1F* fMultAllCentHisto Int_t fNoTimesCalled Counter of events Int_t fNoAcceptedTile Counter of "good" TMA centralities Int_t fNoAcceptedSi Counter of "good" SMA centralities Int_t fNoAcceptedMult Counter of "good" TMA+SMA centralities

Class Description

 Filter to select events in a certein centrality region. One can set
 the low and high limits. Events that fall outside of those limits
 are rejected, else they are passed on to the rest of the module
 pipeline.

 The low limit corresponds to the smallest value of the most central
 events, and the high limit corresponds to the biggest value of the
 most central events. For example to select events that are in the
 region of the 5% to 10% most central of all events, one should set
 low = 5 and high = 10

 You can set cuts on centralities obtained from either of the two
 modules:

    BrmultSdeCentModule
    BrMultCentModule

 To ignore one particular detector, just set the lower limit to 0
 and the upper to 100 (accept all events).

 This module assumes that a BrMultCent, as created by
 BrMultSdeCentModule with name CentMultTile, object is avaliable in the
 input node.
 This module assumes that a BrMultCent, as created by
 BrMultSdeCentModule with name CentMultSi, object is avaliable in the
 input node.
 This module assumes that a BrMultCent, as created by
 BrMultCentModule, object is avaliable in the input node.


BrCentFilter()
 Default constructor. DO NOT USE

BrCentFilter(const Char_t* name, const Char_t* title) : BrModule(name, title)
 Named constructor

void SetLowLimit(Float_t low)
 Set the low cut (from 0 to 100) on all detectors

void SetHighLimit(Float_t high)
 Set the high cut (from 0 to 100) on all detectors

void SetTileLowLimit(Float_t low)
 Set the low cut (from 0 to 100) for TMA data

void SetTileHighLimit(Float_t high)
 Set the high cut (from 0 to 100) for TMA data

void SetSiLowLimit(Float_t low)
 Set the low cut (from 0 to 100) for SMA data

void SetSiHighLimit(Float_t high)
 Set the high cut (from 0 to 100) for SMA data

void SetMultLowLimit(Float_t low)
 Set the low cut (from 0 to 100) for TMA + SMA data

void SetMultHighLimit(Float_t high)
 Set the high cut (from 0 to 100) for TMA + SMA data

void DefineHistograms()
 Define two histograms

void Init()
 Initialiser at job level

void Event(BrEventNode* inNode, BrEventNode* outNode)
 Main method. Process one event.

Bool_t CheckTile(BrEventNode* inNode)
 PRIVATE METHOD:
 Check if the tile centrality is within the bounds.

Bool_t CheckSi(BrEventNode* inNode)
 PRIVATE METHOD:
 Check if the si centrality is within the bounds.

Bool_t CheckMult(BrEventNode* inNode)
 PRIVATE METHOD:
 Check if the mult centrality is within the bounds.

void Finish()

void Print(Option_t* option) const
 Information on this module
 Options:
    S        Show statistics




Inline Functions


             TClass* Class()
             TClass* IsA() const
                void ShowMembers(TMemberInspector& insp, char* parent)
                void Streamer(TBuffer& b)
                void StreamerNVirtual(TBuffer& b)
        BrCentFilter BrCentFilter(BrCentFilter&)
                void ~BrCentFilter()

This page automatically generated by script docBrat by Christian Holm

Copyright ; 2002 BRAHMS Collaboration <brahmlib@rcf.rhic.bnl.gov>
Last Update on 2001/11/26 14:40:20 $ by cholm $

Validate HTML
Validate CSS