ATLAS Offline Software
Public Member Functions | List of all members
ICscCalibTool Class Referenceabstract

#include <ICscCalibTool.h>

Inheritance diagram for ICscCalibTool:
Collaboration diagram for ICscCalibTool:

Public Member Functions

 DeclareInterfaceID (ICscCalibTool, 1, 0)
 
virtual int femtoCoulombToADCCount (uint32_t stripHashId, const double femtoCoulombs) const =0
 given a charge on the CSC strip, convert that to ADC counts this is needed in the digitization for example where it is the charges on the strips that are simulated first and converter to AOD samples in a subsequent step. More...
 
virtual int numberOfElectronsToADCCount (uint32_t stripHashId, const int numberOfElecEquiv) const =0
 Here the charge on the CSC strip is given in number of equivalent electrons; conversion to ADC counts. More...
 
virtual double adcCountToFemtoCoulomb (const float adcValue, const float slope) const =0
 given one CSC ADC sample value, convert that to charge in femtoCoulomb More...
 
virtual double adcCountToFemtoCoulomb (uint32_t stripHashId, const float adcValue) const =0
 
virtual double adcCountToNumberOfElectrons (const float adcValue, const float slope) const =0
 given one CSC ADC sample value, convert that to charge in number of equivalent electrons More...
 
virtual double adcCountToNumberOfElectrons (uint32_t stripHashId, const float adcValue) const =0
 
virtual bool adcToCharge (const std::vector< uint16_t > &samples, uint32_t stripHashId, std::vector< float > &charges) const =0
 Conversion of ADC value to charge - Here the charges is returned in numbers of equivalent electrons. More...
 
virtual bool findCharge (const float samplingTime, const unsigned int samplingPhase, const std::vector< float > &samples, double &charge, double &time) const =0
 Given sampling values for a CSC strip, find the corresponding charge by fitting the time samples. More...
 
virtual double stripNoise (uint32_t stripHashId, const bool convert=true) const =0
 return the noise (sigma) on the readout strip in ADC counts or Number of Electrons More...
 
virtual double stripRMS (uint32_t stripHashId, const bool convert=true) const =0
 return the RMS on the readout strip in ADC counts or Number of Electrons More...
 
virtual double stripF001 (uint32_t stripHashId, const bool convert=true) const =0
 return the F001 on the readout strip in ADC counts or Number of Electrons More...
 
virtual double stripPedestal (uint32_t stripHashId, const bool convert=true) const =0
 return the pedestal on the readout strip in ADC counts or Number of Electrons More...
 
virtual bool isGood (uint32_t stripHashId) const =0
 return the status of this strip, good channel, dead channel, noisy channel - it will return true for strip that working fine, false is returned for dead/noisy channels More...
 
virtual int stripStatusBit (uint32_t stripHashId) const =0
 
virtual double func (const double x, const float slope) const =0
 these function used in the AOD <-> conversion; may not be needed once we integrate the calibration service More...
 
virtual double func_prime (const double x, const float slope) const =0
 
virtual double signal (const double z) const =0
 
virtual double signal_amplitude (const double driftTime, const double samplingTime) const =0
 
virtual double getZ0 () const =0
 
virtual double getSamplingTime () const =0
 
virtual double getSignalWidth () const =0
 
virtual double getTimeOffset () const =0
 
virtual double getNumberOfIntegration () const =0
 
virtual double getNumberOfIntegration2 () const =0
 
virtual bool stripT0phase (uint32_t stripHashId) const =0
 
virtual double stripT0base (uint32_t stripHashId) const =0
 
virtual std::pair< double, double > addBipfunc (const double driftTime0, const double stripCharge0, const double driftTime1, const double stripCharge1) const =0
 
virtual std::vector< float > getSamplesFromBipolarFunc (const double driftTime0, const double stripCharge0) const =0
 
virtual double getLatency () const =0
 

Detailed Description

Definition at line 24 of file ICscCalibTool.h.

Member Function Documentation

◆ adcCountToFemtoCoulomb() [1/2]

virtual double ICscCalibTool::adcCountToFemtoCoulomb ( const float  adcValue,
const float  slope 
) const
pure virtual

given one CSC ADC sample value, convert that to charge in femtoCoulomb

◆ adcCountToFemtoCoulomb() [2/2]

virtual double ICscCalibTool::adcCountToFemtoCoulomb ( uint32_t  stripHashId,
const float  adcValue 
) const
pure virtual

◆ adcCountToNumberOfElectrons() [1/2]

virtual double ICscCalibTool::adcCountToNumberOfElectrons ( const float  adcValue,
const float  slope 
) const
pure virtual

given one CSC ADC sample value, convert that to charge in number of equivalent electrons

◆ adcCountToNumberOfElectrons() [2/2]

virtual double ICscCalibTool::adcCountToNumberOfElectrons ( uint32_t  stripHashId,
const float  adcValue 
) const
pure virtual

◆ adcToCharge()

virtual bool ICscCalibTool::adcToCharge ( const std::vector< uint16_t > &  samples,
uint32_t  stripHashId,
std::vector< float > &  charges 
) const
pure virtual

Conversion of ADC value to charge - Here the charges is returned in numbers of equivalent electrons.

◆ addBipfunc()

virtual std::pair<double,double> ICscCalibTool::addBipfunc ( const double  driftTime0,
const double  stripCharge0,
const double  driftTime1,
const double  stripCharge1 
) const
pure virtual

◆ DeclareInterfaceID()

ICscCalibTool::DeclareInterfaceID ( ICscCalibTool  ,
,
 
)

◆ femtoCoulombToADCCount()

virtual int ICscCalibTool::femtoCoulombToADCCount ( uint32_t  stripHashId,
const double  femtoCoulombs 
) const
pure virtual

given a charge on the CSC strip, convert that to ADC counts this is needed in the digitization for example where it is the charges on the strips that are simulated first and converter to AOD samples in a subsequent step.

◆ findCharge()

virtual bool ICscCalibTool::findCharge ( const float  samplingTime,
const unsigned int  samplingPhase,
const std::vector< float > &  samples,
double &  charge,
double &  time 
) const
pure virtual

Given sampling values for a CSC strip, find the corresponding charge by fitting the time samples.

By default, a parabolic fit is done. The charge and the time are returned. The time is calculated with respect to the time of the first sample

◆ func()

virtual double ICscCalibTool::func ( const double  x,
const float  slope 
) const
pure virtual

these function used in the AOD <-> conversion; may not be needed once we integrate the calibration service

◆ func_prime()

virtual double ICscCalibTool::func_prime ( const double  x,
const float  slope 
) const
pure virtual

◆ getLatency()

virtual double ICscCalibTool::getLatency ( ) const
pure virtual

◆ getNumberOfIntegration()

virtual double ICscCalibTool::getNumberOfIntegration ( ) const
pure virtual

◆ getNumberOfIntegration2()

virtual double ICscCalibTool::getNumberOfIntegration2 ( ) const
pure virtual

◆ getSamplesFromBipolarFunc()

virtual std::vector<float> ICscCalibTool::getSamplesFromBipolarFunc ( const double  driftTime0,
const double  stripCharge0 
) const
pure virtual

◆ getSamplingTime()

virtual double ICscCalibTool::getSamplingTime ( ) const
pure virtual

◆ getSignalWidth()

virtual double ICscCalibTool::getSignalWidth ( ) const
pure virtual

◆ getTimeOffset()

virtual double ICscCalibTool::getTimeOffset ( ) const
pure virtual

◆ getZ0()

virtual double ICscCalibTool::getZ0 ( ) const
pure virtual

◆ isGood()

virtual bool ICscCalibTool::isGood ( uint32_t  stripHashId) const
pure virtual

return the status of this strip, good channel, dead channel, noisy channel - it will return true for strip that working fine, false is returned for dead/noisy channels

◆ numberOfElectronsToADCCount()

virtual int ICscCalibTool::numberOfElectronsToADCCount ( uint32_t  stripHashId,
const int  numberOfElecEquiv 
) const
pure virtual

Here the charge on the CSC strip is given in number of equivalent electrons; conversion to ADC counts.

◆ signal()

virtual double ICscCalibTool::signal ( const double  z) const
pure virtual

◆ signal_amplitude()

virtual double ICscCalibTool::signal_amplitude ( const double  driftTime,
const double  samplingTime 
) const
pure virtual

◆ stripF001()

virtual double ICscCalibTool::stripF001 ( uint32_t  stripHashId,
const bool  convert = true 
) const
pure virtual

return the F001 on the readout strip in ADC counts or Number of Electrons

  • number of electrons by default: convert=true

◆ stripNoise()

virtual double ICscCalibTool::stripNoise ( uint32_t  stripHashId,
const bool  convert = true 
) const
pure virtual

return the noise (sigma) on the readout strip in ADC counts or Number of Electrons

  • number of electrons by default: convert=true

◆ stripPedestal()

virtual double ICscCalibTool::stripPedestal ( uint32_t  stripHashId,
const bool  convert = true 
) const
pure virtual

return the pedestal on the readout strip in ADC counts or Number of Electrons

  • in number of electrons by default: convert=true

◆ stripRMS()

virtual double ICscCalibTool::stripRMS ( uint32_t  stripHashId,
const bool  convert = true 
) const
pure virtual

return the RMS on the readout strip in ADC counts or Number of Electrons

  • number of electrons by default: convert=true

◆ stripStatusBit()

virtual int ICscCalibTool::stripStatusBit ( uint32_t  stripHashId) const
pure virtual

◆ stripT0base()

virtual double ICscCalibTool::stripT0base ( uint32_t  stripHashId) const
pure virtual

◆ stripT0phase()

virtual bool ICscCalibTool::stripT0phase ( uint32_t  stripHashId) const
pure virtual

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