BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrMultCentCalModule


class description - source file - inheritance tree

class BrMultCentCalModule : public BrModule


    protected:
Float_t FindVertex(BrEventNode* node) public:
BrMultCentCalModule BrMultCentCalModule() BrMultCentCalModule BrMultCentCalModule(const Char_t* name, const Char_t* title) BrMultCentCalModule BrMultCentCalModule(BrMultCentCalModule&) virtual void ~BrMultCentCalModule() virtual void AddCut(Float_t cut) virtual void Begin() 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 virtual void SetFunctionOrder(Int_t order = 3) virtual void SetMax(Float_t max = 4) virtual void SetOutputName(const Char_t* name) virtual void SetSingleNBins(Int_t n = 100) virtual void SetVertexMax(Float_t z = 50) virtual void SetVertexNBins(Int_t n = 8) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TString fOutputName TDirectory* fHistDir Histogram directory TH2F* fVtxVsEHisto Two dim scatter plot to fill. TH1D** fCutHistos TH1D* fVtxHisto Float_t fMax Max Energy for single histograms Int_t fSingleNBins Number of single bins Float_t fVertexMax Max absolut Z for vertex. Int_t fVertexNBins Number of vertex bins. Int_t fFunctionOrder order of polynomials Int_t fNCuts number of cut functions Ssiz_t fSCuts Size of cut array Float_t* fCuts Cut values for functions.

Class Description

  Module to do the find the centrality cuts for TMA and SMA.

  The cuts are defined in terms of the total energy deposited rather
  than the total multiplicity, so the the cuts (calibrations) are
  largly indenpendent of the various corrections one may apply to
  the multiplicty calculations.

  Cutting in the energy rather than the multiplicity ofcourse gives
  something different, but I believe (and also have seen) that the
  effect is negiable.  Also, cutting in energy is less likely to
  introduce system errors or bias.

  This means that we define the centrality in terms of energy
  deposited in the TMA/SMA and _not_ in terms of multiplicity.

  The module expects as input minimum bias events.  For the summer
  2000 run this is defined as

     Inclusive trigger 4
     At least one hit above thresshold in TMA/SMA
     The existence of a primary vertex as determind by the ZDCs

  An additional vertex cut of +/- 50cm is highly recommended.  Note
  that only the primary vertex position as found from the ZDC data
  is used, to avoid introducing a further bias.


BrMultCentCalModule()
 Default constructor. DO NOT USE

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

~BrMultCentCalModule()
 Destructor.

void AddCut(Float_t cut)
 Add a centrality cut to the calibration. Cut must be between 0
 (inclusive) and 100 (exclusive).

void SetFunctionOrder(Int_t order)
 Set the order of the polynomial for the (vertex,energy),
 fit. Default is 3.

void SetOutputName(const Char_t* name)
 Set the file name of the file to output temporary calibration
 parameters to

void SetMax(Float_t max)
 Set the maximum value to put in the internal 2D histogram for the
 sum total calibrated tile response. Default is 4

void SetSingleNBins(Int_t bins)
 Set the number of single bins. Default is 100.

void SetVertexMax(Float_t max)
 Set the maximum Z-coordinate of the primary verticies to use in
 fits. Default is 50cm.

void SetVertexNBins(Int_t bins)
 Set the number of vertex bins to fit over.
 Default is 8.

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

void Init()
 Initialise this module.

 If no centrality cuts have been defined by user, then the
 following cuts are defined:

  5%, 10%, 15%, 20%, 30%, 40%, 50%


void Begin()
 Run-level initialisation

void Event(BrEventNode* inNode, BrEventNode* outNode)
 Per event method

Float_t FindVertex(BrEventNode* node)
 Try to get a vertex from the input node. Only ZDC vertex is
 considered to not introduce further bias

void Finish()
 Do the calibration. That is, do the linear (polynomial) fit to
 the values of the cuts requested. The parameters is written to a
 ASCII file on disk, and histograms are stored in reqular
 histogram file.

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


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

This page automatically generated by script docBrat by Christian Holm

Copyright ; 2002 BRAHMS Collaboration <brahmlib@rcf.rhic.bnl.gov>
Last Update on 2001/11/21 19:13:30 $ by cholm $

Validate HTML
Validate CSS