ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArG4
LArG4Barrel
src
DMCalibrationCalculator.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// LArG4::DM::CalibrationCalculator
6
// 11-april-2006 G.Unal
7
//
8
// this class provides calibration hits for steps into the Dead Matter between
9
// barrel and End-Cap cryostats
10
11
#ifndef LArG4_DM_CalibrationCalculator_H
12
#define LArG4_DM_CalibrationCalculator_H
13
14
#include "
LArG4Code/LArCalibCalculatorSvcImp.h
"
15
#include "
LArG4Code/LArG4Identifier.h
"
16
17
#include "
CaloG4Sim/SimulationEnergies.h
"
18
19
#include "globals.hh"
20
21
#include <vector>
22
23
// Forward declaractions:
24
class
G4Step;
25
26
// Note the use of nested namespaces (mainly to prevent long names
27
// like LArG4HECCalibrationCalculator). This class is contained in
28
// the namespace LArG4::DM
29
30
namespace
LArG4
{
31
32
namespace
DM
{
33
34
class
CalibrationCalculator
:
public
LArCalibCalculatorSvcImp
{
35
public
:
36
37
CalibrationCalculator
(
const
std::string& name, ISvcLocator *pSvcLocator);
38
virtual
~CalibrationCalculator
();
39
40
// The Process method returns a boolean value. If it's true, the
41
// hit can be used by Geant4; if it's false, there's something wrong
42
// with the energy deposit and it should be ignored.
43
44
// For calibration work, most of the time we want the calculator
45
// to determine both the energy and the identifier. However,
46
// sometimes we want it calculate only the identifier (for
47
// escaped energy), or only the energy (no known application
48
// yet, but you can never tell). Use the enum (defined in
49
// VCalibrationCalculator.h) to control any special processing.
50
virtual
G4bool
Process
(
const
G4Step* step,
51
LArG4Identifier
& identifier,
52
LArG4Identifier
& identifier_sr,
53
std::vector<double>& energies,
54
const
LArG4::eCalculatorProcessing
process
)
const
override
final
;
55
56
private
:
57
// Energy calculator
58
CaloG4::SimulationEnergies
m_energyCalculator
;
59
60
};
61
62
}
// namespace DM
63
64
}
// namespace LArG4
65
66
#endif
// LArG4_DM_CalibrationCalculator_H
LArCalibCalculatorSvcImp.h
LArG4Identifier.h
SimulationEnergies.h
CaloG4::SimulationEnergies
This class implements the calculations requires to categorize the energies deposited during the simul...
Definition
SimulationEnergies.h:47
LArCalibCalculatorSvcImp::LArCalibCalculatorSvcImp
LArCalibCalculatorSvcImp(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArCalibCalculatorSvcImp.cxx:7
LArG4Identifier
Definition
LArG4Identifier.h:121
LArG4::DM::CalibrationCalculator::Process
virtual G4bool Process(const G4Step *step, LArG4Identifier &identifier, LArG4Identifier &identifier_sr, std::vector< double > &energies, const LArG4::eCalculatorProcessing process) const override final
Definition
DMCalibrationCalculator.cxx:46
LArG4::DM::CalibrationCalculator::m_energyCalculator
CaloG4::SimulationEnergies m_energyCalculator
Definition
DMCalibrationCalculator.h:58
LArG4::DM::CalibrationCalculator::~CalibrationCalculator
virtual ~CalibrationCalculator()
Definition
DMCalibrationCalculator.cxx:42
LArG4::DM::CalibrationCalculator::CalibrationCalculator
CalibrationCalculator(const std::string &name, ISvcLocator *pSvcLocator)
Definition
DMCalibrationCalculator.cxx:36
process
const std::string process
Definition
fbtTestBasics.cxx:76
LArG4::DM
Definition
DMCalibrationCalculator.cxx:30
LArG4
Definition
LArWheelCalculatorEnums.h:8
LArG4::eCalculatorProcessing
eCalculatorProcessing
Definition
LArG4EnumDefs.h:10
Generated on
for ATLAS Offline Software by
1.17.0