ATLAS Offline Software
Loading...
Searching...
No Matches
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
47
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
Definition of CaloDetDescrManager.
CaloPhiRange class declaration.
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
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
CaloSampling::CaloSample CaloSample
Definition CaloCell_ID.h:53
This class provides the client interface for accessing the detector description information common to...