HerdSoftware  0.4.0
Public Member Functions | Public Attributes | List of all members
Herd::CaloIsCMOSRandomChannelInfoAlgo Class Reference

Algorithm that creates IsCMOS channel info in a random way. More...

#include <algorithms/digitization/CaloIsCMOSRandomChannelInfoAlgo.h>

Inheritance diagram for Herd::CaloIsCMOSRandomChannelInfoAlgo:

Public Member Functions

 CaloIsCMOSRandomChannelInfoAlgo (const std::string &name)
 Constructor. More...
 
bool Initialize () override
 Initialization of the algorithm. More...
 
bool Process () override
 

Public Attributes

EA::StorePtr m_globStore
 
unsigned int m_seed = defaultValue<decltype(m_seed)>
 
float m_meanMipValueHG = 323.
 
float m_stddevMipValueHG = 27.3
 
float m_meanLHRatio = 0.597
 
float m_stddevLHRatio = 0.0631
 
float m_meanPedHG = 3746.
 
float m_stddevPedHG = 138.
 
float m_meanPedLG = 3.65e5
 
float m_stddevPedLG = 8711
 

Detailed Description

Algorithm that creates IsCMOS channel info in a random way.

This algorithm creates a CaloIsCMOSChannelInfo by extracting random values from distributions that parameterize the behavior of the IsCMOS CALO readout system. The distributions are extracted from the sets of parameters reported in the original IsCMOS digitization code provided by Z. Quan. Mean and stddev of each distribution can be overridden by setting algorithm parameters.

Fiber positions for crosstalk computation are currently assigned in a linear way, assuming a fibers matrix of size sqrt(nCubes) and assigning X coordinates in an increasing fashion up to sqrt(nCubes), at whose value X is set back to 0 and Y incremented by 1.

Needed global objects:

name type store optional description
caloGeoParams CaloGeoParams globStore no Geometric parameters of the Calo.

Produced global objects:

name alias type store description
caloHGFRandomChannelInfo caloHGFChannelInfo CaloIsCMOSChannelInfo globStore Channel info for high-gain IsCMOS fibers.
caloLGFRandomChannelInfo caloLGFChannelInfo CaloIsCMOSChannelInfo globStore Channel info for low-gain IsCMOS fibers.

Parameters:

name type default description
seed unsigned int random Seed for the random generator.
meanMipValueHG float 323. Mean value of MIP distribution for high-gain channels.
stddevMipValueHG float 27.3 Standard deviation of MIP distribution for high-gain channels.
meanLHRatio float 0.597 Mean value of low-gain/high-gain distribution.
stddevLHRatio float 0.0631 Standard deviation of low-gain/high-gain distribution.
meanPedHG float 3746. Mean value of pedestal distribution for high-gain channels.
stddevPedHG float 138. Standard deviation of pedestal distribution for high-gain channels.
meanPedLG float 3.65e5 Mean value of pedestal distribution for low-gain channels.
stddevPedLG float 8711. Standard deviation of pedestal distribution for low-gain channels.

Constructor & Destructor Documentation

◆ CaloIsCMOSRandomChannelInfoAlgo()

Herd::CaloIsCMOSRandomChannelInfoAlgo::CaloIsCMOSRandomChannelInfoAlgo ( const std::string &  name)

Constructor.

Parameters
nameThe name of the algorithm.

Member Function Documentation

◆ Initialize()

bool Herd::CaloIsCMOSRandomChannelInfoAlgo::Initialize ( )
override

Initialization of the algorithm.

Returns
true if the initialization procedure is successful.

◆ Process()

bool Herd::CaloIsCMOSRandomChannelInfoAlgo::Process ( )
override

Member Data Documentation

◆ m_globStore

EA::StorePtr Herd::CaloIsCMOSRandomChannelInfoAlgo::m_globStore

◆ m_meanLHRatio

float Herd::CaloIsCMOSRandomChannelInfoAlgo::m_meanLHRatio = 0.597

◆ m_meanMipValueHG

float Herd::CaloIsCMOSRandomChannelInfoAlgo::m_meanMipValueHG = 323.

◆ m_meanPedHG

float Herd::CaloIsCMOSRandomChannelInfoAlgo::m_meanPedHG = 3746.

◆ m_meanPedLG

float Herd::CaloIsCMOSRandomChannelInfoAlgo::m_meanPedLG = 3.65e5

◆ m_seed

unsigned int Herd::CaloIsCMOSRandomChannelInfoAlgo::m_seed = defaultValue<decltype(m_seed)>

◆ m_stddevLHRatio

float Herd::CaloIsCMOSRandomChannelInfoAlgo::m_stddevLHRatio = 0.0631

◆ m_stddevMipValueHG

float Herd::CaloIsCMOSRandomChannelInfoAlgo::m_stddevMipValueHG = 27.3

◆ m_stddevPedHG

float Herd::CaloIsCMOSRandomChannelInfoAlgo::m_stddevPedHG = 138.

◆ m_stddevPedLG

float Herd::CaloIsCMOSRandomChannelInfoAlgo::m_stddevPedLG = 8711

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