![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
17 #ifndef InDetGlobalMotherMonTool_H
18 #define InDetGlobalMotherMonTool_H
54 class ITrackSummaryTool;
55 class ITrackHoleSearchTool;
56 class TrackStateOnSurface;
80 const std::string &
name,
182 template <
class histClass>
185 const std::string &
name,
const std::string &
title,
186 int nbinsx,
double xlow,
double xhi,
187 const std::string & xlabel =
"",
const std::string & ylabel =
"" )
191 target->GetXaxis()->SetTitle( xlabel.c_str() );
192 target->GetYaxis()->SetTitle( ylabel.c_str() );
198 template <
class histClass>
201 int nbinsx,
double xlow,
double xhi,
202 const std::string & xlabel =
"",
const std::string & ylabel =
"" )
207 target->GetXaxis()->SetTitle( xlabel.c_str() );
210 target->GetYaxis()->SetTitle( ylabel.c_str() );
215 template <
class histClass>
218 int nbinsx,
double xlow,
double xhi,
219 int nbinsy,
double ylow,
double yhi,
220 const std::string & xlabel =
"",
const std::string & ylabel =
"" )
227 target->GetXaxis()->SetTitle( xlabel.c_str() );
230 target->GetYaxis()->SetTitle( ylabel.c_str() );
235 template <
class histClass>
238 int nbinsx,
double xlow,
double xhi,
239 const std::string & xlabel =
"",
const std::string & ylabel =
"" )
245 target->GetXaxis()->SetTitle( xlabel.c_str() );
248 target->GetYaxis()->SetTitle( ylabel.c_str() );
253 template <
class histClass>
256 int nbinsx,
double xlow,
double xhi,
257 int nbinsy,
double ylow,
double yhi,
258 const std::string & xlabel =
"",
const std::string & ylabel =
"" )
265 target->GetXaxis()->SetTitle( xlabel.c_str() );
268 target->GetYaxis()->SetTitle( ylabel.c_str() );
287 template <
class histClass>
289 const std::string&
name,
290 const std::string&
title,
291 std::vector<histClass *>&
h,
296 histClass *
h1 = histClass::create(
name.c_str(),
301 if (rc != StatusCode::SUCCESS) {
302 if (
msgLvl(MSG::WARNING) )
msg(MSG::WARNING) <<
"Could not register histogram :"
310 template <
class histClass>
312 const std::string&
name,
313 const std::string&
title,
314 std::vector<histClass *>&
h,
319 histClass *
h1 =
new histClass(
name.c_str(),
324 if (rc != StatusCode::SUCCESS) {
325 if (
msgLvl(MSG::WARNING) )
msg(MSG::WARNING) <<
"Could not register histogram :"
349 template <
class histClass2D>
351 const std::string&
name,
352 const std::string&
title,
353 std::vector<histClass2D *>&
h,
361 histClass2D * h2 = histClass2D::create(
name.c_str(),
369 if (rc != StatusCode::SUCCESS) {
370 if (
msgLvl(MSG::WARNING) )
msg(MSG::WARNING) <<
"Could not register histogram : "
378 template <
class histClass2D>
380 const std::string&
name,
381 const std::string&
title,
382 std::vector<histClass2D *>&
h,
390 histClass2D * h2 =
new histClass2D(
name.c_str(),
398 if (rc != StatusCode::SUCCESS) {
399 if (
msgLvl(MSG::WARNING) )
msg(MSG::WARNING) <<
"Could not register histogram : "
420 const std::vector<int> &ivector,
421 const int &totest)
const
423 return (
find(ivector.begin(),
426 == ivector.end())? -1 : totest;
501 if (
msgLvl(MSG::ERROR) )
msg(MSG::ERROR) <<
"Could not retrieve the track summary tool!" <<
endmsg;
506 template <
class Hist>
509 unsigned int nbins = origHist->GetNbinsX();
510 for (
unsigned ix = 1; ix <=
nbins; ++ix)
512 double content = origHist->GetBinContent(ix);
631 {
this,
"TrackSummaryTool",
"Trk::TrackSummaryTool/InDetTrackSummaryTool",
""};
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
path
python interpreter configuration --------------------------------------—
std::string find(const std::string &s)
return a remapped string
This is an Identifier helper class for the TRT subdetector. This class is a factory for creating comp...
bool msgLvl(const MSG::Level lvl) const
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
::StatusCode StatusCode
StatusCode definition for legacy code.
Trk::PrepRawDataContainer< TRT_DriftCircleCollection > TRT_DriftCircleContainer
Ensure that the ATLAS eigen extensions are properly loaded.
std::vector< std::pair< uint32_t, unsigned int > > InDetTimeCollection
Trk::PrepRawDataCollection< TRT_DriftCircle > TRT_DriftCircleCollection