ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
DerivationFramework::BPhysVertexTrackBase::BaseItem Class Referenceabstract

#include <BPhysVertexTrackBase.h>

Inheritance diagram for DerivationFramework::BPhysVertexTrackBase::BaseItem:
Collaboration diagram for DerivationFramework::BPhysVertexTrackBase::BaseItem:

Public Member Functions

 BaseItem (const std::string &Name="_none_", const std::string &Bname="iso", const std::string &Prefix="")
 
virtual ~BaseItem ()
 
virtual void setup (const std::string &Name, const std::string &Bname="iso", const std::string &Prefix="")
 
virtual void setPrefix (std::string Prefix)
 
virtual void resetVals ()
 
virtual void copyVals (const BaseItem &item)=0
 
virtual std::string buildName (const std::string &qualifier="", const std::string &suffix="") const
 
virtual std::string toString () const
 

Public Attributes

std::string name
 
std::string bname
 
std::string prefix
 

Detailed Description

Definition at line 60 of file BPhysVertexTrackBase.h.

Constructor & Destructor Documentation

◆ BaseItem()

DerivationFramework::BPhysVertexTrackBase::BaseItem::BaseItem ( const std::string &  Name = "_none_",
const std::string &  Bname = "iso",
const std::string &  Prefix = "" 
)

Definition at line 176 of file BPhysVertexTrackBase.cxx.

178  :
179  name(std::move(Name)), bname(std::move(Bname)), prefix(std::move(Prefix)) {
180  }

◆ ~BaseItem()

DerivationFramework::BPhysVertexTrackBase::BaseItem::~BaseItem ( )
virtual

Definition at line 182 of file BPhysVertexTrackBase.cxx.

182  {
183  }

Member Function Documentation

◆ buildName()

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

Definition at line 201 of file BPhysVertexTrackBase.cxx.

202  {
203  boost::format f("%s%s%s%s%s");
204  f % (prefix.length() > 0 ? prefix+"_" : "")
205  % (bname.length() > 0 ? bname+"_" : "")
206  % (qualifier.length() > 0 ? qualifier+"_" : "")
207  % name
208  % suffix;
209  return f.str();
210  }

◆ copyVals()

virtual void DerivationFramework::BPhysVertexTrackBase::BaseItem::copyVals ( const BaseItem item)
pure virtual

◆ resetVals()

void DerivationFramework::BPhysVertexTrackBase::BaseItem::resetVals ( )
virtual

Reimplemented in DerivationFramework::BMuonTrackIsoTool::MuIsoItem.

Definition at line 197 of file BPhysVertexTrackBase.cxx.

197  {
198  // needs to be implemented by derived class
199  }

◆ setPrefix()

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

Definition at line 193 of file BPhysVertexTrackBase.cxx.

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

◆ setup()

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

Definition at line 185 of file BPhysVertexTrackBase.cxx.

187  {
188  name = std::move(Name);
189  bname = std::move(Bname);
190  prefix = std::move(Prefix);
191  }

◆ toString()

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

Definition at line 212 of file BPhysVertexTrackBase.cxx.

212  {
213  boost::format f("nm: %s\nbn: %s");
214  f % name % bname;
215  return f.str();
216  }

Member Data Documentation

◆ bname

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

Definition at line 80 of file BPhysVertexTrackBase.h.

◆ name

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

Definition at line 79 of file BPhysVertexTrackBase.h.

◆ prefix

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

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
python.CaloRecoConfig.f
f
Definition: CaloRecoConfig.py:127
hotSpotInTAG.suffix
string suffix
Definition: hotSpotInTAG.py:186
vtune_athena.format
format
Definition: vtune_athena.py:14
DerivationFramework::BPhysVertexTrackBase::BaseItem::bname
std::string bname
Definition: BPhysVertexTrackBase.h:80
Name
JetDumper::Name Name
Definition: JetDumper.cxx:19