ATLAS Offline Software
HGTD_FrontEndTool.cxx
Go to the documentation of this file.
1 
11 #include "HGTD_FrontEndTool.h"
12 
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 
22  const std::string& name,
23  const IInterface* parent)
24  : AthAlgTool(type, name, parent) {
25  declareInterface<IFrontEnd>(this);
26 }
27 
29  SiChargedDiodeCollection& /*collection*/,
30  CLHEP::HepRandomEngine* /*rndmEngine*/) const {
31 
32  // FIXME only commented out for now, Tao will use this when adding his code
33  // if (collection.empty()) {
34  // ATH_MSG_DEBUG(
35  // "HGTD_FrontEndTool::process() Empty Charged Diode Collection");
36  // return;
37  // }
38  // for each of the charged diodes, set the time after creating the time pulse
39  // SiChargedDiodeIterator i_chargedDiode = collection.begin();
40  // SiChargedDiodeIterator i_chargedDiode_end = collection.end();
41 
42  // for (; i_chargedDiode != i_chargedDiode_end; ++i_chargedDiode) {
43  // SiChargedDiode& diode = (*i_chargedDiode).second;
44  // check if the charge is above threshold
45  // I cut on minimal eloss in active region, using a value agreed on by HGTD
46  // Sensor as well as ASIC group
47 
48  // generate the pulse
49 
50  // apply the discriminator
51 
52  // set the new time
53  // }
54 }
HGTD_FrontEndTool::process
void process(SiChargedDiodeCollection &collection, CLHEP::HepRandomEngine *rndmEngine) const
Definition: HGTD_FrontEndTool.cxx:28
SiChargedDiodeCollection
Definition: SiChargedDiodeCollection.h:109
HGTD_FrontEndTool.h
Copyright (C) 2002-2022 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:192
HGTD_FrontEndTool::HGTD_FrontEndTool
HGTD_FrontEndTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
Definition: HGTD_FrontEndTool.cxx:21
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26