BmnRoot
Loading...
Searching...
No Matches
BmnZDCEventData Class Reference

#include <BmnZDCEventData.h>

Inheritance diagram for BmnZDCEventData:
[legend]
Collaboration diagram for BmnZDCEventData:
[legend]

Public Member Functions

 BmnZDCEventData ()
 
virtual ~BmnZDCEventData ()
 
void Set (TClonesArray *pArrayOfBmnZDCDigits, Float_t *pModuleScale=0, Float_t *pModuleThreshold=0)
 
Float_t GetEnergy (char op)
 
Float_t GetEnergy ()
 
Int_t GetNHits (char op)
 
Int_t GetNHits ()
 
Float_t GetX ()
 
Float_t GetY ()
 
Float_t GetAsymmetry ()
 
Float_t GetMoment ()
 
virtual void Print (Option_t *option="") const
 
 BmnZDCEventData ()
 
virtual ~BmnZDCEventData ()
 
void Set (TClonesArray *pArrayOfBmnZDCDigits, Float_t *pModuleScale=0, Float_t *pModuleThreshold=0)
 
Float_t GetEnergy (char op)
 
Float_t GetEnergy ()
 
Int_t GetNHits (char op)
 
Int_t GetNHits ()
 
Float_t GetX ()
 
Float_t GetY ()
 
Float_t GetAsymmetry ()
 
Float_t GetMoment ()
 
virtual void Print (Option_t *option="") const
 

Protected Member Functions

 ClassDef (BmnZDCEventData, 2)
 
 ClassDef (BmnZDCEventData, 2)
 

Protected Attributes

Float_t fE
 
Float_t fEc
 
Float_t fEp
 
Float_t fEn
 
UChar_t fH
 
UChar_t fHc
 
UChar_t fHp
 
UChar_t fHn
 
Float_t fX
 
Float_t fY
 
Float_t fAsymmetry
 
Float_t fMoment
 

Detailed Description

Definition at line 16 of file BmnZDCEventData.h.

Constructor & Destructor Documentation

◆ BmnZDCEventData() [1/2]

BmnZDCEventData::BmnZDCEventData ( )

Definition at line 13 of file BmnZDCEventData.cxx.

References fAsymmetry, fE, fEc, fEn, fEp, fH, fHc, fHn, fHp, fMoment, fX, and fY.

◆ ~BmnZDCEventData() [1/2]

BmnZDCEventData::~BmnZDCEventData ( )
virtual

Definition at line 20 of file BmnZDCEventData.cxx.

◆ BmnZDCEventData() [2/2]

BmnZDCEventData::BmnZDCEventData ( )

◆ ~BmnZDCEventData() [2/2]

virtual BmnZDCEventData::~BmnZDCEventData ( )
virtual

Member Function Documentation

◆ ClassDef() [1/2]

BmnZDCEventData::ClassDef ( BmnZDCEventData  ,
 
)
protected

◆ ClassDef() [2/2]

BmnZDCEventData::ClassDef ( BmnZDCEventData  ,
 
)
protected

◆ GetAsymmetry() [1/2]

Float_t BmnZDCEventData::GetAsymmetry ( )
inline

Definition at line 55 of file BmnZDCEventData.h.

References fAsymmetry.

Referenced by BmnTrackConv::ProcessDST().

◆ GetAsymmetry() [2/2]

Float_t BmnZDCEventData::GetAsymmetry ( )
inline

Definition at line 55 of file BmnZDCEventData.h.

References fAsymmetry.

◆ GetEnergy() [1/4]

Float_t BmnZDCEventData::GetEnergy ( )
inline

Definition at line 40 of file BmnZDCEventData.h.

References fE.

◆ GetEnergy() [2/4]

Float_t BmnZDCEventData::GetEnergy ( )
inline

Definition at line 40 of file BmnZDCEventData.h.

References fE.

◆ GetEnergy() [3/4]

Float_t BmnZDCEventData::GetEnergy ( char  op)

Get ZDC energy

Parameters
op- 'c' - central, 'p' - protons side, 'n' - nutrons side or full energy by default
Returns
- ZDC energy in GeV

Definition at line 81 of file BmnZDCEventData.cxx.

References fE, fEc, fEn, and fEp.

Referenced by BmnTrackConv::ProcessDST().

◆ GetEnergy() [4/4]

Float_t BmnZDCEventData::GetEnergy ( char  op)

Get ZDC energy

Parameters
op- 'c' - central, 'p' - protons side, 'n' - nutrons side or full energy by default
Returns
- ZDC energy in GeV

◆ GetMoment() [1/2]

Float_t BmnZDCEventData::GetMoment ( )
inline

Definition at line 56 of file BmnZDCEventData.h.

References fMoment.

Referenced by BmnTrackConv::ProcessDST().

◆ GetMoment() [2/2]

Float_t BmnZDCEventData::GetMoment ( )
inline

Definition at line 56 of file BmnZDCEventData.h.

References fMoment.

◆ GetNHits() [1/4]

Int_t BmnZDCEventData::GetNHits ( )
inline

Definition at line 50 of file BmnZDCEventData.h.

References fH.

◆ GetNHits() [2/4]

Int_t BmnZDCEventData::GetNHits ( )
inline

Definition at line 50 of file BmnZDCEventData.h.

References fH.

◆ GetNHits() [3/4]

Int_t BmnZDCEventData::GetNHits ( char  op)

Get number of hits

Parameters
op- 'c' - central, 'p' - protons side, 'n' - nutrons side or full energy by default
Returns
- ZDC multiplicity

Definition at line 91 of file BmnZDCEventData.cxx.

References fH, fHc, fHn, and fHp.

Referenced by BmnTrackConv::ProcessDST().

◆ GetNHits() [4/4]

Int_t BmnZDCEventData::GetNHits ( char  op)

Get number of hits

Parameters
op- 'c' - central, 'p' - protons side, 'n' - nutrons side or full energy by default
Returns
- ZDC multiplicity

◆ GetX() [1/2]

Float_t BmnZDCEventData::GetX ( )
inline

Definition at line 52 of file BmnZDCEventData.h.

References fX.

Referenced by BmnTrackConv::ProcessDST().

◆ GetX() [2/2]

Float_t BmnZDCEventData::GetX ( )
inline

Definition at line 52 of file BmnZDCEventData.h.

References fX.

◆ GetY() [1/2]

Float_t BmnZDCEventData::GetY ( )
inline

Definition at line 53 of file BmnZDCEventData.h.

References fY.

Referenced by BmnTrackConv::ProcessDST().

◆ GetY() [2/2]

Float_t BmnZDCEventData::GetY ( )
inline

Definition at line 53 of file BmnZDCEventData.h.

References fY.

◆ Print() [1/2]

void BmnZDCEventData::Print ( Option_t *  option = "") const
virtual

Definition at line 101 of file BmnZDCEventData.cxx.

References fAsymmetry, fE, fH, and fMoment.

◆ Print() [2/2]

virtual void BmnZDCEventData::Print ( Option_t *  option = "") const
virtual

◆ Set() [1/2]

void BmnZDCEventData::Set ( TClonesArray *  pArrayOfBmnZDCDigits,
Float_t *  pModuleScale = 0,
Float_t *  pModuleThreshold = 0 
)

Calculate all parameters values from BmnZDCDigits passed

Parameters
pArrayOfBmnZDCDigits- array of BmnZDCDigit
pModuleScale- Array of coeffs for each ZDC module (starting from 1 to 104, index 0 is not used)
pModuleThreshold- Array of thresholds for each ZDC module (starting from 1 to 104, index 0 is not used)

Definition at line 23 of file BmnZDCEventData.cxx.

References fAsymmetry, fE, fEc, fEn, fEp, fH, fHc, fHn, fHp, fMoment, fX, fY, BmnCaloDigit::GetAmp(), BmnCaloDigit::GetChannel(), BmnCaloDigit::GetX(), BmnCaloDigit::GetY(), and i.

Referenced by BmnZdcAnalyzer::Exec().

◆ Set() [2/2]

void BmnZDCEventData::Set ( TClonesArray *  pArrayOfBmnZDCDigits,
Float_t *  pModuleScale = 0,
Float_t *  pModuleThreshold = 0 
)

Calculate all parameters values from BmnZDCDigits passed

Parameters
pArrayOfBmnZDCDigits- array of BmnZDCDigit
pModuleScale- Array of coeffs for each ZDC module (starting from 1 to 104, index 0 is not used)
pModuleThreshold- Array of thresholds for each ZDC module (starting from 1 to 104, index 0 is not used)

Member Data Documentation

◆ fAsymmetry

Float_t BmnZDCEventData::fAsymmetry
protected

◆ fE

Float_t BmnZDCEventData::fE
protected

◆ fEc

Float_t BmnZDCEventData::fEc
protected

Definition at line 61 of file BmnZDCEventData.h.

Referenced by BmnZDCEventData(), GetEnergy(), Set(), and BmnZDCEventDataExt::SetEnergy().

◆ fEn

Float_t BmnZDCEventData::fEn
protected

Definition at line 63 of file BmnZDCEventData.h.

Referenced by BmnZDCEventData(), GetEnergy(), Set(), and BmnZDCEventDataExt::SetEnergy().

◆ fEp

Float_t BmnZDCEventData::fEp
protected

Definition at line 62 of file BmnZDCEventData.h.

Referenced by BmnZDCEventData(), GetEnergy(), Set(), and BmnZDCEventDataExt::SetEnergy().

◆ fH

UChar_t BmnZDCEventData::fH
protected

◆ fHc

UChar_t BmnZDCEventData::fHc
protected

Definition at line 66 of file BmnZDCEventData.h.

Referenced by BmnZDCEventData(), GetNHits(), Set(), and BmnZDCEventDataExt::SetNHits().

◆ fHn

UChar_t BmnZDCEventData::fHn
protected

Definition at line 68 of file BmnZDCEventData.h.

Referenced by BmnZDCEventData(), GetNHits(), Set(), and BmnZDCEventDataExt::SetNHits().

◆ fHp

UChar_t BmnZDCEventData::fHp
protected

Definition at line 67 of file BmnZDCEventData.h.

Referenced by BmnZDCEventData(), GetNHits(), Set(), and BmnZDCEventDataExt::SetNHits().

◆ fMoment

Float_t BmnZDCEventData::fMoment
protected

◆ fX

Float_t BmnZDCEventData::fX
protected

Definition at line 70 of file BmnZDCEventData.h.

Referenced by BmnZDCEventData(), GetX(), Set(), and BmnZDCEventDataExt::SetX().

◆ fY

Float_t BmnZDCEventData::fY
protected

Definition at line 71 of file BmnZDCEventData.h.

Referenced by BmnZDCEventData(), GetY(), Set(), and BmnZDCEventDataExt::SetY().


The documentation for this class was generated from the following files: