ATLAS Offline Software
Loading...
Searching...
No Matches
CaloGeometryFromCaloDDM.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6#include "CaloDetDescr/CaloDetDescrElement.h"
8
10 : CaloGeometry()
11 , AthMessaging("CaloGeometryFromCaloDDM")
12{
13}
14
16= default;
17
19{
20 int jentry=0;
21 for(CaloDetDescrManager::calo_element_const_iterator calo_iter=calo_dd_man->element_begin();calo_iter<calo_dd_man->element_end();++calo_iter) {
22 const CaloDetDescrElement* pcell=*calo_iter;
23 addcell(pcell);
24
25 if(jentry%25000==0) {
26 ATH_MSG_DEBUG(jentry<<" : "<<pcell->getSampling()<<", "<<pcell->identify());
27 }
28 ++jentry;
29 }
30
31 return PostProcessGeometry();
32}
#define ATH_MSG_DEBUG(x)
Definition of CaloDetDescrManager.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
This class groups all DetDescr information related to a CaloCell.
CaloCell_ID::CaloSample getSampling() const
cell sampling
Identifier identify() const override final
cell identifier
calo_element_const_iterator element_begin() const
first element
CaloConstIteratorAdaptor< calo_element_vec::const_iterator > calo_element_const_iterator
This class provides the client interface for accessing the detector description information common to...
bool LoadFCalChannelMapFromFCalDDM(const FCALDetectorManager *fcal_dd_man)
virtual ~CaloGeometryFromCaloDDM()
bool LoadGeometryFromCaloDDM(const CaloDetDescrManager *calo_dd_man)
virtual bool PostProcessGeometry()
void calculateFCalRminRmax()
virtual void addcell(const CaloDetDescrElement *cell)
void SetFCal_ChannelMap(const FCAL_ChannelMap *fcal_ChannnelMap)
virtual bool checkFCalGeometryConsistency()
A manager class providing access to readout geometry information for the forward calorimeter.
const FCAL_ChannelMap * getChannelMap() const
Returns the Channel Map.