ATLAS Offline Software
Loading...
Searching...
No Matches
MinBiasScintillatorSDTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5//************************************************************
6//
7// Class MinBiasScintillatorSDTool
8// Tool for configuring the Sensitive detector for the Minimum Bias Scintillator
9//
10//************************************************************
11
12#ifndef MINBIASSCINTILLATOR_MINBIASSCINTILLATORSDTOOL_H
13#define MINBIASSCINTILLATOR_MINBIASSCINTILLATORSDTOOL_H
14
15// Base class
17
19
21public:
22 MinBiasScintillatorSDTool(const std::string& type, const std::string& name, const IInterface *parent);
24 virtual StatusCode initialize() override;
25
27 virtual StatusCode Gather() override final; //FIXME would be good to be able to avoid this.
28
30 // Make me an SD!
31 virtual G4VSensitiveDetector* makeSD() const override final;
32
34 // Options for the SD configuration
36
37 Gaudi::Property<std::vector<double>> m_deltaTHit{this, "DeltaTHit", {0.5 , -75.25 , 75.25 , 5.}};
38 Gaudi::Property<double> m_timeCut{this, "TimeCut", 350.5};
39 Gaudi::Property<bool> m_tileTB{this, "TileTB", false};
40 Gaudi::Property<bool> m_doBirk{this, "DoBirk", true};
41 Gaudi::Property<double> m_birk1{this, "Birk1", 0.0130 * CLHEP::g / (CLHEP::MeV * CLHEP::cm2)};
42 Gaudi::Property<double> m_birk2{this, "Birk2", 9.6e-6 * CLHEP::g / (CLHEP::MeV * CLHEP::cm2) * CLHEP::g / (CLHEP::MeV * CLHEP::cm2)};
43 Gaudi::Property<bool> m_doTOFCorrection{this, "DoTOFCorrection", true};
44
45};
46
47#endif //MINBIASSCINTILLATOR_MINBIASSCINTILLATORSDTOOL_H
#define protected
~MinBiasScintillatorSDTool()=default
Gaudi::Property< std::vector< double > > m_deltaTHit
Gaudi::Property< double > m_timeCut
Gaudi::Property< double > m_birk1
virtual StatusCode Gather() override final
End of an athena event.
virtual G4VSensitiveDetector * makeSD() const override final
virtual StatusCode initialize() override
MinBiasScintillatorSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< double > m_birk2
Gaudi::Property< bool > m_doTOFCorrection
Support class for PropertyMgr.
Definition Property.h:23
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
=============================================================================
STL namespace.
#define private