ATLAS Offline Software
HighGranularityTimingDetector
HGTD_Digitization
HGTD_Digitization
src
HGTD_FrontEndTool.cxx
Go to the documentation of this file.
1
11
#include "
HGTD_FrontEndTool.h
"
12
13
#include "
AthenaKernel/IAtRndmGenSvc.h
"
14
#include "CLHEP/Random/RandFlat.h"
15
#include "CLHEP/Random/RandGaussZiggurat.h"
16
#include "CLHEP/Random/RandPoisson.h"
17
18
#include <algorithm>
19
#include <iostream>
20
21
HGTD_FrontEndTool::HGTD_FrontEndTool
(
const
std::string&
type
,
22
const
std::string&
name
,
23
const
IInterface*
parent
)
24
: base_class(
type
,
name
,
parent
) {
25
}
26
27
void
HGTD_FrontEndTool::process
(
28
SiChargedDiodeCollection
&
/*collection*/
,
29
CLHEP::HepRandomEngine*
/*rndmEngine*/
)
const
{
30
31
// FIXME only commented out for now, Tao will use this when adding his code
32
// if (collection.empty()) {
33
// ATH_MSG_DEBUG(
34
// "HGTD_FrontEndTool::process() Empty Charged Diode Collection");
35
// return;
36
// }
37
// for each of the charged diodes, set the time after creating the time pulse
38
// SiChargedDiodeIterator i_chargedDiode = collection.begin();
39
// SiChargedDiodeIterator i_chargedDiode_end = collection.end();
40
41
// for (; i_chargedDiode != i_chargedDiode_end; ++i_chargedDiode) {
42
// SiChargedDiode& diode = (*i_chargedDiode).second;
43
// check if the charge is above threshold
44
// I cut on minimal eloss in active region, using a value agreed on by HGTD
45
// Sensor as well as ASIC group
46
47
// generate the pulse
48
49
// apply the discriminator
50
51
// set the new time
52
// }
53
}
python.CaloAddPedShiftConfig.type
type
Definition:
CaloAddPedShiftConfig.py:42
HGTD_FrontEndTool::process
void process(SiChargedDiodeCollection &collection, CLHEP::HepRandomEngine *rndmEngine) const
Definition:
HGTD_FrontEndTool.cxx:27
SiChargedDiodeCollection
Definition:
SiChargedDiodeCollection.h:109
HGTD_FrontEndTool.h
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration.
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
IAtRndmGenSvc.h
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
HGTD_FrontEndTool::HGTD_FrontEndTool
HGTD_FrontEndTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
Definition:
HGTD_FrontEndTool.cxx:21
Generated on Tue Sep 2 2025 21:12:22 for ATLAS Offline Software by
1.8.18