Converter for TgcIdHelper.
More...
#include <TGC_IDDetDescrCnv.h>
|
| double | phiCorr (double phi) |
| void | ipCorr (double d0, double z0, double &d0c, double &z0c, double phi0, double eta, double pt) |
|
| void | initMessaging () const |
| | Initialize our message level and MessageSvc.
|
|
| ServiceHandle< StoreGateSvc > | m_detStore |
| std::string | m_nm |
| | Message source name.
|
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| | MsgStream instance (a std::cout like with print-out levels)
|
| std::atomic< IMessageSvc * > | m_imsg |
| | MessageSvc pointer.
|
| std::atomic< MSG::Level > | m_lvl |
| | Current logging level.
|
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE |
| | Messaging initialized (initMessaging)
|
◆ TGC_IDDetDescrCnv()
| TGC_IDDetDescrCnv::TGC_IDDetDescrCnv |
( |
ISvcLocator * | svcloc | ) |
|
|
inline |
Definition at line 17 of file TGC_IDDetDescrCnv.h.
17 :
T_Muon_IDDetDescrCnv(ISvcLocator *svcloc, const char *name)
◆ addTrack()
Definition at line 45 of file Converter.h.
45 {
47 }
std::vector< TIDA::Track * > m_tracks
Templated base class for Muon detector description converters.
◆ classID()
◆ clear()
| void Converter::clear |
( |
| ) |
|
|
inlineinherited |
◆ createObj()
◆ createRep()
| StatusCode DetDescrConverter::createRep |
( |
DataObject * | pObj, |
|
|
IOpaqueAddress *& | pAddr ) |
|
virtualinherited |
◆ detStore()
Handle to DetectorStore.
Definition at line 33 of file DetDescrConverter.h.
ServiceHandle< StoreGateSvc > m_detStore
◆ fillObjRefs()
| StatusCode DetDescrConverter::fillObjRefs |
( |
IOpaqueAddress * | pAddr, |
|
|
DataObject * | pObj ) |
|
virtualinherited |
◆ fillRepRefs()
| StatusCode DetDescrConverter::fillRepRefs |
( |
IOpaqueAddress * | pAddr, |
|
|
DataObject * | pObj ) |
|
virtualinherited |
◆ initialize()
◆ initMessaging()
| void AthMessaging::initMessaging |
( |
| ) |
const |
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 121 of file AthMessaging.cxx.
40{
42
47 }
48}
std::atomic< IMessageSvc * > m_imsg
std::atomic< MSG::Level > m_lvl
IMessageSvc * getMessageSvc(bool quiet=false)
◆ ipCorr()
| void Converter::ipCorr |
( |
double | d0, |
|
|
double | z0, |
|
|
double & | d0c, |
|
|
double & | z0c, |
|
|
double | phi0, |
|
|
double | eta, |
|
|
double | pt ) |
|
inlineprotectedinherited |
Definition at line 257 of file Converter.h.
257 {
258
263
265
267
268 } else {
269
270 double rc =
fabs(
pt)*15.0/(9.0*1.042);
271
274
277
281 } else {
284 }
285
288
290
293 else
295
298
301 else
303
305
310
313
314 }
315 }
constexpr int pow(int base, int exp) noexcept
double phiCorr(double phi)
◆ msg() [1/2]
| MsgStream & AthMessaging::msg |
( |
| ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 92 of file AthMessaging.h.
164{
170 }
171
174}
boost::thread_specific_ptr< MsgStream > m_msg_tls
void setLevel(MSG::Level lvl)
Change the current logging level.
void initMessaging() const
◆ msg() [2/2]
| MsgStream & AthMessaging::msg |
( |
const MSG::Level | lvl | ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 99 of file AthMessaging.h.
◆ msgLvl()
| bool AthMessaging::msgLvl |
( |
const MSG::Level | lvl | ) |
const |
|
inlineinherited |
Test the output level.
- Parameters
-
| lvl | The message level to test against |
- Returns
- boolean Indicating if messages at given level will be printed
- Return values
-
| true | Messages at level "lvl" will be printed |
Definition at line 86 of file AthMessaging.h.
152{
155 return true;
156 } else {
157 return false;
158 }
159}
◆ phiCorr()
| double Converter::phiCorr |
( |
double | phi | ) |
|
|
inlineprotectedinherited |
◆ repSvcType()
|
|
inlineoverridevirtualinherited |
◆ selectTracks() [1/3]
Definition at line 177 of file Converter.h.
177 {
178
179 static int hpmap[20] = { 0, 1, 2, 7, 8, 9, 3, 4, 5, 6, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 };
180
183
185
186 bool hasInDet = (*muonitr)->hasInDetTrackParticle();
191
193
200
201
207
208
209
210
211
218
220
224
226
227 for (
int ih=0 ;
ih<20 ;
ih++ ) {
229 }
230
231
233
234
239 -1) ;
240
242 }
243
244 }
void addTrack(TIDA::Track *t)
void ipCorr(double d0, double z0, double &d0c, double &z0c, double phi0, double eta, double pt)
◆ selectTracks() [2/3]
Definition at line 111 of file Converter.h.
111 {
112
115
116 static int hpmap[20] = { 0, 1, 2, 7, 8, 9, 3, 4, 5, 6, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 };
117
119
121
128
129
135
136
137
138
139
148
152
154
155 for (
int ih=0 ;
ih<20 ;
ih++ ) {
157 }
158
159
161
162
167 -1,
169
172 }
173
174 }
◆ selectTracks() [3/3]
Definition at line 56 of file Converter.h.
56 {
57
60
62
63 double eta = (*trackitr)->param()->eta();
64 double phi = (*trackitr)->param()->phi0();
65 double z0 = (*trackitr)->param()->z0();
66 double pT = (*trackitr)->param()->pT();
67 double d0 = (*trackitr)->param()->a0();
68
69
70 double deta = (*trackitr)->param()->eeta();
71 double dphi = (*trackitr)->param()->ephi0();
72 double dz0 = (*trackitr)->param()->ez0();
73 double dpT = (*trackitr)->param()->epT();
74 double dd0 = (*trackitr)->param()->ea0();
75
76 int algoid = (*trackitr)->algorithmId();
77
79 int nPixelHits = 2*(*trackitr)->NPixelSpacePoints();
80 int nSctHits = 2*(*trackitr)->NSCT_SpacePoints();
82 int nTrHits = (*trackitr)->NTRHits();
83
86
87 unsigned hitPattern = (*trackitr)->HitPattern();
89
90 double chi2 = (*trackitr)->chi2();
92
93
95
96
103
106 }
107 }
◆ setLevel()
| void AthMessaging::setLevel |
( |
MSG::Level | lvl | ) |
|
|
inherited |
◆ storageType()
◆ tracks()
| const std::vector< TIDA::Track * > & Converter::tracks |
( |
| ) |
const |
|
inlineinherited |
◆ ATLAS_THREAD_SAFE
| std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE |
|
mutableprivateinherited |
◆ m_beamX
| double Converter::m_beamX |
|
protectedinherited |
◆ m_beamY
| double Converter::m_beamY |
|
protectedinherited |
◆ m_beamZ
| double Converter::m_beamZ |
|
protectedinherited |
◆ m_detStore
◆ m_imsg
| std::atomic<IMessageSvc*> AthMessaging::m_imsg |
|
mutableprivateinherited |
◆ m_lvl
| std::atomic<MSG::Level> AthMessaging::m_lvl |
|
mutableprivateinherited |
◆ m_msg_tls
| boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
◆ m_nm
| std::string AthMessaging::m_nm |
|
privateinherited |
◆ m_tracks
The documentation for this class was generated from the following file: