ATLAS Offline Software
LArCalorimeter
LArG4
LArG4SD
src
ActiveSDTool.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 LARG4SD_ACTIVESDTOOL_H
6
#define LARG4SD_ACTIVESDTOOL_H
7
8
// System includes
9
#include <string>
10
#include <vector>
11
12
// Project includes
13
#include "
LArG4Code/CalibSDTool.h
"
14
#include "
LArG4Code/ILArCalibCalculatorSvc.h
"
15
16
namespace
LArG4
17
{
18
24
class
ActiveSDTool
:
public
CalibSDTool
25
{
26
27
public
:
28
30
ActiveSDTool
(
const
std::string&
type
,
const
std::string&
name
,
31
const
IInterface*
parent
);
32
33
private
:
34
36
StatusCode
initializeCalculators
() override final;
37
39
G4VSensitiveDetector*
makeSD
()
const
override final;
40
42
std::
string
m_hitCollName
;
43
46
std::
vector
<std::
string
>
m_stacVolumes
;
47
std::
vector
<std::
string
>
m_presBarVolumes
;
48
std::
vector
<std::
string
>
m_posIWVolumes
;
49
std::
vector
<std::
string
>
m_negIWVolumes
;
50
std::
vector
<std::
string
>
m_posOWVolumes
;
51
std::
vector
<std::
string
>
m_negOWVolumes
;
52
std::
vector
<std::
string
>
m_presECVolumes
;
53
std::
vector
<std::
string
>
m_pBOBVolumes
;
54
std::
vector
<std::
string
>
m_nBOBVolumes
;
55
std::
vector
<std::
string
>
m_fcal1Volumes
;
56
std::
vector
<std::
string
>
m_fcal2Volumes
;
57
std::
vector
<std::
string
>
m_fcal3Volumes
;
58
std::
vector
<std::
string
>
m_sliceVolumes
;
60
61
ServiceHandle
<
ILArCalibCalculatorSvc
>
m_bpsmodcalc
;
//LArG4::BarrelPresampler::CalibrationCalculator
62
ServiceHandle
<
ILArCalibCalculatorSvc
>
m_embcalc
;
//LArG4::Barrel::CalibrationCalculator
63
ServiceHandle
<
ILArCalibCalculatorSvc
>
m_emepiwcalc
;
//LArG4::EC::CalibrationCalculator(LArWheelCalculator::InnerAbsorberWheel, 1)
64
ServiceHandle
<
ILArCalibCalculatorSvc
>
m_emeniwcalc
;
//LArG4::EC::CalibrationCalculator(LArWheelCalculator::InnerAbsorberWheel, -1)
65
ServiceHandle
<
ILArCalibCalculatorSvc
>
m_emepowcalc
;
//LArG4::EC::CalibrationCalculator(LArWheelCalculator::OuterAbsorberWheel, 1)
66
ServiceHandle
<
ILArCalibCalculatorSvc
>
m_emenowcalc
;
//LArG4::EC::CalibrationCalculator(LArWheelCalculator::OuterAbsorberWheel, -1)
67
ServiceHandle
<
ILArCalibCalculatorSvc
>
m_emepscalc
;
//LArG4::EC::PresamplerCalibrationCalculator
68
ServiceHandle
<
ILArCalibCalculatorSvc
>
m_emepobarcalc
;
//LArG4::EC::CalibrationCalculator(LArWheelCalculator::BackOuterBarretteWheelCalib, 1)
69
ServiceHandle
<
ILArCalibCalculatorSvc
>
m_emenobarcalc
;
//LArG4::EC::CalibrationCalculator(LArWheelCalculator::BackOuterBarretteWheelCalib, 1)
70
ServiceHandle
<
ILArCalibCalculatorSvc
>
m_heccalc
;
//LArG4::HEC::LArHECCalibrationWheelCalculator(LArG4::HEC::kWheelActive)
71
ServiceHandle
<
ILArCalibCalculatorSvc
>
m_fcal1calc
;
72
ServiceHandle
<
ILArCalibCalculatorSvc
>
m_fcal2calc
;
73
ServiceHandle
<
ILArCalibCalculatorSvc
>
m_fcal3calc
;
74
};
// class ActiveSDTool
75
76
}
// namespace LArG4
77
78
#endif
LArG4::ActiveSDTool::m_hitCollName
std::string m_hitCollName
Hit collection name.
Definition:
ActiveSDTool.h:42
LArG4::ActiveSDTool::m_fcal1Volumes
std::vector< std::string > m_fcal1Volumes
Definition:
ActiveSDTool.h:55
LArG4::ActiveSDTool::m_posIWVolumes
std::vector< std::string > m_posIWVolumes
Definition:
ActiveSDTool.h:48
LArG4::ActiveSDTool::m_negOWVolumes
std::vector< std::string > m_negOWVolumes
Definition:
ActiveSDTool.h:51
LArG4::ActiveSDTool::m_emepscalc
ServiceHandle< ILArCalibCalculatorSvc > m_emepscalc
Definition:
ActiveSDTool.h:67
LArG4::ActiveSDTool::m_fcal3calc
ServiceHandle< ILArCalibCalculatorSvc > m_fcal3calc
Definition:
ActiveSDTool.h:73
const
bool const RAWDATA *ch2 const
Definition:
LArRodBlockPhysicsV0.cxx:560
LArG4::ActiveSDTool::m_stacVolumes
std::vector< std::string > m_stacVolumes
Definition:
ActiveSDTool.h:46
LArG4::ActiveSDTool::m_heccalc
ServiceHandle< ILArCalibCalculatorSvc > m_heccalc
Definition:
ActiveSDTool.h:70
LArG4
Definition:
LArWheelCalculatorEnums.h:8
LArG4::ActiveSDTool::m_emeniwcalc
ServiceHandle< ILArCalibCalculatorSvc > m_emeniwcalc
Definition:
ActiveSDTool.h:64
LArG4::ActiveSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Create the SD wrapper for current worker thread.
LArG4::ActiveSDTool::m_negIWVolumes
std::vector< std::string > m_negIWVolumes
Definition:
ActiveSDTool.h:49
LArG4::ActiveSDTool
Sensitive detector tool which manages activate-area LAr calib SDs.
Definition:
ActiveSDTool.h:25
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
vector
Definition:
MultiHisto.h:13
LArG4::ActiveSDTool::m_presECVolumes
std::vector< std::string > m_presECVolumes
Definition:
ActiveSDTool.h:52
LArG4::ActiveSDTool::m_emepiwcalc
ServiceHandle< ILArCalibCalculatorSvc > m_emepiwcalc
Definition:
ActiveSDTool.h:63
LArG4::ActiveSDTool::ActiveSDTool
ActiveSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
CalibSDTool.h
Defines the CalibSDTool class.
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
LArG4::ActiveSDTool::m_nBOBVolumes
std::vector< std::string > m_nBOBVolumes
Definition:
ActiveSDTool.h:54
LArG4::ActiveSDTool::m_emenowcalc
ServiceHandle< ILArCalibCalculatorSvc > m_emenowcalc
Definition:
ActiveSDTool.h:66
LArG4::ActiveSDTool::initializeCalculators
StatusCode initializeCalculators() override final
Initialize Calculator Services.
LArG4::CalibSDTool
A base class for tools that manage LArG4CalibSDs.
Definition:
CalibSDTool.h:42
LArG4::ActiveSDTool::m_emepowcalc
ServiceHandle< ILArCalibCalculatorSvc > m_emepowcalc
Definition:
ActiveSDTool.h:65
ILArCalibCalculatorSvc.h
LArG4::ActiveSDTool::m_fcal1calc
ServiceHandle< ILArCalibCalculatorSvc > m_fcal1calc
Definition:
ActiveSDTool.h:71
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
LArG4::ActiveSDTool::m_bpsmodcalc
ServiceHandle< ILArCalibCalculatorSvc > m_bpsmodcalc
Definition:
ActiveSDTool.h:61
LArG4::ActiveSDTool::m_emepobarcalc
ServiceHandle< ILArCalibCalculatorSvc > m_emepobarcalc
Definition:
ActiveSDTool.h:68
LArG4::ActiveSDTool::m_pBOBVolumes
std::vector< std::string > m_pBOBVolumes
Definition:
ActiveSDTool.h:53
ILArCalibCalculatorSvc
Definition:
ILArCalibCalculatorSvc.h:23
LArG4::ActiveSDTool::m_presBarVolumes
std::vector< std::string > m_presBarVolumes
Definition:
ActiveSDTool.h:47
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
LArG4::ActiveSDTool::m_embcalc
ServiceHandle< ILArCalibCalculatorSvc > m_embcalc
Definition:
ActiveSDTool.h:62
LArG4::ActiveSDTool::m_sliceVolumes
std::vector< std::string > m_sliceVolumes
Definition:
ActiveSDTool.h:58
LArG4::ActiveSDTool::m_fcal2calc
ServiceHandle< ILArCalibCalculatorSvc > m_fcal2calc
Definition:
ActiveSDTool.h:72
LArG4::ActiveSDTool::m_emenobarcalc
ServiceHandle< ILArCalibCalculatorSvc > m_emenobarcalc
Definition:
ActiveSDTool.h:69
LArG4::ActiveSDTool::m_fcal2Volumes
std::vector< std::string > m_fcal2Volumes
Definition:
ActiveSDTool.h:56
LArG4::ActiveSDTool::m_fcal3Volumes
std::vector< std::string > m_fcal3Volumes
Definition:
ActiveSDTool.h:57
LArG4::ActiveSDTool::m_posOWVolumes
std::vector< std::string > m_posOWVolumes
Definition:
ActiveSDTool.h:50
ServiceHandle
Definition:
ClusterMakerTool.h:37
Generated on Sun Dec 22 2024 21:06:35 for ATLAS Offline Software by
1.8.18