ATLAS Offline Software
|
#include <MinBiasScintillatorSD.h>
Public Member Functions | |
MinBiasScintillatorSD (const G4String &name, const std::string &hitCollectionName, const MinBiasScintSDOptions &opts) | |
~MinBiasScintillatorSD ()=default | |
virtual void | Initialize (G4HCofThisEvent *) override final |
virtual G4bool | ProcessHits (G4Step *, G4TouchableHistory *) override final |
void | EndOfAthenaEvent () |
Private Member Functions | |
int | cell_index (int side, int phi, int eta) const |
int | dist_index (int side, int eta) const |
G4double | BirkLaw (const G4Step *aStep) const |
double | deltaT (double time) const |
function to provide correct deltaT bin width for given time More... | |
Private Attributes | |
const MinBiasScintSDOptions | m_options |
SG::WriteHandle< TileHitVector > | m_HitColl |
const TileTBID * | m_tileTBID |
std::vector< int > | m_numberOfHitsInCell |
number of contributions to the energy in each cell (size=nCell). More... | |
std::vector< TileSimHit * > | m_tempSimHit |
local temporary TileSimHit for each cell (size=nCell). More... | |
Identifier | m_channelID [N_CELLS] |
array to cache look-ups of Identifiers for each cell (size=nCell). More... | |
double | m_deltaT |
granularity in time for hits More... | |
std::vector< double > | m_deltaTvec |
double | m_timeCut |
max allowed time for hits More... | |
double | m_lateHitTime |
time for hits which are above m_timeCut threshold it is equal to m_tilesize_deltaT - m_deltaT More... | |
double | m_deltaT_cell [N_DIST] |
Static Private Attributes | |
static const int | N_SIDE = 2 |
static const int | N_PHI = 8 |
static const int | N_ETA = 2 |
static const int | N_CELLS = N_SIDE * N_PHI * N_ETA |
static const int | N_DIST = N_SIDE * N_ETA |
Definition at line 36 of file MinBiasScintillatorSD.h.
MinBiasScintillatorSD::MinBiasScintillatorSD | ( | const G4String & | name, |
const std::string & | hitCollectionName, | ||
const MinBiasScintSDOptions & | opts | ||
) |
|
default |
|
private |
|
inlineprivate |
|
inlineprivate |
function to provide correct deltaT bin width for given time
Definition at line 106 of file MinBiasScintillatorSD.h.
|
inlineprivate |
Definition at line 66 of file MinBiasScintillatorSD.h.
void MinBiasScintillatorSD::EndOfAthenaEvent | ( | ) |
|
finaloverridevirtual |
|
finaloverridevirtual |
|
private |
array to cache look-ups of Identifiers for each cell (size=nCell).
Definition at line 82 of file MinBiasScintillatorSD.h.
|
private |
granularity in time for hits
Definition at line 86 of file MinBiasScintillatorSD.h.
|
private |
Definition at line 98 of file MinBiasScintillatorSD.h.
|
private |
Definition at line 87 of file MinBiasScintillatorSD.h.
|
private |
Definition at line 53 of file MinBiasScintillatorSD.h.
|
private |
time for hits which are above m_timeCut threshold it is equal to m_tilesize_deltaT - m_deltaT
Definition at line 96 of file MinBiasScintillatorSD.h.
|
private |
number of contributions to the energy in each cell (size=nCell).
Definition at line 73 of file MinBiasScintillatorSD.h.
|
private |
Definition at line 50 of file MinBiasScintillatorSD.h.
|
private |
local temporary TileSimHit for each cell (size=nCell).
Definition at line 77 of file MinBiasScintillatorSD.h.
Definition at line 55 of file MinBiasScintillatorSD.h.
|
private |
max allowed time for hits
Definition at line 91 of file MinBiasScintillatorSD.h.
Definition at line 60 of file MinBiasScintillatorSD.h.
Definition at line 61 of file MinBiasScintillatorSD.h.
|
staticprivate |
Definition at line 59 of file MinBiasScintillatorSD.h.
|
staticprivate |
Definition at line 58 of file MinBiasScintillatorSD.h.
|
staticprivate |
Definition at line 57 of file MinBiasScintillatorSD.h.