|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef LARDIGITIZATION_LARPILEUPTOOL_H
7 #define LARDIGITIZATION_LARPILEUPTOOL_H
30 #include "GaudiKernel/ServiceHandle.h"
31 #include "GaudiKernel/ToolHandle.h"
32 #include "Gaudi/Property.h"
57 class HepRandomEngine;
68 const std::string&
name,
104 #define MAXADC 4096 // Maximal Adc count + 1 ( used for the overflows)
113 std::vector<IdentifierHash>& neighbourList,
114 std::vector<float>& energyList,
128 Gaudi::Property<bool>
m_onlyUseContainerName{
this,
"OnlyUseContainerName",
true,
"Don't use the ReadHandleKey directly. Just extract the container name from it."};
129 StringArrayProperty
m_inputKeys{
this,
"InputHitContainers", {
"LArHitEMB",
"LArHitEMEC",
"LArHitHEC",
"LArHitFCAL"},
130 "Name of input hit vectors (default=[LArHitEMB, LArHitEMEC, LArHitHEC, LArHitFCAL])" };
134 "Name of input digit container"};
144 "put electronic noise (default=true)"};
145 Gaudi::Property<bool>
m_PileUp{
this,
"PileUp",
false,
146 "Pileup mode (default=false)"};
150 "put noise in EMB (default=true)"};
152 "put noise in EMEC (default=true)"};
154 "put noise in HEC (default=true)"};
156 "put noise in FCAL (default=true)"};
159 "Simulate cross-talk (default=true)"};
161 "Add strip/middle cross talk (if crosstalk is true) (default=true)"};
163 "Add 2nd strip cross talk (if crosstalk is true) (default=true)"};
165 "Add middle to middle cross talk for barrel(if crosstalk is true) (default=true)"};
167 "Scale factor for strip xtalk"};
169 "Scale factor for strip-middle xtalk"};
171 "Scale factor for middle xtalk"};
174 "Window mode (produce digits only around true e/photon) (default=false)"};
176 "Eta size of window (default=0.4)"};
178 "Phi size of window (default=0.5)"};
180 "Pt cut on e/photons for window mode (Default=5GeV)"};
183 "Hit energy threshold (default=-99)"};
186 "Use Run and Event number to seed rndm number (default=false)"};
188 "Use Trigger tool (for commissioning) (default=false)"};
190 "Pileup and/or noise added by overlaying random events (default=false)"};
192 "Is input Overlay from MC or data (default=false, from data)"};
195 "use detailed hit time from MB events in addition to bunch crossing time for pileup (default=false)"};
197 "Record LArHitEMap in detector store for use by LArL1Sim (default=true)"};
199 "Use simplified transient LArHit (default=false)"};
201 "Use noise from Pedestal structure instead of LArNoise (default=false)"};
203 "Add random phase (default = false)"};
205 "Minimum time to add (default=0)"};
207 "Maximum time to add (default=25)"};
209 "Set all hit time to 0, for debugging (default = false)"};
211 "if true add random number [0:1[ in no noise case before rounding ADC to integer, if false add only 0.5 average"};
228 "Skip events with no LAr hits (default=false)"};
237 "Use MC16-style random number seeding"};
239 Gaudi::Property<bool>
m_doDigiTruth{
this,
"DoDigiTruthReconstruction",
false,
240 "Also create information about reconstructed digits for HS hits"};
char data[hepevt_bytes_allocation_ATLAS]
Helper class for LArHEC offline identifiers.
bool const RAWDATA *ch2 const
Definition of CaloDetDescrManager.
Handle class for recording to StoreGate.
The Athena Transient Store API.
Liquid Argon digit base class.
::StatusCode StatusCode
StatusCode definition for legacy code.
Helper class for offline cell identifiers.
Property holding a SG store/key/clid from which a WriteHandle is made.
interface to a tool that returns the time offset of the current trigger. Used by PileUpMergeSvc
def time(flags, cells_name, *args, **kw)
the preferred mechanism to access information from the different event stores in a pileup job.
Helper class for LArEM offline identifiers.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Helper class for LArFCAL offline identifiers.