ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
DerivationFramework::BVertexTrackIsoTool::IsoItem Class Reference

#include <BVertexTrackIsoTool.h>

Inheritance diagram for DerivationFramework::BVertexTrackIsoTool::IsoItem:
Collaboration diagram for DerivationFramework::BVertexTrackIsoTool::IsoItem:

Public Member Functions

 IsoItem (const std::string &Name="_none_", const std::string &Bname="iso", const std::string &Prefix="", double IsoValue=-1., int NTracks=0)
 
virtual ~IsoItem ()
 
virtual void setup (const std::string &Name, const std::string &Bname="iso", const std::string &Prefix="")
 
virtual void setup (const std::string &Name, const std::string &Bname, const std::string &Prefix, double IsoValue, int NTracks=0)
 
virtual void resetVals ()
 
virtual void copyVals (const BaseItem &item)
 
virtual void copyVals (const IsoItem &item)
 
virtual std::string isoName () const
 
virtual std::string nTracksName () const
 
virtual void setPrefix (std::string Prefix)
 
virtual std::string buildName (const std::string &qualifier="", const std::string &suffix="") const
 
virtual std::string toString () const
 

Public Attributes

double isoValue
 
int nTracks
 
std::string name
 
std::string bname
 
std::string prefix
 

Detailed Description

Definition at line 40 of file BVertexTrackIsoTool.h.

Constructor & Destructor Documentation

◆ IsoItem()

DerivationFramework::BVertexTrackIsoTool::IsoItem::IsoItem ( const std::string &  Name = "_none_",
const std::string &  Bname = "iso",
const std::string &  Prefix = "",
double  IsoValue = -1.,
int  NTracks = 0 
)

Definition at line 49 of file BVertexTrackIsoTool.cxx.

53  :
54  BaseItem(Name, Bname, Prefix), isoValue(IsoValue), nTracks(NTracks) {
55  }

◆ ~IsoItem()

DerivationFramework::BVertexTrackIsoTool::IsoItem::~IsoItem ( )
virtual

Definition at line 57 of file BVertexTrackIsoTool.cxx.

57  {
58  }

Member Function Documentation

◆ buildName()

std::string DerivationFramework::BPhysVertexTrackBase::BaseItem::buildName ( const std::string &  qualifier = "",
const std::string &  suffix = "" 
) const
virtualinherited

Definition at line 201 of file BPhysVertexTrackBase.cxx.

202  {
203  std::string f = std::format("{}{}{}{}{}",
204  (prefix.length() > 0 ? prefix + "_" : ""),
205  (bname.length() > 0 ? bname + "_" : ""),
206  (qualifier.length() > 0 ? qualifier + "_" : ""),
207  name,
208  suffix);
209  return f;
210  }

◆ copyVals() [1/2]

void DerivationFramework::BVertexTrackIsoTool::IsoItem::copyVals ( const BaseItem item)
virtual

Implements DerivationFramework::BPhysVertexTrackBase::BaseItem.

Definition at line 83 of file BVertexTrackIsoTool.cxx.

83  {
84  copyVals((const IsoItem&)item);
85  }

◆ copyVals() [2/2]

void DerivationFramework::BVertexTrackIsoTool::IsoItem::copyVals ( const IsoItem item)
virtual

Definition at line 87 of file BVertexTrackIsoTool.cxx.

87  {
88  isoValue = item.isoValue;
89  nTracks = item.nTracks;
90  }

◆ isoName()

std::string DerivationFramework::BVertexTrackIsoTool::IsoItem::isoName ( ) const
virtual

Definition at line 92 of file BVertexTrackIsoTool.cxx.

92  {
93  return buildName();
94  }

◆ nTracksName()

std::string DerivationFramework::BVertexTrackIsoTool::IsoItem::nTracksName ( ) const
virtual

Definition at line 96 of file BVertexTrackIsoTool.cxx.

96  {
97  return buildName("Ntracks");
98  }

◆ resetVals()

void DerivationFramework::BVertexTrackIsoTool::IsoItem::resetVals ( )
virtual

Reimplemented from DerivationFramework::BPhysVertexTrackBase::BaseItem.

Definition at line 78 of file BVertexTrackIsoTool.cxx.

78  {
79  isoValue = -2.;
80  nTracks = -1;
81  }

◆ setPrefix()

void DerivationFramework::BPhysVertexTrackBase::BaseItem::setPrefix ( std::string  Prefix)
virtualinherited

Definition at line 193 of file BPhysVertexTrackBase.cxx.

193  {
194  prefix = std::move(Prefix);
195  }

◆ setup() [1/2]

void DerivationFramework::BVertexTrackIsoTool::IsoItem::setup ( const std::string &  Name,
const std::string &  Bname,
const std::string &  Prefix,
double  IsoValue,
int  NTracks = 0 
)
virtual

Definition at line 68 of file BVertexTrackIsoTool.cxx.

72  {
73  BaseItem::setup(Name, Bname, Prefix);
74  isoValue = IsoValue;
75  nTracks = NTracks;
76  }

◆ setup() [2/2]

void DerivationFramework::BVertexTrackIsoTool::IsoItem::setup ( const std::string &  Name,
const std::string &  Bname = "iso",
const std::string &  Prefix = "" 
)
virtual

Reimplemented from DerivationFramework::BPhysVertexTrackBase::BaseItem.

Definition at line 60 of file BVertexTrackIsoTool.cxx.

62  {
63  BaseItem::setup(Name, Bname, Prefix);
64  isoValue = -1.;
65  nTracks = 0;
66  }

◆ toString()

std::string DerivationFramework::BPhysVertexTrackBase::BaseItem::toString ( ) const
virtualinherited

Definition at line 212 of file BPhysVertexTrackBase.cxx.

212  {
213  std::string f = std::format("nm: {}\nbn: {}", name, bname);
214  return f;
215  }

Member Data Documentation

◆ bname

std::string DerivationFramework::BPhysVertexTrackBase::BaseItem::bname
inherited

Definition at line 80 of file BPhysVertexTrackBase.h.

◆ isoValue

double DerivationFramework::BVertexTrackIsoTool::IsoItem::isoValue

Definition at line 63 of file BVertexTrackIsoTool.h.

◆ name

std::string DerivationFramework::BPhysVertexTrackBase::BaseItem::name
inherited

Definition at line 79 of file BPhysVertexTrackBase.h.

◆ nTracks

int DerivationFramework::BVertexTrackIsoTool::IsoItem::nTracks

Definition at line 64 of file BVertexTrackIsoTool.h.

◆ prefix

std::string DerivationFramework::BPhysVertexTrackBase::BaseItem::prefix
inherited

Definition at line 81 of file BPhysVertexTrackBase.h.


The documentation for this class was generated from the following files:
DerivationFramework::BPhysVertexTrackBase::BaseItem::prefix
std::string prefix
Definition: BPhysVertexTrackBase.h:81
DerivationFramework::BPhysVertexTrackBase::BaseItem::name
std::string name
Definition: BPhysVertexTrackBase.h:79
hotSpotInTAG.suffix
string suffix
Definition: hotSpotInTAG.py:186
vtune_athena.format
format
Definition: vtune_athena.py:14
DerivationFramework::BPhysVertexTrackBase::BaseItem::BaseItem
BaseItem(const std::string &Name="_none_", const std::string &Bname="iso", const std::string &Prefix="")
Definition: BPhysVertexTrackBase.cxx:176
DerivationFramework::BPhysVertexTrackBase::BaseItem::setup
virtual void setup(const std::string &Name, const std::string &Bname="iso", const std::string &Prefix="")
Definition: BPhysVertexTrackBase.cxx:185
DerivationFramework::BVertexTrackIsoTool::IsoItem::nTracks
int nTracks
Definition: BVertexTrackIsoTool.h:64
DerivationFramework::BPhysVertexTrackBase::BaseItem::buildName
virtual std::string buildName(const std::string &qualifier="", const std::string &suffix="") const
Definition: BPhysVertexTrackBase.cxx:201
hist_file_dump.f
f
Definition: hist_file_dump.py:135
DerivationFramework::BPhysVertexTrackBase::BaseItem::bname
std::string bname
Definition: BPhysVertexTrackBase.h:80
DerivationFramework::BVertexTrackIsoTool::IsoItem::isoValue
double isoValue
Definition: BVertexTrackIsoTool.h:63
item
Definition: ItemListSvc.h:43
DerivationFramework::BVertexTrackIsoTool::IsoItem::copyVals
virtual void copyVals(const BaseItem &item)
Definition: BVertexTrackIsoTool.cxx:83
DerivationFramework::BVertexTrackIsoTool::IsoItem::IsoItem
IsoItem(const std::string &Name="_none_", const std::string &Bname="iso", const std::string &Prefix="", double IsoValue=-1., int NTracks=0)
Definition: BVertexTrackIsoTool.cxx:49
Name
JetDumper::Name Name
Definition: JetDumper.cxx:19