ATLAS Offline Software
Loading...
Searching...
No Matches
HGTD_FrontEndTool.cxx
Go to the documentation of this file.
1
10
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 : base_class(type, name, parent) {
25}
26
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}
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration.
HGTD_FrontEndTool(const std::string &type, const std::string &name, const IInterface *parent)
constructor
void process(SiChargedDiodeCollection &collection, CLHEP::HepRandomEngine *rndmEngine) const