ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCalibRawTgcCoin.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5//*********************************************************//
6// Class to store raw Tgc information in //
7// Author: Takashi Kubota //
8// Date : 31st July 2008 //
9//*********************************************************//
10
11#ifndef MuonCalibRawTgcCoin_h
12#define MuonCalibRawTgcCoin_h
13
16
17namespace MuonCalib {
27
29 public:
30 MuonCalibRawTgcCoin() = default;
31
35
36 MuonCalibRawTgcCoin(const MuonFixedId& id, const Amg::Vector3D& gPosIn, const Amg::Vector3D& gPosOut, const int type, const int eta,
37 const int phi, const int sector, const int isForward, const int isStrip, const int trackletId,
38 const int trackletIdStrip, const int bcTag, const float widthIn, const float widthOut, const float widthR,
39 const float widthPhi, const int delta, const int roi, const int pt, const int sub, const int isPositiveDeltaR);
40
41 std::ostream& dump(std::ostream& stream) const;
42
43 const MuonFixedId& identify() const;
44 const Amg::Vector3D& gPosIn() const;
45 const Amg::Vector3D& gPosOut() const;
46 int type() const;
47 int eta() const;
48 int phi() const;
49 int sector() const;
50 int isForward() const;
51 int isStrip() const;
52 int trackletId() const;
53 int trackletIdStrip() const;
54 int bcTag() const;
55 float widthR() const;
56 float widthIn() const;
57 float widthOut() const;
58 float widthPhi() const;
59 int delta() const;
60 int roi() const;
61 int pt() const;
62 int sub() const;
63 int isPositiveDeltaR() const;
64
65 void setId(MuonFixedId Id);
68 void setType(int type);
69 void setEta(int eta);
70 void setPhi(int phi);
71 void setSector(int sector);
72 void setIsForward(int isForward);
73 void setIsStrip(int isStrip);
74 void setTrackletId(int trackletId);
76 void setBcTag(int bcTag);
77 void setWidthIn(float widthIn);
78 void setWidthOut(float widthOut);
79 void setWidthR(float widthR);
80 void setWidthPhi(float widthPhi);
81 void setDelta(int delta);
82 void setRoi(int roi);
83 void setPt(int pt);
84 void setSub(int sub);
86
87 private:
91 int m_type{0};
92 int m_eta{0};
93 int m_phi{0};
94 int m_sector{0};
96 int m_isStrip{0};
99 int m_bcTag{0};
100 float m_widthIn{0};
101 float m_widthOut{0};
102 float m_widthR{0};
103 float m_widthPhi{0};
104
105 int m_delta{0};
106 int m_roi{0};
107 int m_pt{0};
108
109 int m_sub{0};
111 };
112
113} // namespace MuonCalib
114
115std::ostream& operator<<(std::ostream& stream, const MuonCalib::MuonCalibRawTgcCoin& rawCoin);
116
117#endif // MuonCalibRawTgcCoin_h
std::ostream & operator<<(std::ostream &stream, const MuonCalib::MuonCalibRawTgcCoin &rawCoin)
Calib-EDM version of TgcPrepData class, containing uncalibrated information.
void setIsPositiveDeltaR(int isPositiveDeltaR)
const Amg::Vector3D & gPosOut() const
retrieve the position expressed in global coordinates
const MuonFixedId & identify() const
retrieve the MuonFixedId
const Amg::Vector3D & gPosIn() const
retrieve the position expressed in global coordinates
void setTrackletIdStrip(int trackletIdStrip)
void setId(MuonFixedId Id)
sets the MuonFixedId
~MuonCalibRawTgcCoin()=default
destructor
MuonCalibRawTgcCoin()=default
default constructor
MuonFixedId m_id
identifier of the raw coin, (is a MuonFixedId, not an Identifier)
MuonCalibRawTgcCoin & operator=(const MuonCalibRawTgcCoin &rhs)=default
assingment operator
void setGlobalPositionOut(const Amg::Vector3D &gPosOut)
sets the position expressed in global coordinates
MuonCalibRawTgcCoin(const MuonCalibRawTgcCoin &coin)=default
copy constructor
void setGlobalPositionIn(const Amg::Vector3D &gPosIn)
sets the position expressed in global coordinates
Implements fixed identifiers not dependent upon Athena Identifier for internal use in the calibration...
Definition MuonFixedId.h:50
Eigen::Matrix< double, 3, 1 > Vector3D
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
-event-from-file