ATLAS Offline Software
FCALSDTool.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_FCALSDTOOL_H
6 #define LARG4SD_FCALSDTOOL_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 FCALSDTool : public SimpleSDTool
25  {
26 
27  public:
28 
30  FCALSDTool(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_fcal1Volumes;
44  std::vector<std::string> m_fcal2Volumes;
45  std::vector<std::string> m_fcal3Volumes;
47 
48  ServiceHandle<ILArCalculatorSvc> m_fcal1calc; //LArFCAL1Calculator::GetInstance()
49  ServiceHandle<ILArCalculatorSvc> m_fcal2calc; //LArFCAL2Calculator::GetInstance()
50  ServiceHandle<ILArCalculatorSvc> m_fcal3calc; //LArFCAL3Calculator::GetInstance()
51 
52  }; // class FCALSDTool
53 
54 } // namespace LArG4
55 
56 #endif
LArG4::FCALSDTool::m_fcal1Volumes
std::vector< std::string > m_fcal1Volumes
List of volumes for each SD.
Definition: FCALSDTool.h:43
LArG4::FCALSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Create the SD wrapper for current worker thread.
LArG4::FCALSDTool::m_fcal3calc
ServiceHandle< ILArCalculatorSvc > m_fcal3calc
Definition: FCALSDTool.h:50
LArG4::FCALSDTool::m_fcal2Volumes
std::vector< std::string > m_fcal2Volumes
Definition: FCALSDTool.h:44
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
LArG4
Definition: LArWheelCalculatorEnums.h:8
LArG4::FCALSDTool::m_fcal2calc
ServiceHandle< ILArCalculatorSvc > m_fcal2calc
Definition: FCALSDTool.h:49
LArG4::SimpleSDTool
A base class for tools that manage LArG4SimpleSDs.
Definition: SimpleSDTool.h:41
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
vector
Definition: MultiHisto.h:13
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LArG4::FCALSDTool::FCALSDTool
FCALSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
ILArCalculatorSvc
Definition: ILArCalculatorSvc.h:25
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArG4::FCALSDTool
SD tool which manages the LAr forward calo sensitive detectors.
Definition: FCALSDTool.h:25
ILArCalculatorSvc.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LArG4::FCALSDTool::initializeCalculators
StatusCode initializeCalculators() override final
Initialize Calculator Services.
LArG4::FCALSDTool::m_fcal1calc
ServiceHandle< ILArCalculatorSvc > m_fcal1calc
Definition: FCALSDTool.h:48
LArG4::FCALSDTool::m_fcal3Volumes
std::vector< std::string > m_fcal3Volumes
Definition: FCALSDTool.h:45
SimpleSDTool.h
Defines the SimpleSDTool class.
ServiceHandle
Definition: ClusterMakerTool.h:37