|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef LARL1SIM_LARSCL1MAKER_H
6 #define LARL1SIM_LARSCL1MAKER_H
20 #include "Gaudi/Property.h"
21 #include "GaudiKernel/ServiceHandle.h"
84 this,
"ScCablingKey",
"LArOnOffIdMapSC",
85 "SG Key of SC LArOnOffIdMapping object"};
88 this,
"ShapeKey",
"LArShapeSC",
"SG Key of Shape conditions object"};
92 this,
"FracSKey",
"LArfSamplSC",
"SG Key of fSamplS conditions object"};
96 this,
"PedestalKey",
"LArPedestalSC",
"SGKey of LArPedestal object"};
100 this,
"LArNoiseKey",
"LArNoiseSC",
"SGKey of LArNoise object"};
104 this,
"LArAutoCorrKey",
"LArAutoCorrNoiseSC",
105 "SGKey of LArAutoCorrNoise object"};
109 this,
"LArADC2MeVKey",
"LArADC2MeVSC",
"SGKey of LArADC2MeV object"};
119 return handle.
cptr();
129 const int specialCase,
130 std::vector<float> visEnergy,
131 const int refTime)
const;
134 std::vector<float>& inputV);
143 const std::vector<std::pair<float, float> >& TimeE,
144 std::vector<float>& samples)
const;
156 this,
"UseLegacyRandomSeeds",
false,
157 "Use MC16-style random number seeding"};
199 this,
"SCL1ContainerName",
"LArDigitSCL1",
"Output LArDigit container"};
209 std::string m_EmBarrelHitContainerName;
211 std::string m_EmEndCapHitContainerName;
213 std::string m_HecHitContainerName;
215 std::string m_ForWardHitContainerName;
Property holding a SG store/key/clid from which a ReadHandle is made.
static const short s_NBENERGIES
number of energies at which saturation is described (em)
StatusCode initialize()
Read ascii files for auxiliary data (puslse shapes, noise, etc...)
void printConditions(const HWIdentifier &hwSC)
Method to print SuperCell Conditions.
unsigned int m_nSamples
output number of samples
bool m_useTriggerTime
Alorithm property: use trigger time or not.
bool m_NoiseOnOff
algorithm property: noise (in all sub-detectors) is on if true
static const short s_MAXSAMPLES
max number of samples in pulse shape
std::vector< std::vector< float > > m_autoCorrHec
auxiliary HEC data: auto-correlation matrix
LArSCL1Maker(const std::string &name, ISvcLocator *pSvcLocator)
constructor
static const short s_NBETABINS
number of eta bins
const LArOnline_SuperCellID * m_OnlSCHelper
pointer to the online LAr helper
bool m_noHadCalibMode
algorithm property: no calibration mode for had towers
SG::ReadHandleKey< LArDigitContainer > m_bkgDigitsKey
Background Digit Overlay, default key is Bkg_LArDigitSCL2.
std::string m_saveHitsContainer
StatusCode execute(const EventContext &context) const
Create LArSCL1 object save in TES (2 containers: 1 EM, 1 hadronic)
const CaloCell_SuperCell_ID * m_scHelper
pointer to the offline TT helper
bool m_noEmCalibMode
algorithm property: no calibration mode for EM towers
bool m_PileUp
algorithm property: pile up or not
const T * retrieve(const EventContext &context, SG::ReadCondHandleKey< T > handleKey) const
~LArSCL1Maker()
destructor
An algorithm that can be simultaneously executed in multiple threads.
std::vector< float > computeSignal(const Identifier towerId, const int Ieta, const int specialCase, std::vector< float > visEnergy, const int refTime) const
initialize hit map
std::vector< float > computeNoise(const Identifier towerId, const int Ieta, std::vector< float > &inputV)
SG::ReadCondHandleKey< LArAutoCorrNoise > m_autoCorrNoiseSCKey
Property: AutoCorr Noise (conditions input).
Gaudi::Property< std::string > m_randomStreamName
Helper class for offline supercell identifiers.
SG::ReadCondHandleKey< ILArNoise > m_noiseSCKey
Property: Electronics Noise (conditions input).
The aim of this algorithm is the simulation of the LAr analogue Super-Cell sums.
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadCondHandleKey< ILArPedestal > m_pedestalSCKey
Property: Pedestal offset (conditions input).
void ConvertHits2Samples(const EventContext &context, const HWIdentifier &hwSC, CaloGain::CaloGain igain, const std::vector< std::pair< float, float > > &TimeE, std::vector< float > &samples) const
Method for converting Hits from samples (simplified version of the same method in LarPileUpTool)
SG::ReadCondHandleKey< ILArfSampl > m_fracSKey
Property: Fraction of Energy Sampled (conditions input).
ServiceHandle< IIncidentSvc > m_incSvc
Helper class for offline cell identifiers.
int m_BeginRunPriority
pointer to the TriggerTimeTool
IChronoStatSvc * m_chronSvc
Property holding a SG store/key/clid from which a WriteHandle is made.
bool m_chronoTest
algorithm property: switch chrono on
std::vector< std::string > m_HitContainer
list of hit containers
interface to a tool that returns the time offset of the current trigger. Used by PileUpMergeSvc
ServiceHandle< IAthRNGSvc > m_atRndmGenSvc
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKeySC
ToolHandle< ICaloSuperCellIDTool > m_scidtool
static const short s_PEAKPOS
peak position
Gaudi::Property< bool > m_useLegacyRandomSeeds
unsigned int m_firstSample
output first samples
Gaudi::Property< uint32_t > m_randomSeedOffset
std::string m_SubDetectors
algorithm property: sub-detectors to be simulated
SG::ReadCondHandleKey< ILArShape > m_shapesKey
Property: Pulse shape (conditions input).
SG::WriteHandleKey< LArDigitContainer > m_sLArDigitsContainerKey
output Lar Digits SC container
static const short s_NBDEPTHS
number of sampling (in depth)
SG::ReadHandleKey< LArHitEMap > m_hitMapKey
hit map
const std::string & key() const
const CaloCell_ID * m_OflHelper
pointer to the offline id helper
SG::ReadCondHandleKey< LArADC2MeV > m_adc2mevSCKey
Property: ADC2MeV conversion (conditions input).
static const short s_NBSAMPLES
number of samples in TTL1s
const_pointer_type cptr()