ATLAS Offline Software
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ALFA_CenterGravity Class Reference

#include <ALFA_CenterGravity.h>

Inheritance diagram for ALFA_CenterGravity:
Collaboration diagram for ALFA_CenterGravity:

Public Member Functions

 ALFA_CenterGravity ()
 
 ~ALFA_CenterGravity ()
 
StatusCode Initialize (const eRPotName &eRPName, const std::list< MDHIT > &ListMDHits, Float_t faMD[RPOTSCNT][ALFALAYERSCNT *ALFAPLATESCNT][ALFAFIBERSCNT], Float_t fbMD[RPOTSCNT][ALFALAYERSCNT *ALFAPLATESCNT][ALFAFIBERSCNT], Float_t fzMD[RPOTSCNT][ALFALAYERSCNT *ALFAPLATESCNT][ALFAFIBERSCNT])
 
StatusCode Execute ()
 
StatusCode Finalize (Float_t &fRecXPos, Float_t &fRecYPos)
 
void GetData (Int_t(&iFibSel)[ALFALAYERSCNT *ALFAPLATESCNT])
 
bool msgLvl (const MSG::Level lvl) const
 Test the output level. More...
 
MsgStream & msg () const
 The standard message stream. More...
 
MsgStream & msg (const MSG::Level lvl) const
 The standard message stream. More...
 
void setLevel (MSG::Level lvl)
 Change the current logging level. More...
 

Private Member Functions

void HistInitialize ()
 
void HistFinalize ()
 
StatusCode SelectHitInLayer ()
 
StatusCode CenterGravity ()
 
void initMessaging () const
 Initialize our message level and MessageSvc. More...
 

Private Attributes

Int_t m_iRPot
 
Int_t m_iTBins
 
Int_t m_iRBins
 
Float_t m_fbMinU
 
Float_t m_fbMinV
 
Float_t m_fFiberD
 
Float_t m_fzStep
 
Float_t m_fTLow
 
Float_t m_fTHigh
 
Float_t m_fRLow
 
Float_t m_fRHigh
 
Float_t m_fHitBU
 
Float_t m_fHitBV
 
Float_t m_fRecXPos
 
Float_t m_fRecYPos
 
Int_t m_iFHits [20]
 
Float_t m_faMD [ALFALAYERSCNT *ALFAPLATESCNT][ALFAFIBERSCNT]
 
Float_t m_fbMD [ALFALAYERSCNT *ALFAPLATESCNT][ALFAFIBERSCNT]
 
Float_t m_fzMD [ALFALAYERSCNT *ALFAPLATESCNT][ALFAFIBERSCNT]
 
TH2D * m_histU_PT
 
TH2D * m_histV_PT
 
std::list< MDHITm_ListMDHits
 
std::string m_nm
 Message source name. More...
 
boost::thread_specific_ptr< MsgStream > m_msg_tls
 MsgStream instance (a std::cout like with print-out levels) More...
 
std::atomic< IMessageSvc * > m_imsg { nullptr }
 MessageSvc pointer. More...
 
std::atomic< MSG::Level > m_lvl { MSG::NIL }
 Current logging level. More...
 
std::atomic_flag m_initialized ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
 Messaging initialized (initMessaging) More...
 

Detailed Description

Definition at line 24 of file ALFA_CenterGravity.h.

Constructor & Destructor Documentation

◆ ALFA_CenterGravity()

ALFA_CenterGravity::ALFA_CenterGravity ( )

Definition at line 9 of file ALFA_CenterGravity.cxx.

9  :
10  AthMessaging("ALFA_CenterGravity"),
11  m_iRPot (0),
12  m_iTBins (0),
13  m_iRBins (0),
14  m_fbMinU (0.0),
15  m_fbMinV (0.0),
16  m_fFiberD (0.0),
17  m_fzStep (0.0),
18  m_fTLow (0.0),
19  m_fTHigh (0.0),
20  m_fRLow (0.0),
21  m_fRHigh (0.0),
22  m_fHitBU (0.0),
23  m_fHitBV (0.0),
24  m_fRecXPos (0.0),
25  m_fRecYPos (0.0),
26  m_histU_PT (nullptr),
27  m_histV_PT (nullptr)
28 {
29  memset(&m_iFHits, 0, sizeof(m_iFHits));
30 }

◆ ~ALFA_CenterGravity()

ALFA_CenterGravity::~ALFA_CenterGravity ( )

Definition at line 32 of file ALFA_CenterGravity.cxx.

33 {
34 
35 }

Member Function Documentation

◆ CenterGravity()

StatusCode ALFA_CenterGravity::CenterGravity ( )
private

Definition at line 267 of file ALFA_CenterGravity.cxx.

268 {
269  Int_t n_p = 0;
270  Int_t n_n = 0;
271  Float_t faMeanP = 0;
272  Float_t fbMeanP = 0;
273  Float_t faMeanN = 0;
274  Float_t fbMeanN = 0;
275 
276  // Layer loop
277  for(Int_t iLayer = 0; iLayer < ALFAPLATESCNT*ALFALAYERSCNT; iLayer++)
278  {
279  if(m_iFHits[iLayer]!= -9999)
280  {
281  // Separate pos. and neg. slope layers
282  if(m_faMD[iLayer][1] >= 0)
283  {
284  faMeanP = faMeanP + m_faMD[iLayer][m_iFHits[iLayer]];
285  fbMeanP = fbMeanP + m_fbMD[iLayer][m_iFHits[iLayer]]; // + 0.07071; // due to the staggering - see my ALFA talk from 18.02.2008
286  n_p++;
287  }
288  else
289  {
290  faMeanN = faMeanN + m_faMD[iLayer][m_iFHits[iLayer]];
291  fbMeanN = fbMeanN + m_fbMD[iLayer][m_iFHits[iLayer]]; // - 0.07071;
292  n_n++;
293  }
294  }
295  }
296 
297  // At least one hit in pos. and neg. slope layer
298  if((n_p>=1)&&(n_n>=1))
299  {
300  faMeanP = faMeanP/n_p;
301  fbMeanP = fbMeanP/n_p;
302  faMeanN = faMeanN/n_n;
303  fbMeanN = fbMeanN/n_n;
304 
305  if(faMeanP == faMeanN)
306  {
307  ATH_MSG_DEBUG("something goes wrong, faMeanP = faMeanN ");
308  }
309 
310  m_fRecXPos = (fbMeanN - fbMeanP)/(faMeanP - faMeanN);
311  m_fRecYPos = faMeanP * m_fRecXPos + fbMeanP;
312  }
313  else
314  {
315  m_fRecXPos = -9999;
316  m_fRecYPos = -9999;
317  }
318 
319  return StatusCode::SUCCESS;
320 }

◆ Execute()

StatusCode ALFA_CenterGravity::Execute ( )

Definition at line 91 of file ALFA_CenterGravity.cxx.

92 {
93  StatusCode sc;
94 
95  // SELECT CANDIDATE HITS
96  sc = SelectHitInLayer();
97  if(sc.isFailure())
98  {
99  ATH_MSG_ERROR(" hit selection failure ");
100  return sc;
101  }
102 
103  sc = CenterGravity();
104  if(sc.isFailure())
105  {
106  ATH_MSG_ERROR(" CenterGravity failure ");
107  return sc;
108  }
109 
110 
111  return StatusCode::SUCCESS;
112 }

◆ Finalize()

StatusCode ALFA_CenterGravity::Finalize ( Float_t &  fRecXPos,
Float_t &  fRecYPos 
)

Definition at line 114 of file ALFA_CenterGravity.cxx.

115 {
116  fRecXPos = m_fRecXPos;
117  fRecYPos = m_fRecYPos;
118 
119  HistFinalize();
120 
121  return StatusCode::SUCCESS;
122 }

◆ GetData()

void ALFA_CenterGravity::GetData ( Int_t(&)  iFibSel[ALFALAYERSCNT *ALFAPLATESCNT])

Definition at line 337 of file ALFA_CenterGravity.cxx.

338 {
339  for (Int_t iLayer=0; iLayer<ALFALAYERSCNT*ALFAPLATESCNT; iLayer++)
340  {
341  iFibSel[iLayer] = m_iFHits[iLayer];
342  }
343 }

◆ HistFinalize()

void ALFA_CenterGravity::HistFinalize ( )
private

Definition at line 329 of file ALFA_CenterGravity.cxx.

330 {
331  if (m_histU_PT!=nullptr) delete m_histU_PT;
332  if (m_histV_PT!=nullptr) delete m_histV_PT;
333  m_histU_PT = nullptr;
334  m_histV_PT = nullptr;
335 }

◆ HistInitialize()

void ALFA_CenterGravity::HistInitialize ( )
private

Definition at line 323 of file ALFA_CenterGravity.cxx.

324 {
325  m_histU_PT = new TH2D("histU_PT", "Hough Trans. of U", m_iTBins, m_fTLow, m_fTHigh, m_iRBins, m_fRLow, m_fRHigh);
326  m_histV_PT = new TH2D("histV_PT", "Hough Trans. of V", m_iTBins, m_fTLow, m_fTHigh, m_iRBins, m_fRLow, m_fRHigh);
327 }

◆ Initialize()

StatusCode ALFA_CenterGravity::Initialize ( const eRPotName eRPName,
const std::list< MDHIT > &  ListMDHits,
Float_t  faMD[RPOTSCNT][ALFALAYERSCNT *ALFAPLATESCNT][ALFAFIBERSCNT],
Float_t  fbMD[RPOTSCNT][ALFALAYERSCNT *ALFAPLATESCNT][ALFAFIBERSCNT],
Float_t  fzMD[RPOTSCNT][ALFALAYERSCNT *ALFAPLATESCNT][ALFAFIBERSCNT] 
)

Definition at line 37 of file ALFA_CenterGravity.cxx.

38 {
39  m_iRPot = eRPName - 1;
40  m_ListMDHits = ListMDHits;
41 
42  for (Int_t iLayer = 0; iLayer < ALFALAYERSCNT*ALFAPLATESCNT; iLayer++)
43  {
44  for (Int_t iFiber = 0; iFiber < ALFAFIBERSCNT; iFiber++)
45  {
46  m_faMD[iLayer][iFiber] = faMD[m_iRPot][iLayer][iFiber];
47  m_fbMD[iLayer][iFiber] = fbMD[m_iRPot][iLayer][iFiber];
48  m_fzMD[iLayer][iFiber] = fzMD[m_iRPot][iLayer][iFiber];
49  }
50  }
51 
52  Float_t fzBase = m_fzMD[0][0];
53  m_fbMinU = 1111.0;
54  m_fbMinV = 1111.0;
55 
56  for (Int_t iLayer = 0; iLayer < ALFAPLATESCNT*ALFALAYERSCNT; iLayer++)
57  {
58  for (Int_t iFiber = 0; iFiber < ALFAFIBERSCNT; iFiber++)
59  {
60  if ((m_fbMD[iLayer][iFiber] < m_fbMinU) && m_faMD[iLayer][iFiber] < 0)
61  {
62  m_fbMinU = m_fbMD[iLayer][iFiber];
63  }
64 
65  if ((m_fbMD[iLayer][iFiber] < m_fbMinV) && m_faMD[iLayer][iFiber] > 0)
66  {
67  m_fbMinV = m_fbMD[iLayer][iFiber];
68  }
69 
70  // rescale zPos
71  m_fzMD[iLayer][iFiber] -= fzBase;
72  }
73  }
74 
75  m_fFiberD = 0.7071;
76  m_fzStep = 2.0;
77 
78  m_fTLow = (1.0/4.0)*M_PI;
79  m_fTHigh = (3.0/4.0)*M_PI;
80  m_fRLow = 0.0;
81  m_fRHigh = 64.0;
82  m_iTBins = 100;
83  m_iRBins = 64;
84 
85 
87 
88  return StatusCode::SUCCESS;
89 }

◆ initMessaging()

void AthMessaging::initMessaging ( ) const
privateinherited

Initialize our message level and MessageSvc.

This method should only be called once.

Definition at line 39 of file AthMessaging.cxx.

40 {
42  m_lvl = m_imsg ?
43  static_cast<MSG::Level>( m_imsg.load()->outputLevel(m_nm) ) :
44  MSG::INFO;
45 }

◆ 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 164 of file AthMessaging.h.

165 {
166  MsgStream* ms = m_msg_tls.get();
167  if (!ms) {
168  if (!m_initialized.test_and_set()) initMessaging();
169  ms = new MsgStream(m_imsg,m_nm);
170  m_msg_tls.reset( ms );
171  }
172 
173  ms->setLevel (m_lvl);
174  return *ms;
175 }

◆ 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 179 of file AthMessaging.h.

180 { return msg() << lvl; }

◆ msgLvl()

bool AthMessaging::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Test the output level.

Parameters
lvlThe message level to test against
Returns
boolean Indicating if messages at given level will be printed
Return values
trueMessages at level "lvl" will be printed

Definition at line 151 of file AthMessaging.h.

152 {
153  if (!m_initialized.test_and_set()) initMessaging();
154  if (m_lvl <= lvl) {
155  msg() << lvl;
156  return true;
157  } else {
158  return false;
159  }
160 }

◆ SelectHitInLayer()

StatusCode ALFA_CenterGravity::SelectHitInLayer ( )
private

Definition at line 124 of file ALFA_CenterGravity.cxx.

125 {
126  // Reset Histograms
127  m_histU_PT->Reset();
128  m_histV_PT->Reset();
129 
130  // U (V) vs Z and Hough Transformed 2D histograms
131  Float_t fU = 0;
132  Float_t fZ = 0;
133  Float_t fRadius = 0;
134  Float_t fTheta = 0;
135 
136  FIBERS structFibers;
137  std::map<int, FIBERS> mapLayers;
138  mapLayers.clear();
139  std::list<int>::iterator iterFiber;
140 
141  std::list<MDHIT>::const_iterator iter;
142  for (iter=m_ListMDHits.begin(); iter!=m_ListMDHits.end(); ++iter)
143  {
144  if (m_iRPot == (*iter).iRPot)
145  {
146  if(mapLayers.find((*iter).iPlate)==mapLayers.end())
147  {
148  structFibers.ListFibers.clear();
149 
150  mapLayers.insert(std::pair<int, FIBERS>((*iter).iPlate, structFibers));
151  mapLayers[(*iter).iPlate].ListFibers.push_back((*iter).iFiber);
152  }
153  else
154  {
155  mapLayers[(*iter).iPlate].ListFibers.push_back((*iter).iFiber);
156  }
157  }
158  }
159 
160  for (Int_t iLayer = 0; iLayer < ALFALAYERSCNT*ALFAPLATESCNT; iLayer++)
161  {
162  for (iterFiber=mapLayers[iLayer].ListFibers.begin(); iterFiber!=mapLayers[iLayer].ListFibers.end(); ++iterFiber)
163  {
164  if (fmod((double)iLayer,(double)2) == 0) // for U-fibers
165  {
166  fU = (m_fbMD[iLayer][*iterFiber]-m_fbMinU)/m_fFiberD;
167  fZ = m_fzMD[iLayer][*iterFiber]/m_fzStep + 0.5;
168 
169  for(Int_t k=0; k < m_iTBins; k++)
170  {
171  fTheta = m_fTLow + (k+0.5)*(m_fTHigh-m_fTLow)/m_iTBins;
172  fRadius = fZ*cos(fTheta)+fU*sin(fTheta);
173 
174  m_histU_PT->Fill(fTheta, fRadius, 1.0);
175  }
176  }
177  else // for V-fibers
178  {
179  fU = (m_fbMD[iLayer][*iterFiber]-m_fbMinV)/m_fFiberD;
180  fZ = (m_fzMD[iLayer][*iterFiber]+1.0)/m_fzStep + 0.5;
181 
182  for(Int_t k=0; k < m_iTBins; k++)
183  {
184  fTheta = m_fTLow + (k+0.5)*(m_fTHigh-m_fTLow)/m_iTBins;
185  fRadius = fZ*cos(fTheta)+fU*sin(fTheta);
186 
187  m_histV_PT->Fill(fTheta, fRadius, 1.0);
188  }
189  }
190  }
191  }
192 
193  // Get maximumbin from PT histograms and determine seed track
194  Int_t iULocMax, iULocMay, iULocMaz;
195  Int_t iVLocMax, iVLocMay, iVLocMaz;
196 
197  m_histU_PT->GetMaximumBin(iULocMax, iULocMay, iULocMaz);
198  m_histV_PT->GetMaximumBin(iVLocMax, iVLocMay, iVLocMaz);
199 
200  // Select Hits closest to seed track ( dr < 2.0 )
201  Float_t fRMinU, fRMinV, fRTmp, fRdr;
202 
203  Float_t fRLineU = m_fRLow + (iULocMay-0.5)*(m_fRHigh-m_fRLow)/m_iRBins; // -0.5 since bins start with 1 (first bin, second...)
204  Float_t fRLineV = m_fRLow + (iVLocMay-0.5)*(m_fRHigh-m_fRLow)/m_iRBins;
205 
206  Double_t fTLineU = m_fTLow + (iULocMax-0.5)*(m_fTHigh-m_fTLow)/m_iTBins;
207  Double_t fTLineV = m_fTLow + (iVLocMax-0.5)*(m_fTHigh-m_fTLow)/m_iTBins;
208 
209 
210  Float_t fAlphaU = -cos(fTLineU)/sin(fTLineU);
211  Float_t fAlphaV = -cos(fTLineV)/sin(fTLineV);
212 
213  Float_t fBetaU = fRLineU/sin(fTLineU);
214  Float_t fBetaV = fRLineV/sin(fTLineV);
215 
216  Float_t fBUMin = fAlphaU*0.0 + fBetaU;
217  Float_t fBUMax = fAlphaU*19.0 + fBetaU;
218 
219  Float_t fBVMin = fAlphaV*1.0 + fBetaV;
220  Float_t fBVMax = fAlphaV*20.0 + fBetaV;
221 
222  m_fHitBU = (fBUMax-fBUMin)/2.0 + fBUMin;
223  m_fHitBV = (fBVMax-fBVMin)/2.0 + fBVMin;
224 
225  for (Int_t iLayer = 0; iLayer < ALFALAYERSCNT*ALFAPLATESCNT; iLayer++)
226  {
227  //fRMinU = fRMinV = 2.0;
228  fRMinU = fRMinV = 0.5;
229  m_iFHits[iLayer] = -9999;
230 
231  for (iterFiber=mapLayers[iLayer].ListFibers.begin(); iterFiber!=mapLayers[iLayer].ListFibers.end(); ++iterFiber)
232  {
233  if (fmod((double)iLayer,(double)2) == 0) // for U-fibers
234  {
235  fU = (m_fbMD[iLayer][*iterFiber]-m_fbMinU)/m_fFiberD;
236  fZ = m_fzMD[iLayer][*iterFiber]/m_fzStep + 0.5;
237 
238  fRTmp = fZ*cos(fTLineU) + fU*sin(fTLineU);
239  fRdr = fabs(fRLineU - fRTmp);
240 
241  if (fRdr < fRMinU)
242  {
243  fRMinU = fRdr;
244  m_iFHits[iLayer] = *iterFiber;
245  }
246  }
247  else // for V-fibers
248  {
249  fU = (m_fbMD[iLayer][*iterFiber]-m_fbMinV)/m_fFiberD;
250  fZ = (m_fzMD[iLayer][*iterFiber]+1.0)/m_fzStep + 0.5;
251 
252  fRTmp = fZ*cos(fTLineV) + fU*sin(fTLineV);
253  fRdr = fabs(fRLineV - fRTmp);
254 
255  if (fRdr < fRMinV)
256  {
257  fRMinV = fRdr;
258  m_iFHits[iLayer] = *iterFiber;
259  }
260  }
261  }
262  }
263 
264  return StatusCode::SUCCESS;
265 }

◆ setLevel()

void AthMessaging::setLevel ( MSG::Level  lvl)
inherited

Change the current logging level.

Use this rather than msg().setLevel() for proper operation with MT.

Definition at line 28 of file AthMessaging.cxx.

29 {
30  m_lvl = lvl;
31 }

Member Data Documentation

◆ ATLAS_THREAD_SAFE

std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
mutableprivateinherited

Messaging initialized (initMessaging)

Definition at line 141 of file AthMessaging.h.

◆ m_faMD

Float_t ALFA_CenterGravity::m_faMD[ALFALAYERSCNT *ALFAPLATESCNT][ALFAFIBERSCNT]
private

Definition at line 58 of file ALFA_CenterGravity.h.

◆ m_fbMD

Float_t ALFA_CenterGravity::m_fbMD[ALFALAYERSCNT *ALFAPLATESCNT][ALFAFIBERSCNT]
private

Definition at line 59 of file ALFA_CenterGravity.h.

◆ m_fbMinU

Float_t ALFA_CenterGravity::m_fbMinU
private

Definition at line 38 of file ALFA_CenterGravity.h.

◆ m_fbMinV

Float_t ALFA_CenterGravity::m_fbMinV
private

Definition at line 39 of file ALFA_CenterGravity.h.

◆ m_fFiberD

Float_t ALFA_CenterGravity::m_fFiberD
private

Definition at line 40 of file ALFA_CenterGravity.h.

◆ m_fHitBU

Float_t ALFA_CenterGravity::m_fHitBU
private

Definition at line 48 of file ALFA_CenterGravity.h.

◆ m_fHitBV

Float_t ALFA_CenterGravity::m_fHitBV
private

Definition at line 49 of file ALFA_CenterGravity.h.

◆ m_fRecXPos

Float_t ALFA_CenterGravity::m_fRecXPos
private

Definition at line 51 of file ALFA_CenterGravity.h.

◆ m_fRecYPos

Float_t ALFA_CenterGravity::m_fRecYPos
private

Definition at line 52 of file ALFA_CenterGravity.h.

◆ m_fRHigh

Float_t ALFA_CenterGravity::m_fRHigh
private

Definition at line 46 of file ALFA_CenterGravity.h.

◆ m_fRLow

Float_t ALFA_CenterGravity::m_fRLow
private

Definition at line 45 of file ALFA_CenterGravity.h.

◆ m_fTHigh

Float_t ALFA_CenterGravity::m_fTHigh
private

Definition at line 44 of file ALFA_CenterGravity.h.

◆ m_fTLow

Float_t ALFA_CenterGravity::m_fTLow
private

Definition at line 43 of file ALFA_CenterGravity.h.

◆ m_fzMD

Float_t ALFA_CenterGravity::m_fzMD[ALFALAYERSCNT *ALFAPLATESCNT][ALFAFIBERSCNT]
private

Definition at line 60 of file ALFA_CenterGravity.h.

◆ m_fzStep

Float_t ALFA_CenterGravity::m_fzStep
private

Definition at line 41 of file ALFA_CenterGravity.h.

◆ m_histU_PT

TH2D* ALFA_CenterGravity::m_histU_PT
private

Definition at line 63 of file ALFA_CenterGravity.h.

◆ m_histV_PT

TH2D* ALFA_CenterGravity::m_histV_PT
private

Definition at line 64 of file ALFA_CenterGravity.h.

◆ m_iFHits

Int_t ALFA_CenterGravity::m_iFHits[20]
private

Definition at line 55 of file ALFA_CenterGravity.h.

◆ m_imsg

std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr }
mutableprivateinherited

MessageSvc pointer.

Definition at line 135 of file AthMessaging.h.

◆ m_iRBins

Int_t ALFA_CenterGravity::m_iRBins
private

Definition at line 35 of file ALFA_CenterGravity.h.

◆ m_iRPot

Int_t ALFA_CenterGravity::m_iRPot
private

Definition at line 32 of file ALFA_CenterGravity.h.

◆ m_iTBins

Int_t ALFA_CenterGravity::m_iTBins
private

Definition at line 34 of file ALFA_CenterGravity.h.

◆ m_ListMDHits

std::list<MDHIT> ALFA_CenterGravity::m_ListMDHits
private

Definition at line 67 of file ALFA_CenterGravity.h.

◆ m_lvl

std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL }
mutableprivateinherited

Current logging level.

Definition at line 138 of file AthMessaging.h.

◆ 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

Message source name.

Definition at line 129 of file AthMessaging.h.


The documentation for this class was generated from the following files:
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
AthMessaging::m_lvl
std::atomic< MSG::Level > m_lvl
Current logging level.
Definition: AthMessaging.h:138
ALFA_CenterGravity::m_fRecXPos
Float_t m_fRecXPos
Definition: ALFA_CenterGravity.h:51
ALFA_CenterGravity::HistInitialize
void HistInitialize()
Definition: ALFA_CenterGravity.cxx:323
ALFA_CenterGravity::m_fTLow
Float_t m_fTLow
Definition: ALFA_CenterGravity.h:43
ALFA_CenterGravity::m_fRHigh
Float_t m_fRHigh
Definition: ALFA_CenterGravity.h:46
ALFA_CenterGravity::m_iTBins
Int_t m_iTBins
Definition: ALFA_CenterGravity.h:34
ALFA_CenterGravity::m_iRPot
Int_t m_iRPot
Definition: ALFA_CenterGravity.h:32
ALFAFIBERSCNT
#define ALFAFIBERSCNT
Definition: ALFA_constants.h:10
_FIBERS
Definition: ALFA_LocRec/ALFA_UserObjects.h:30
M_PI
#define M_PI
Definition: ActiveFraction.h:11
ALFA_CenterGravity::m_fRecYPos
Float_t m_fRecYPos
Definition: ALFA_CenterGravity.h:52
ALFA_CenterGravity::m_faMD
Float_t m_faMD[ALFALAYERSCNT *ALFAPLATESCNT][ALFAFIBERSCNT]
Definition: ALFA_CenterGravity.h:58
drawFromPickle.cos
cos
Definition: drawFromPickle.py:36
AthMessaging::m_imsg
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
Definition: AthMessaging.h:135
python.SystemOfUnits.ms
int ms
Definition: SystemOfUnits.py:132
ALFA_CenterGravity::m_fHitBV
Float_t m_fHitBV
Definition: ALFA_CenterGravity.h:49
Athena::getMessageSvc
IMessageSvc * getMessageSvc(bool quiet=false)
Definition: getMessageSvc.cxx:20
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
AthMessaging::AthMessaging
AthMessaging()
Default constructor:
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
ALFA_CenterGravity::m_fbMinU
Float_t m_fbMinU
Definition: ALFA_CenterGravity.h:38
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
ALFA_CenterGravity::SelectHitInLayer
StatusCode SelectHitInLayer()
Definition: ALFA_CenterGravity.cxx:124
ALFA_CenterGravity::m_fFiberD
Float_t m_fFiberD
Definition: ALFA_CenterGravity.h:40
ALFA_CenterGravity::m_fbMD
Float_t m_fbMD[ALFALAYERSCNT *ALFAPLATESCNT][ALFAFIBERSCNT]
Definition: ALFA_CenterGravity.h:59
_FIBERS::ListFibers
std::list< int > ListFibers
Definition: ALFA_LocRec/ALFA_UserObjects.h:31
xAOD::double
double
Definition: CompositeParticle_v1.cxx:159
ALFALAYERSCNT
#define ALFALAYERSCNT
Definition: ALFA_constants.h:8
AthMessaging::msg
MsgStream & msg() const
The standard message stream.
Definition: AthMessaging.h:164
ALFA_CenterGravity::m_fzStep
Float_t m_fzStep
Definition: ALFA_CenterGravity.h:41
ALFA_CenterGravity::m_fbMinV
Float_t m_fbMinV
Definition: ALFA_CenterGravity.h:39
ALFA_CenterGravity::m_fHitBU
Float_t m_fHitBU
Definition: ALFA_CenterGravity.h:48
AthMessaging::m_nm
std::string m_nm
Message source name.
Definition: AthMessaging.h:129
ALFA_CenterGravity::m_histU_PT
TH2D * m_histU_PT
Definition: ALFA_CenterGravity.h:63
ALFA_CenterGravity::m_ListMDHits
std::list< MDHIT > m_ListMDHits
Definition: ALFA_CenterGravity.h:67
ALFA_CenterGravity::m_iRBins
Int_t m_iRBins
Definition: ALFA_CenterGravity.h:35
ALFA_CenterGravity::m_histV_PT
TH2D * m_histV_PT
Definition: ALFA_CenterGravity.h:64
ALFA_CenterGravity::m_fzMD
Float_t m_fzMD[ALFALAYERSCNT *ALFAPLATESCNT][ALFAFIBERSCNT]
Definition: ALFA_CenterGravity.h:60
AthMessaging::initMessaging
void initMessaging() const
Initialize our message level and MessageSvc.
Definition: AthMessaging.cxx:39
drawFromPickle.sin
sin
Definition: drawFromPickle.py:36
ALFA_CenterGravity::CenterGravity
StatusCode CenterGravity()
Definition: ALFA_CenterGravity.cxx:267
ALFA_CenterGravity::m_fRLow
Float_t m_fRLow
Definition: ALFA_CenterGravity.h:45
AthMessaging::m_msg_tls
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
Definition: AthMessaging.h:132
ALFA_CenterGravity::m_fTHigh
Float_t m_fTHigh
Definition: ALFA_CenterGravity.h:44
ALFA_CenterGravity::HistFinalize
void HistFinalize()
Definition: ALFA_CenterGravity.cxx:329
ALFA_CenterGravity::m_iFHits
Int_t m_iFHits[20]
Definition: ALFA_CenterGravity.h:55
ALFAPLATESCNT
#define ALFAPLATESCNT
Definition: ALFA_constants.h:9
fitman.k
k
Definition: fitman.py:528