ATLAS Offline Software
CaloCellDetPos.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef CaloCellDetPos_H
6 #define CaloCellDetPos_H
7 
8 /*
9  Helper method
10  Getting detector level (raw) eta-phi position from Atlas level (aligned) eta-phi positions (wrt to 0,0,0)
11  for a given calorimeter layer
12 
13  December 2010 G.Unal
14 
15 */
16 
21 {
22 
23  public:
24 
34  static bool getDetPosition(const CaloDetDescrManager& mgr,
35  CaloCell_ID::CaloSample sam, double etaAtlas,
36  double phiAtlas, double& etaDet, double& phiDet) ;
37 
48  static bool getAtlasPosition(const CaloDetDescrManager& mgr,
49  CaloCell_ID::CaloSample sam, double etaDet,
50  double phiDet, double& etaAtlas,
51  double& phiAtlas) ;
52 
53 
54 };
55 #endif
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
CaloCell_ID.h
BchCleanup.mgr
mgr
Definition: BchCleanup.py:294
CaloCellDetPos::getAtlasPosition
static bool getAtlasPosition(const CaloDetDescrManager &mgr, CaloCell_ID::CaloSample sam, double etaDet, double phiDet, double &etaAtlas, double &phiAtlas)
get Atlas (aligned) level eta-phi position from detector level eta-phi positions
Definition: CaloCellDetPos.cxx:29
CaloSampling::CaloSample
CaloSample
Definition: Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h:22
CaloCellDetPos
Definition: CaloCellDetPos.h:21
CaloPhiRange.h
CaloPhiRange class declaration.
CaloCellDetPos::getDetPosition
static bool getDetPosition(const CaloDetDescrManager &mgr, CaloCell_ID::CaloSample sam, double etaAtlas, double phiAtlas, double &etaDet, double &phiDet)
get Detector level eta-phi position from Atlas level (aligned) position
Definition: CaloCellDetPos.cxx:13
CaloDetDescrManager
This class provides the client interface for accessing the detector description information common to...
Definition: CaloDetDescrManager.h:473