|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef AFP_DIGITIZATION_TOOL_H
6 #define AFP_DIGITIZATION_TOOL_H
10 #include "Gaudi/Property.h"
11 #include "GaudiKernel/ServiceHandle.h"
39 class HepRandomEngine;
47 const std::string&
name,
89 void createTDDigi(
int Station,
int Detector,
int SensitiveElement,
float GlobalTime,
float WafeLength,
CLHEP::HepRandomEngine* rndEngine);
92 void createSiDigi(
const EventContext& ctx,
int Station,
int Detector,
int PixelRow,
int PixelCol,
float PreStepX,
float PreStepY,
float PreStepZ,
float PostStepX,
float PostStepY,
float PostStepZ,
float DepEnergy);
130 Gaudi::Property<std::string>
m_totToChargeTransfName{
this,
"TotToChargeTransfName",
"TotToChargeTransfFunction",
"Name of the function that transforms time-over-threshold to charge"};
137 BooleanProperty
m_onlyUseContainerName{
this,
"OnlyUseContainerName",
true,
"Don't use the ReadHandleKey directly. Just extract the container name from it."};
149 Gaudi::Property<double>
m_CollectionEff{
this,
"CollectionEff", 0.6,
"Collection efficiency"};
150 Gaudi::Property<double>
m_ConversionSpr{
this,
"ConversionSpr", 40.0,
" Photon-Electron conversion spread in ps"};
151 Gaudi::Property<double>
m_RiseTime{
this,
"RiseTime", 400.,
"Pulse rise time in ps"};
152 Gaudi::Property<double>
m_FallTime{
this,
"FallTime", 1200.,
"Pulse fall time in ps"};
154 Gaudi::Property<double>
m_TimeOffset{
this,
"TimeOffset", 104500.,
"Offset reflecting time that proton travels from IP to AFP"};
155 Gaudi::Property<double>
m_CfSignalDelay{
this,
"CfSignalDelay", 200.,
"Pulse delay for const. frac. discrimination"};
156 Gaudi::Property<double>
m_CfdThr{
this,
"CfdThr", 0.5,
"Constant fraction threshold"};
157 Gaudi::Property<double>
m_SiT_ChargeCollEff{
this,
"SiT_ChargeCollEff", 0.55,
"CCE, adjusted to describe data"};
159 Gaudi::Property<double>
m_SiT_NoiseMu{
this,
"SiT_NoiseMu", 160.,
"unit = number of eh pairs"};
160 Gaudi::Property<double>
m_SiT_NoiseSigma{
this,
"SiT_NoiseSigma", 10.,
"unit = number of eh pairs"};
165 Gaudi::Property<int>
m_QEffVer{
this,
"QEffVer", 1,
"quantum efficiency version; QE1=1, QE2=2, nQEffOpts=3"};
187 void newXAODHitToF (std::unique_ptr<xAOD::AFPToFHitContainer>& tofHitContainer, std::unique_ptr<AFP_TDDigiCollection>& collection)
const;
190 void newXAODHitSi (std::unique_ptr<xAOD::AFPSiHitContainer>& xAODSiHit, std::unique_ptr<AFP_SiDigiCollection>& collection)
const;
bool const RAWDATA *ch2 const
Property holding a SG store/key/clid from which a ReadHandle is made.
Support class for PropertyMgr.
Property holding a SG store/key/clid from which a WriteHandle is made.
::StatusCode StatusCode
StatusCode definition for legacy code.
the preferred mechanism to access information from the different event stores in a pileup job.
=============================================================================
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)