|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef LARL1SIM_LARTTL1MAKER_H
6 #define LARL1SIM_LARTTL1MAKER_H
19 #include "Gaudi/Property.h"
20 #include "GaudiKernel/ServiceHandle.h"
45 class HepRandomEngine;
61 public IIncidentListener
83 virtual void handle(
const Incident&)
override;
99 std::vector<float> visEnergy,
const int refTime)
const;
102 std::vector<float>& inputV, CLHEP::HepRandomEngine* rndmEngine);
126 "Use MC16-style random number seeding"};
Property holding a SG store/key/clid from which a ReadHandle is made.
std::vector< float > m_sinThetaEmb
auxiliary EMBarrel data: sin(theta)
std::array< SG::ReadHandleKey< LArHitContainer >, 4 > m_xxxHitContainerName
static const short s_NBENERGIES
number of energies at which saturation is described (em)
std::vector< float > m_noiseRmsHec
auxiliary HEC data: noise rms
static const short s_PEAKPOS
peak position
SG::ReadCondHandleKey< ILArfSampl > m_fSamplKey
Sampling fractions retrieved from DB.
StatusCode readAuxiliary()
method called at the begining of execute() to fill the hit map
SG::WriteHandleKey< LArTTL1Container > m_EmTTL1ContainerName
algorithm property: container name for the EM TTL1s
std::vector< std::vector< float > > m_autoCorrHec
auxiliary HEC data: auto-correlation matrix
Scalar eta() const
pseudorapidity method
std::vector< float > computeSignal(const Identifier towerId, const int Ieta, const int specialCase, std::vector< float > visEnergy, const int refTime) const
initialize hit map
int decodeInverse(int region, int eta)
const std::string & algName(ID id)
Converts a JetAlgorithmType::ID into a string.
void setSeed(size_t seed)
Tool providing the mapping of the online and offline TriggerTower identifiers as well as the TT-cells...
std::vector< float > m_calibCoeffFcalHad
auxiliary FCAL data: calibration coefficients
Helper class for LArHEC offline identifiers.
static const short s_NBSAMPLES
number of samples in TTL1s
virtual StatusCode initialize() override
Read ascii files for auxiliary data (puslse shapes, noise, etc...)
std::vector< float > m_calibCoeffEmec
auxiliary EMEC data: calibration coeeficient
bool m_NoiseOnOff
algorithm property: noise (in all sub-detectors) is on if true
bool const RAWDATA *ch2 const
std::vector< float > m_sinThetaHec
auxiliary HEC data: sin(theta)
float m_debugThresh
algorithm property: debug threshold
std::vector< std::vector< float > > m_noiseRmsFcal
auxiliary FCAL data: noise rms
Gaudi::Property< uint32_t > m_randomSeedOffset
LArTTL1Maker(const std::string &name, ISvcLocator *pSvcLocator)
constructor
SG::ReadHandleKey< LArHitEMap > m_hitMapKey
hit map
std::string m_truthHitsContainer
key for saving truth
virtual StatusCode execute() override
Create LArTTL1 object save in TES (2 containers: 1 EM, 1 hadronic)
std::vector< std::vector< float > > m_pulseShapeFcal
auxiliary FCAL data: pulse shapes
ToolHandle< CaloTriggerTowerService > m_ttSvc
std::vector< float > computeNoise(const Identifier towerId, const int Ieta, std::vector< float > &inputV, CLHEP::HepRandomEngine *rndmEngine)
const LArFCAL_ID * m_fcalHelper
pointer to the offline FCAL helper
::StatusCode StatusCode
StatusCode definition for legacy code.
std::vector< float > m_cellRelGainFcal
auxiliary FCAL data: relative gains
std::vector< float > m_noiseRmsEmb
auxiliary EMBarrel data: noise rms
bool m_noEmCalibMode
algorithm property: no calibration mode for EM towers
std::vector< std::vector< float > > m_pulseShapeDerFcal
auxiliary FCAL data: pulse shape derivatives
static const short s_NBETABINS
number of eta bins
bool m_noHadCalibMode
algorithm property: no calibration mode for had towers
std::vector< float > m_pulseShapeHec
auxiliary HEC data: pulse shape
std::vector< std::vector< float > > m_calibCoeffFcal
auxiliary FCAL data: calibration coefficients
Helper class for offline cell identifiers.
static const short s_NBDEPTHS
number of sampling (in depth)
std::vector< float > m_refEnergyEm
auxiliary EM data: reference energies for saturation simulation
void setSeed(const std::string &algName, uint64_t ev, uint64_t run)
The aim of this algorithm is the simulation of the LAr analogue trigger tower sums.
std::vector< float > m_satEnergyHec
auxiliary HEC data: saturation energy
std::vector< std::vector< float > > m_pulseShapeEm
auxiliary EM data: pulse shapes
virtual StatusCode finalize() override
Property holding a SG store/key/clid from which a WriteHandle is made.
virtual ~LArTTL1Maker()
destructor
Helper class for offline TT identifiers.
interface to a tool that returns the time offset of the current trigger. Used by PileUpMergeSvc
const CaloLVL1_ID * m_lvl1Helper
pointer to the offline TT helper
const CaloCell_ID * m_OflHelper
pointer to the offline id helper
std::vector< float > m_calibCoeffEmb
auxiliary EMBarrel data: calibration coefficient
const LArEM_ID * m_emHelper
pointer to the offline EM helper
bool m_useTriggerTime
Alorithm property: use trigger time or not.
bool m_PileUp
algorithm property: pile up or not
std::vector< float > m_autoCorrEm
auxiliary EM data: auto-correlation matrix
Gaudi::Property< std::string > m_randomStreamName
ServiceHandle< IAthRNGSvc > m_RandomSvc
static const short s_MAXSAMPLES
max number of samples in pulse shape
Gaudi::Property< bool > m_useLegacyRandomSeeds
virtual bool isClonable() const override final
std::vector< float > m_noiseRmsEmec
auxiliary EMEC data: noise rms
std::vector< float > m_sinThetaEmec
auxiliary EMEC data: sin(theta)
bool m_chronoTest
algorithm property: switch chrono on
void setSeed(const std::string &algName, const EventContext &ctx)
IChronoStatSvc * m_chronSvc
const LArHEC_ID * m_hecHelper
pointer to the offline HEC helper
std::vector< float > m_calibCoeffFcalEm
auxiliary FCAL data: calibration coefficients
SG::WriteHandleKey< LArTTL1Container > m_HadTTL1ContainerName
algorithm property: container name for the HAD TTL1s
Helper class for LArEM offline identifiers.
Helper class for LArFCAL offline identifiers.
std::vector< std::vector< float > > m_pulseShapeDerEm
auxiliary EM data: pulse shape derivative
virtual void handle(const Incident &) override
std::vector< float > m_pulseShapeDerHec
auxiliary HEC data: pulse shape derivative
ToolHandle< ITriggerTime > m_triggerTimeTool
Alorithm property: name of the TriggerTimeTool.
std::vector< float > m_calibCoeffHec
auxiliary HEC data: calibration coefficients
std::vector< float > m_autoCorrFcal
auxiliary FCAL data: auto-correlation matrix