ATLAS Offline Software
EMECSDTool.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 #ifndef LARG4SD_EMECSDTOOL_H
6 #define LARG4SD_EMECSDTOOL_H
7 
8 // System includes
9 #include <string>
10 #include <vector>
11 
12 // Project includes
13 #include "LArG4Code/SimpleSDTool.h"
15 
16 namespace LArG4
17 {
18 
24  class EMECSDTool : public SimpleSDTool
25  {
26 
27  public:
28 
30  EMECSDTool(const std::string& type, const std::string& name,
31  const IInterface* parent);
32 
33  private:
34 
37 
39  G4VSensitiveDetector* makeSD() const override final;
40 
43  std::vector<std::string> m_posIWVolumes;
44  std::vector<std::string> m_negIWVolumes;
45  std::vector<std::string> m_posOWVolumes;
46  std::vector<std::string> m_negOWVolumes;
47  std::vector<std::string> m_presVolumes;
48  std::vector<std::string> m_posBOBVolumes;
49  std::vector<std::string> m_negBOBVolumes;
51 
52  ServiceHandle<ILArCalculatorSvc> m_emepiwcalc; //EnergyCalculator(LArG4::InnerAbsorberWheel, LArG4::EMEC_ECOR_ROPT, 1)
53  ServiceHandle<ILArCalculatorSvc> m_emeniwcalc; //EC::EnergyCalculator(LArWheelCalculator::InnerAbsorberWheel, LArG4::EMEC_ECOR_ROPT, -1),
54  ServiceHandle<ILArCalculatorSvc> m_emepowcalc; //EC::EnergyCalculator(LArWheelCalculator::OuterAbsorberWheel, EC::EnergyCalculator::EMEC_ECOR_ROPT, 1),
55  ServiceHandle<ILArCalculatorSvc> m_emenowcalc; //EC::EnergyCalculator(LArWheelCalculator::OuterAbsorberWheel, EC::EnergyCalculator::EMEC_ECOR_ROPT, -1),
56  ServiceHandle<ILArCalculatorSvc> m_emepscalc; //LArEndcapPresamplerCalculator::GetCalculator()
57  ServiceHandle<ILArCalculatorSvc> m_emepobarcalc; //EC::EnergyCalculator(LArWheelCalculator::BackOuterBarretteWheel) / Pos
58  ServiceHandle<ILArCalculatorSvc> m_emenobarcalc; //EC::EnergyCalculator(LArWheelCalculator::BackOuterBarretteWheel) / Neg
59 
60 
61 
62  }; // class EMECSDTool
63 
64 } // namespace LArG4
65 
66 #endif
LArG4::EMECSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Create the SD wrapper for current worker thread.
LArG4::EMECSDTool::m_emepscalc
ServiceHandle< ILArCalculatorSvc > m_emepscalc
Definition: EMECSDTool.h:56
LArG4::EMECSDTool::m_negOWVolumes
std::vector< std::string > m_negOWVolumes
Definition: EMECSDTool.h:46
LArG4::EMECSDTool::m_emepowcalc
ServiceHandle< ILArCalculatorSvc > m_emepowcalc
Definition: EMECSDTool.h:54
LArG4::EMECSDTool::m_emenobarcalc
ServiceHandle< ILArCalculatorSvc > m_emenobarcalc
Definition: EMECSDTool.h:58
LArG4::EMECSDTool::initializeCalculators
StatusCode initializeCalculators() override final
Initialize Calculator Services.
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
LArG4
Definition: LArWheelCalculatorEnums.h:8
LArG4::EMECSDTool::EMECSDTool
EMECSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
LArG4::EMECSDTool::m_posOWVolumes
std::vector< std::string > m_posOWVolumes
Definition: EMECSDTool.h:45
LArG4::EMECSDTool::m_posBOBVolumes
std::vector< std::string > m_posBOBVolumes
Definition: EMECSDTool.h:48
LArG4::SimpleSDTool
A base class for tools that manage LArG4SimpleSDs.
Definition: SimpleSDTool.h:41
LArG4::EMECSDTool::m_posIWVolumes
std::vector< std::string > m_posIWVolumes
Definition: EMECSDTool.h:43
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
vector
Definition: MultiHisto.h:13
LArG4::EMECSDTool::m_negIWVolumes
std::vector< std::string > m_negIWVolumes
Definition: EMECSDTool.h:44
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LArG4::EMECSDTool::m_emeniwcalc
ServiceHandle< ILArCalculatorSvc > m_emeniwcalc
Definition: EMECSDTool.h:53
ILArCalculatorSvc
Definition: ILArCalculatorSvc.h:25
LArG4::EMECSDTool::m_emepobarcalc
ServiceHandle< ILArCalculatorSvc > m_emepobarcalc
Definition: EMECSDTool.h:57
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
LArG4::EMECSDTool::m_negBOBVolumes
std::vector< std::string > m_negBOBVolumes
Definition: EMECSDTool.h:49
LArG4::EMECSDTool::m_emepiwcalc
ServiceHandle< ILArCalculatorSvc > m_emepiwcalc
Definition: EMECSDTool.h:52
ILArCalculatorSvc.h
LArG4::EMECSDTool::m_presVolumes
std::vector< std::string > m_presVolumes
Definition: EMECSDTool.h:47
LArG4::EMECSDTool::m_emenowcalc
ServiceHandle< ILArCalculatorSvc > m_emenowcalc
Definition: EMECSDTool.h:55
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LArG4::EMECSDTool
SD tool which manages EM endcap sensitive detectors.
Definition: EMECSDTool.h:25
SimpleSDTool.h
Defines the SimpleSDTool class.
ServiceHandle
Definition: ClusterMakerTool.h:37