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

#include <BmnEcalDigitizer.h>

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

Public Member Functions

 BmnEcalDigitizer ()
 
virtual ~BmnEcalDigitizer ()
 
virtual InitStatus Init ()
 
virtual void Exec (Option_t *opt)
 
virtual void Print (Option_t *option="") const
 
void SetGeometryFileName (const char *name)
 
void SetInteractionDepthShift (Double_t cm)
 
void SetThreshold (Float_t MeV)
 
void SetMaxEcalPointTime (Float_t ns)
 
void SetPeakTimeDelay (Float_t ns)
 
void SetFiber (Float_t sol, Float_t length=52., Float_t moduleLayerThickness=.195)
 
 BmnEcalDigitizer ()
 
virtual ~BmnEcalDigitizer ()
 
virtual InitStatus Init ()
 
virtual void Exec (Option_t *opt)
 
virtual void Print (Option_t *option="") const
 
void SetGeometryFileName (const char *name)
 
void SetInteractionDepthShift (Double_t cm)
 
void SetThreshold (Float_t MeV)
 
void SetMaxEcalPointTime (Float_t ns)
 
void SetPeakTimeDelay (Float_t ns)
 
void SetFiber (Float_t sol, Float_t length=52., Float_t moduleLayerThickness=.195)
 

Detailed Description

Definition at line 17 of file BmnEcalDigitizer.h.

Constructor & Destructor Documentation

◆ BmnEcalDigitizer() [1/2]

BmnEcalDigitizer::BmnEcalDigitizer ( )

Definition at line 18 of file BmnEcalDigitizer.cxx.

◆ ~BmnEcalDigitizer() [1/2]

BmnEcalDigitizer::~BmnEcalDigitizer ( )
virtual

Definition at line 21 of file BmnEcalDigitizer.cxx.

◆ BmnEcalDigitizer() [2/2]

BmnEcalDigitizer::BmnEcalDigitizer ( )

◆ ~BmnEcalDigitizer() [2/2]

virtual BmnEcalDigitizer::~BmnEcalDigitizer ( )
virtual

Member Function Documentation

◆ Exec() [1/2]

◆ Exec() [2/2]

virtual void BmnEcalDigitizer::Exec ( Option_t *  opt)
virtual

◆ Init() [1/2]

InitStatus BmnEcalDigitizer::Init ( )
virtual

Definition at line 24 of file BmnEcalDigitizer.cxx.

◆ Init() [2/2]

virtual InitStatus BmnEcalDigitizer::Init ( )
virtual

◆ Print() [1/2]

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

Definition at line 108 of file BmnEcalDigitizer.cxx.

References BmnECALDigit::GetLabCoords(), and i.

◆ Print() [2/2]

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

◆ SetFiber() [1/2]

void BmnEcalDigitizer::SetFiber ( Float_t  sol,
Float_t  length = 52.,
Float_t  moduleLayerThickness = .195 
)
inline

Allows to take into account slowing of light propagation inside of WLS fibers

Parameters
sol- light propagation speed in cm/ns, 0 - don't apply
length- length of the WLS fiber (52 cm)
moduleLayerThickness- thikness of the layer in the module (0.195 cm)

Definition at line 85 of file BmnEcalDigitizer.h.

◆ SetFiber() [2/2]

void BmnEcalDigitizer::SetFiber ( Float_t  sol,
Float_t  length = 52.,
Float_t  moduleLayerThickness = .195 
)
inline

Allows to take into account slowing of light propagation inside of WLS fibers

Parameters
sol- light propagation speed in cm/ns, 0 - don't apply
length- length of the WLS fiber (52 cm)
moduleLayerThickness- thikness of the layer in the module (0.195 cm)

Definition at line 85 of file BmnEcalDigitizer.h.

◆ SetGeometryFileName() [1/2]

void BmnEcalDigitizer::SetGeometryFileName ( const char *  name)
inline

Read coordinates on ECAL cells from provided gepmetry file If this file nod set try will be made to obtain it from FairGeoLoader

Parameters
name- ECAL geometry file name

Definition at line 31 of file BmnEcalDigitizer.h.

◆ SetGeometryFileName() [2/2]

void BmnEcalDigitizer::SetGeometryFileName ( const char *  name)
inline

Read coordinates on ECAL cells from provided gepmetry file If this file nod set try will be made to obtain it from FairGeoLoader

Parameters
name- ECAL geometry file name

Definition at line 31 of file BmnEcalDigitizer.h.

◆ SetInteractionDepthShift() [1/2]

void BmnEcalDigitizer::SetInteractionDepthShift ( Double_t  cm)
inline

By default cell interaction point supposed to be in the center of the cell volume. This param allows it to be shifted along of Z axis of the volume. Default value is 0

Parameters
cm- Depth shift in cm

Definition at line 43 of file BmnEcalDigitizer.h.

◆ SetInteractionDepthShift() [2/2]

void BmnEcalDigitizer::SetInteractionDepthShift ( Double_t  cm)
inline

By default cell interaction point supposed to be in the center of the cell volume. This param allows it to be shifted along of Z axis of the volume. Default value is 0

Parameters
cm- Depth shift in cm

Definition at line 43 of file BmnEcalDigitizer.h.

◆ SetMaxEcalPointTime() [1/2]

void BmnEcalDigitizer::SetMaxEcalPointTime ( Float_t  ns)
inline

BmnEcalPoints with grater time will be ignored. Default value is 1000 ns. Set 0 for no limit

Parameters
ns- max allowed time in nanoseconds, 0 - no limit

Definition at line 62 of file BmnEcalDigitizer.h.

◆ SetMaxEcalPointTime() [2/2]

void BmnEcalDigitizer::SetMaxEcalPointTime ( Float_t  ns)
inline

BmnEcalPoints with grater time will be ignored. Default value is 1000 ns. Set 0 for no limit

Parameters
ns- max allowed time in nanoseconds, 0 - no limit

Definition at line 62 of file BmnEcalDigitizer.h.

◆ SetPeakTimeDelay() [1/2]

void BmnEcalDigitizer::SetPeakTimeDelay ( Float_t  ns)
inline

Cell start time calculated as weighted average of all BmnEcalPoints inside it. Cell peak time is just the start time with constant delay. Default value is 5 ns

Parameters
ns- delay between start and peak time

Definition at line 73 of file BmnEcalDigitizer.h.

◆ SetPeakTimeDelay() [2/2]

void BmnEcalDigitizer::SetPeakTimeDelay ( Float_t  ns)
inline

Cell start time calculated as weighted average of all BmnEcalPoints inside it. Cell peak time is just the start time with constant delay. Default value is 5 ns

Parameters
ns- delay between start and peak time

Definition at line 73 of file BmnEcalDigitizer.h.

◆ SetThreshold() [1/2]

void BmnEcalDigitizer::SetThreshold ( Float_t  MeV)
inline

If cell energy is less than threshold it wont be stored. Default value is 10 MeV

Parameters
MeV- cell threshold, MeV

Definition at line 53 of file BmnEcalDigitizer.h.

◆ SetThreshold() [2/2]

void BmnEcalDigitizer::SetThreshold ( Float_t  MeV)
inline

If cell energy is less than threshold it wont be stored. Default value is 10 MeV

Parameters
MeV- cell threshold, MeV

Definition at line 53 of file BmnEcalDigitizer.h.


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