![]() |
ATLAS Offline Software
|
#include <SCT_FrontEnd.h>
Public Member Functions | |
| SCT_FrontEnd (const std::string &type, const std::string &name, const IInterface *parent) | |
| constructor | |
| virtual | ~SCT_FrontEnd ()=default |
| Destructor. | |
| virtual StatusCode | initialize () override |
| AlgTool InterfaceID. | |
| virtual StatusCode | finalize () override |
| AlgTool finalize. | |
| virtual void | process (SiChargedDiodeCollection &collection, CLHEP::HepRandomEngine *rndmEngine) const override |
| process the collection of pre digits: needed to go through all single-strip pre-digits to calculate the amplifier response add noise (this could be moved elsewhere later) apply threshold do clustering stripMax is for benefit of ITkStrips which can have different numbers of strips for module - for SCT this is always 768 | |
| StatusCode | doSignalChargeForHits (SiChargedDiodeCollection &collectione, SCT_FrontEndData &data, const int &stripMax) const |
| StatusCode | doThresholdCheckForRealHits (SiChargedDiodeCollection &collectione, SCT_FrontEndData &data, const int &stripMax) const |
| StatusCode | doThresholdCheckForCrosstalkHits (SiChargedDiodeCollection &collection, SCT_FrontEndData &data, const int &stripMax) const |
| StatusCode | doClustering (SiChargedDiodeCollection &collection, SCT_FrontEndData &data, const int &stripMax) const |
| StatusCode | prepareGainAndOffset (SiChargedDiodeCollection &collection, const Identifier &moduleId, CLHEP::HepRandomEngine *rndmEngine, SCT_FrontEndData &data, const int &stripMax) const |
| StatusCode | prepareGainAndOffset (SiChargedDiodeCollection &collection, int side, const Identifier &moduleId, CLHEP::HepRandomEngine *rndmEngine, SCT_FrontEndData &data, const int &stripMax) const |
| StatusCode | randomNoise (SiChargedDiodeCollection &collection, const Identifier &moduleId, CLHEP::HepRandomEngine *rndmEngine, SCT_FrontEndData &data, const int &stripMax) const |
| StatusCode | randomNoise (SiChargedDiodeCollection &collection, const Identifier &moduleId, int side, CLHEP::HepRandomEngine *rndmEngine, SCT_FrontEndData &data, const int &stripMax) const |
| StatusCode | addNoiseDiode (SiChargedDiodeCollection &collection, int strip, int tbin) const |
| StatusCode | initVectors (int strips, SCT_FrontEndData &data) const |
Static Public Member Functions | |
| static float | meanValue (std::vector< float > &calibDataVect) |
Private Types | |
| enum | CompressionMode { Level_X1X =1 , Edge_01X =2 , AnyHit_1XX_X1X_XX1 =3 } |
| enum | ReadOutMode { Condensed =0 , Expanded =1 } |
Private Attributes | |
| FloatProperty | m_NoiseBarrel {this, "NoiseBarrel", 1500.0, "Noise factor, Barrel (in the case of no use of calibration data)"} |
| FloatProperty | m_NoiseBarrel3 {this, "NoiseBarrel3", 1541.0, "Noise factor, Barrel3 (in the case of no use of calibration data)"} |
| FloatProperty | m_NoiseInners {this, "NoiseInners", 1090.0, "Noise factor, EC Inners (in the case of no use of calibration data)"} |
| FloatProperty | m_NoiseMiddles {this, "NoiseMiddles", 1557.0, "Noise factor, EC Middles (in the case of no use of calibration data)"} |
| FloatProperty | m_NoiseShortMiddles {this, "NoiseShortMiddles", 940.0, "Noise factor, EC Short Middles (in the case of no use of calibration data)"} |
| FloatProperty | m_NoiseOuters {this, "NoiseOuters", 1618.0, "Noise factor, Ec Outers (in the case of no use of calibration data)"} |
| DoubleProperty | m_NOBarrel {this, "NOBarrel", 1.5e-5, "Noise factor, Barrel (in the case of no use of calibration data)"} |
| DoubleProperty | m_NOBarrel3 {this, "NOBarrel3", 2.1e-5, "Noise factor, Barrel3 (in the case of no use of calibration data)"} |
| DoubleProperty | m_NOInners {this, "NOInners", 5.0e-9, "Noise Occupancy, EC Inners (in the case of no use of calibration data)"} |
| DoubleProperty | m_NOMiddles {this, "NOMiddles", 2.7e-5, "Noise Occupancy, EC Middles (in the case of no use of calibration data)"} |
| DoubleProperty | m_NOShortMiddles {this, "NOShortMiddles", 2.0e-9, "Noise Occupancy, EC Short Middles (in the case of no use of calibration data)"} |
| DoubleProperty | m_NOOuters {this, "NOOuters", 3.5e-5, "Noise Occupancy, Ec Outers (in the case of no use of calibration data)"} |
| BooleanProperty | m_NoiseOn {this, "NoiseOn", true, "To know if noise is on or off when using calibration data"} |
| BooleanProperty | m_analogueNoiseOn {this, "AnalogueNoiseOn", true, "To know if analogue noise is on or off"} |
| FloatProperty | m_GainRMS {this, "GainRMS", 0.031, "Gain spread parameter within the strips for a given Chip gain"} |
| FloatProperty | m_Ospread {this, "Ospread", 0.0001, "offset spread within the strips for a given Chip offset"} |
| FloatProperty | m_OGcorr {this, "OffsetGainCorrelation", 0.00001, "Gain/offset correlation for the strips"} |
| FloatProperty | m_Threshold {this, "Threshold", 1.0, "Threshold"} |
| FloatProperty | m_timeOfThreshold {this, "TimeOfThreshold", 30.0, "Threshold time"} |
| ShortProperty | m_data_compression_mode {this, "DataCompressionMode", Edge_01X, "Front End Data Compression Mode: 1 is level mode X1X (default), 2 is edge mode 01X, 3 is any hit mode (1XX|X1X|XX1)"} |
| ShortProperty | m_data_readout_mode {this, "DataReadOutMode", Condensed, "Front End Data Read out mode Mode: 0 is condensed mode and 1 is expanded mode"} |
| BooleanProperty | m_useCalibData {this, "UseCalibData", true, "Flag to set the use of calibration data for noise, Gain,offset etc."} |
| ToolHandle< IAmplifier > | m_sct_amplifier {this, "SCT_Amp", "SCT_Amp", "Handle the Amplifier tool"} |
| Handle the Amplifier tool. | |
| ToolHandle< ISCT_ReadCalibChipDataTool > | m_ReadCalibChipDataTool {this, "SCT_ReadCalibChipDataTool", "SCT_ReadCalibChipDataTool", "Tool to retrieve chip calibration information"} |
| Handle to the Calibration ConditionsTool. | |
| const InDetDD::SCT_DetectorManager * | m_SCTdetMgr {nullptr} |
| Handle to SCT detector manager. | |
| const SCT_ID * | m_sct_id {nullptr} |
| Handle to SCT ID helper. | |
| StringProperty | m_detMgrName {this, "DetectorManager", "SCT", "Name of DetectorManager to retrieve"} |
Definition at line 70 of file SCT_FrontEnd.h.
|
private |
| Enumerator | |
|---|---|
| Level_X1X | |
| Edge_01X | |
| AnyHit_1XX_X1X_XX1 | |
Definition at line 107 of file SCT_FrontEnd.h.
|
private |
| SCT_FrontEnd::SCT_FrontEnd | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
constructor
Definition at line 29 of file SCT_FrontEnd.cxx.
|
virtualdefault |
Destructor.
| StatusCode SCT_FrontEnd::addNoiseDiode | ( | SiChargedDiodeCollection & | collection, |
| int | strip, | ||
| int | tbin ) const |
Definition at line 969 of file SCT_FrontEnd.cxx.
| StatusCode SCT_FrontEnd::doClustering | ( | SiChargedDiodeCollection & | collection, |
| SCT_FrontEndData & | data, | ||
| const int & | stripMax ) const |
Definition at line 875 of file SCT_FrontEnd.cxx.
| StatusCode SCT_FrontEnd::doSignalChargeForHits | ( | SiChargedDiodeCollection & | collectione, |
| SCT_FrontEndData & | data, | ||
| const int & | stripMax ) const |
Definition at line 646 of file SCT_FrontEnd.cxx.
| StatusCode SCT_FrontEnd::doThresholdCheckForCrosstalkHits | ( | SiChargedDiodeCollection & | collection, |
| SCT_FrontEndData & | data, | ||
| const int & | stripMax ) const |
Definition at line 799 of file SCT_FrontEnd.cxx.
| StatusCode SCT_FrontEnd::doThresholdCheckForRealHits | ( | SiChargedDiodeCollection & | collectione, |
| SCT_FrontEndData & | data, | ||
| const int & | stripMax ) const |
Definition at line 721 of file SCT_FrontEnd.cxx.
|
overridevirtual |
AlgTool finalize.
Definition at line 101 of file SCT_FrontEnd.cxx.
|
overridevirtual |
AlgTool InterfaceID.
AlgTool initialize
Definition at line 36 of file SCT_FrontEnd.cxx.
| StatusCode SCT_FrontEnd::initVectors | ( | int | strips, |
| SCT_FrontEndData & | data ) const |
Definition at line 111 of file SCT_FrontEnd.cxx.
|
static |
Definition at line 983 of file SCT_FrontEnd.cxx.
| StatusCode SCT_FrontEnd::prepareGainAndOffset | ( | SiChargedDiodeCollection & | collection, |
| const Identifier & | moduleId, | ||
| CLHEP::HepRandomEngine * | rndmEngine, | ||
| SCT_FrontEndData & | data, | ||
| const int & | stripMax ) const |
Definition at line 129 of file SCT_FrontEnd.cxx.
| StatusCode SCT_FrontEnd::prepareGainAndOffset | ( | SiChargedDiodeCollection & | collection, |
| int | side, | ||
| const Identifier & | moduleId, | ||
| CLHEP::HepRandomEngine * | rndmEngine, | ||
| SCT_FrontEndData & | data, | ||
| const int & | stripMax ) const |
Definition at line 232 of file SCT_FrontEnd.cxx.
|
overridevirtual |
process the collection of pre digits: needed to go through all single-strip pre-digits to calculate the amplifier response add noise (this could be moved elsewhere later) apply threshold do clustering stripMax is for benefit of ITkStrips which can have different numbers of strips for module - for SCT this is always 768
Definition at line 575 of file SCT_FrontEnd.cxx.
| StatusCode SCT_FrontEnd::randomNoise | ( | SiChargedDiodeCollection & | collection, |
| const Identifier & | moduleId, | ||
| CLHEP::HepRandomEngine * | rndmEngine, | ||
| SCT_FrontEndData & | data, | ||
| const int & | stripMax ) const |
Definition at line 353 of file SCT_FrontEnd.cxx.
| StatusCode SCT_FrontEnd::randomNoise | ( | SiChargedDiodeCollection & | collection, |
| const Identifier & | moduleId, | ||
| int | side, | ||
| CLHEP::HepRandomEngine * | rndmEngine, | ||
| SCT_FrontEndData & | data, | ||
| const int & | stripMax ) const |
Definition at line 473 of file SCT_FrontEnd.cxx.
|
private |
Definition at line 123 of file SCT_FrontEnd.h.
|
private |
Definition at line 129 of file SCT_FrontEnd.h.
|
private |
Definition at line 130 of file SCT_FrontEnd.h.
|
private |
Definition at line 140 of file SCT_FrontEnd.h.
|
private |
Definition at line 124 of file SCT_FrontEnd.h.
|
private |
Definition at line 116 of file SCT_FrontEnd.h.
|
private |
Definition at line 117 of file SCT_FrontEnd.h.
|
private |
Definition at line 118 of file SCT_FrontEnd.h.
|
private |
Definition at line 110 of file SCT_FrontEnd.h.
|
private |
Definition at line 111 of file SCT_FrontEnd.h.
|
private |
Definition at line 112 of file SCT_FrontEnd.h.
|
private |
Definition at line 113 of file SCT_FrontEnd.h.
|
private |
Definition at line 122 of file SCT_FrontEnd.h.
|
private |
Definition at line 115 of file SCT_FrontEnd.h.
|
private |
Definition at line 114 of file SCT_FrontEnd.h.
|
private |
Definition at line 119 of file SCT_FrontEnd.h.
|
private |
Definition at line 121 of file SCT_FrontEnd.h.
|
private |
Definition at line 120 of file SCT_FrontEnd.h.
|
private |
Definition at line 126 of file SCT_FrontEnd.h.
|
private |
Definition at line 125 of file SCT_FrontEnd.h.
|
private |
Handle to the Calibration ConditionsTool.
Definition at line 134 of file SCT_FrontEnd.h.
|
private |
Handle the Amplifier tool.
Definition at line 133 of file SCT_FrontEnd.h.
|
private |
|
private |
|
private |
Definition at line 127 of file SCT_FrontEnd.h.
|
private |
Definition at line 128 of file SCT_FrontEnd.h.
|
private |
Definition at line 131 of file SCT_FrontEnd.h.