ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCalibSimpleGeometry.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 MUONCALIBSIMPLEGEOMETRY_H
6#define MUONCALIBSIMPLEGEOMETRY_H
7
9
10namespace MuonCalib {
11
13 public:
14 virtual ~MuonCalibSurface() = default;
15 virtual bool inBounds(const Amg::Vector3D& pos, double tolerance = 0.) const = 0;
16 };
17
19 public:
20 MuonCalibDisk(double z, double r) : zPos(z), radius(r) {}
21 bool inBounds(const Amg::Vector3D& pos, double tolerance = 0.) const;
22 double zPos;
23 double radius;
24 };
25
27 public:
28 MuonCalibCylinder(double r, double l) : radius(r), lenght(l) {}
29 bool inBounds(const Amg::Vector3D& pos, double tolerance = 0.) const;
30 double radius;
31 double lenght;
32 };
33
35 public:
37
38 const MuonCalibDisk endcapInnerDiskASide{7500., 12000.};
39 const MuonCalibDisk endcapMiddleDiskASide{14000., 12000.};
40 const MuonCalibDisk endcapOuterDiskASide{21000., 12000.};
41
42 const MuonCalibDisk endcapInnerDiskCSide{-7500., 12000.};
43 const MuonCalibDisk endcapMiddleDiskCSide{-14000., 12000.};
44 const MuonCalibDisk endcapOuterDiskCSide{-21000., 12000.};
45
49
50 const MuonCalibDisk mbtsASide{3560., 890.};
51 const MuonCalibDisk mbtsCSide{-3560., 890.};
52 };
53
54} // namespace MuonCalib
55
56#endif
#define z
bool inBounds(const Amg::Vector3D &pos, double tolerance=0.) const
bool inBounds(const Amg::Vector3D &pos, double tolerance=0.) const
virtual bool inBounds(const Amg::Vector3D &pos, double tolerance=0.) const =0
virtual ~MuonCalibSurface()=default
int r
Definition globals.cxx:22
Eigen::Matrix< double, 3, 1 > Vector3D
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.