ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
ISF
ISF_FastCaloSim
ISF_FastCaloSimParametrization
src
lib
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
5
#include "
ISF_FastCaloSimParametrization/CaloGeometryFromCaloDDM.h
"
6
#include "CaloDetDescr/CaloDetDescrElement.h"
7
#include "
CaloDetDescr/CaloDetDescrManager.h
"
8
9
CaloGeometryFromCaloDDM::CaloGeometryFromCaloDDM
()
10
:
CaloGeometry
()
11
,
AthMessaging
(
"CaloGeometryFromCaloDDM"
)
12
{
13
}
14
15
CaloGeometryFromCaloDDM::~CaloGeometryFromCaloDDM
()
16
=
default
;
17
18
bool
CaloGeometryFromCaloDDM::LoadGeometryFromCaloDDM
(
const
CaloDetDescrManager
* calo_dd_man)
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
}
33
bool
CaloGeometryFromCaloDDM::LoadFCalChannelMapFromFCalDDM
(
const
FCALDetectorManager
* fcal_dd_man){
34
this->
SetFCal_ChannelMap
( fcal_dd_man->
getChannelMap
() );
35
this->
calculateFCalRminRmax
();
36
return
this->
checkFCalGeometryConsistency
();
37
}
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
CaloGeometryFromCaloDDM.h
AthMessaging::AthMessaging
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Definition
AthMessaging.cxx:13
CaloDetDescrElement
This class groups all DetDescr information related to a CaloCell.
Definition
Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:66
CaloDetDescrElement::getSampling
CaloCell_ID::CaloSample getSampling() const
cell sampling
Definition
Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:395
CaloDetDescrElement::identify
Identifier identify() const override final
cell identifier
Definition
CaloDetDescrElement.cxx:63
CaloDetDescrManager_Base::element_begin
calo_element_const_iterator element_begin() const
first element
Definition
CaloDetDescrManager.cxx:111
CaloDetDescrManager_Base::calo_element_const_iterator
CaloConstIteratorAdaptor< calo_element_vec::const_iterator > calo_element_const_iterator
Definition
CaloDetDescrManager.h:182
CaloDetDescrManager
This class provides the client interface for accessing the detector description information common to...
Definition
CaloDetDescrManager.h:469
CaloGeometryFromCaloDDM::LoadFCalChannelMapFromFCalDDM
bool LoadFCalChannelMapFromFCalDDM(const FCALDetectorManager *fcal_dd_man)
Definition
CaloGeometryFromCaloDDM.cxx:33
CaloGeometryFromCaloDDM::CaloGeometryFromCaloDDM
CaloGeometryFromCaloDDM()
Definition
CaloGeometryFromCaloDDM.cxx:9
CaloGeometryFromCaloDDM::~CaloGeometryFromCaloDDM
virtual ~CaloGeometryFromCaloDDM()
CaloGeometryFromCaloDDM::LoadGeometryFromCaloDDM
bool LoadGeometryFromCaloDDM(const CaloDetDescrManager *calo_dd_man)
Definition
CaloGeometryFromCaloDDM.cxx:18
CaloGeometry::PostProcessGeometry
virtual bool PostProcessGeometry()
Definition
CaloGeometry.cxx:627
CaloGeometry::calculateFCalRminRmax
void calculateFCalRminRmax()
Definition
CaloGeometry.cxx:905
CaloGeometry::addcell
virtual void addcell(const CaloDetDescrElement *cell)
Definition
CaloGeometry.cxx:67
CaloGeometry::CaloGeometry
CaloGeometry()
Definition
CaloGeometry.cxx:41
CaloGeometry::SetFCal_ChannelMap
void SetFCal_ChannelMap(const FCAL_ChannelMap *fcal_ChannnelMap)
Definition
CaloGeometry.h:73
CaloGeometry::checkFCalGeometryConsistency
virtual bool checkFCalGeometryConsistency()
Definition
CaloGeometry.cxx:922
FCALDetectorManager
A manager class providing access to readout geometry information for the forward calorimeter.
Definition
FCALDetectorManager.h:29
FCALDetectorManager::getChannelMap
const FCAL_ChannelMap * getChannelMap() const
Returns the Channel Map.
Definition
FCALDetectorManager.h:126
Generated on
for ATLAS Offline Software by
1.17.0