|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #include "GaudiKernel/Bootstrap.h"
6 #include "GaudiKernel/ISvcLocator.h"
9 #include "LArReadoutGeometry/FCAL_ChannelMap.h"
13 : GeoVDetectorManager()
14 , m_HVManager(hvManager)
17 for (
int s=0;
s<2;
s++) {
18 for (
int m=0;
m<3;
m++) {
23 SmartIF<StoreGateSvc>
detStore{Gaudi::svcLocator()->service(
"DetectorStore")};
25 throw std::runtime_error(
"Error in FCALDetectorManager: cannot access DetectorStore");
29 if (
detStore->retrieve(cMap)==StatusCode::FAILURE) {
30 throw std::runtime_error(
"You must construct the GeoModel FCAL before instantiating FCALDetectorManager");
40 for (
int s=0;
s<2;
s++) {
41 for (
int m=0;
m<3;
m++) {
virtual ~FCALDetectorManager() override
Desctructor.
std::vector< const FCALModule * >::const_iterator ConstIterator
std::vector< const FCALModule * > m_DetList
Vector of FCAL Modules.
This class contains the tube and tile maps for the FCAL A tile is of a set of FCAL tubes.
const FCALModule * getFCAL(FCALModule::Module module, FCALModule::Endcap endcap) const
Retreive a specific FCAL Module.
virtual unsigned int getNumTreeTops() const override
Gets the number of tree tops.
const FCALHVManager * m_HVManager
const FCAL_ChannelMap * m_fcal_channel_map
const FCALHVManager & getHVManager() const
Get the HV Manager:
std::vector< PVLink > m_treeTop
This is the set of tree tops managed by this detector node.
ModulePtr m_Module[2][3]
This is the array in which three modules in two sides are kept.
void addTreeTop(const PVLink &treeTop)
Add a Tree Top.
FCALModule::Module getModuleIndex() const
Returns the Module (1,2, or 3)
void addModule(FCALModule *fcalModule)
Adds an FCAL Module.
void setManager(FCALDetectorManager *fcalManager)
Sets the manager.
FCALModule::Endcap getEndcapIndex() const
Returns the side (O=Negative, 1=Positive)
FCALDetectorManager::ConstIterator beginFCAL() const
Iterate over FCAL Modules.
FCALDetectorManager(const FCALHVManager *hvManager=nullptr)
Constructor.
FCALDetectorManager::ConstIterator endFCAL() const
Iterate over FCAL Modules.
This class provides direct access to information on the HV electrodes within the barrels....
virtual PVConstLink getTreeTop(unsigned int i) const override
Gets the ith tree top.