ATLAS Offline Software
Loading...
Searching...
No Matches
MinBiasScintSDOptions.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MINBIASSCINTILLATOR_MINBIASSCINTSDOPTIONS_h
6#define MINBIASSCINTILLATOR_MINBIASSCINTSDOPTIONS_h
7
8/* This is a very simple struct for holding sensitive detector
9 configuration options; formerly this was in
10 TileCalorimeter/TileSimUtils/TileSimUtils/TileG4SimOptions.h
11 But now that there are real tools, that setup is not necessary
12 */
13
14//CLHEP headers
15#include "CLHEP/Units/SystemOfUnits.h"
16
17#include <string>
18#include <vector>
19
23 : deltaTHit {0.5 , -75.25 , 75.25 , 5.},
24 timeCut(350.5),
25 tileTB(false),
26 doBirk(true),
27 birk1(0.0130 * CLHEP::g / (CLHEP::MeV * CLHEP::cm2)),
28 birk2(9.6e-6 * CLHEP::g / (CLHEP::MeV * CLHEP::cm2) * CLHEP::g / (CLHEP::MeV * CLHEP::cm2)),
29 doTOFCorrection(true),
30 verboseLevel(0),
31 rDBAccessSvcName("RDBAccessSvc"),
32 geoModelSvcName("GeoModelSvc")
33 {
34
35 }
36
44 std::vector<double> deltaTHit;
46 double timeCut;
48 bool tileTB;
50 bool doBirk;
52 double birk1;
53 double birk2;
58 //** Name of the RDBAccessSvc instance to use */
59 std::string rDBAccessSvcName;
60 //** Name of the GeoModelSvc instance to use */
61 std::string geoModelSvcName;
62 };
63
64#endif
bool doTOFCorrection
Flag to apply TOF correction (subtract Time Of Flight from ATLAS center)
double timeCut
Time cut for hits, all hits go to one single time bin if time is above this cut.
std::vector< double > deltaTHit
A time granularity for G4 hits in TileHit it can be just one number, e.g.
bool doBirk
Flag to enable Birk's law.
double birk1
Birks Law parameters - exp.
bool tileTB
Flag to indicate TileCal TestBeam configuration.
MinBiasScintSDOptions()
Setup defaults.
int verboseLevel
Helper to keep the same verbosity everywhere.