ATLAS Offline Software
Public Member Functions | Static Public Attributes | Protected Member Functions | Friends | List of all members
Analysis::TauDetails Class Referenceabstract

#include <TauDetails.h>

Inheritance diagram for Analysis::TauDetails:
Collaboration diagram for Analysis::TauDetails:

Public Member Functions

 TauDetails ()
 Default constructor. More...
 
virtual ~TauDetails ()
 Virtual destructor. More...
 
virtual const std::string & className () const =0
 
std::string toString () const
 Uses printOn to make a string of the TauDetails. More...
 

Static Public Attributes

static const float DEFAULT = -1111.
 
static const int DEFAULT_INT = INT_MIN
 

Protected Member Functions

template<class stream >
void printOn (stream &o) const
 Printing function. More...
 

Friends

std::ostream & operator<< (std::ostream &o, const Analysis::TauDetails &detail)
 Printing operator. More...
 
std::ostream & operator<< (std::ostream &o, const TauDetails *detail)
 Printing operator for pointer. More...
 
MsgStream & operator<< (MsgStream &o, const TauDetails &detail)
 Printing operator. More...
 
MsgStream & operator<< (MsgStream &o, const TauDetails *detail)
 Printing operator. More...
 

Detailed Description

Definition at line 25 of file TauDetails.h.

Constructor & Destructor Documentation

◆ TauDetails()

Analysis::TauDetails::TauDetails ( )

Default constructor.

Definition at line 26 of file TauDetails.cxx.

27  {
28  }

◆ ~TauDetails()

Analysis::TauDetails::~TauDetails ( )
virtual

Virtual destructor.

Definition at line 30 of file TauDetails.cxx.

31  {
32  }

Member Function Documentation

◆ className()

virtual const std::string& Analysis::TauDetails::className ( ) const
pure virtual

◆ hasParameter()

bool Analysis::TauDetails::hasParameter ( TauJetParameters ::Detail  detail) const
virtual

check if parameter exists

Reimplemented in Analysis::TauRecDetails, and Analysis::Tau1P3PDetails.

Definition at line 53 of file TauDetails.cxx.

55  {
56  return false;
57  }

◆ intParameter()

int Analysis::TauDetails::intParameter ( TauJetParameters ::Detail  detail) const
virtual

value of parameter (type int)

Definition at line 47 of file TauDetails.cxx.

49  {
50  return 0;
51  }

◆ parameter()

double Analysis::TauDetails::parameter ( TauJetParameters ::Detail  detail) const
virtual

Reimplemented in Analysis::TauRecDetails, and Analysis::Tau1P3PDetails.

Definition at line 41 of file TauDetails.cxx.

43  {
44  return 0.;
45  }

◆ printOn()

template<class stream >
void Analysis::TauDetails::printOn ( stream &  o) const
protected

Printing function.

Parameters
ostring to print to

Definition at line 96 of file TauDetails.h.

97  {
98  o << "TauDetails;";
99  }

◆ setIntParameter()

void Analysis::TauDetails::setIntParameter ( TauJetParameters ::Detail  detail,
int  param 
)
virtual

set parameter of type int

Definition at line 64 of file TauDetails.cxx.

66  {
67  }

◆ setParameter()

void Analysis::TauDetails::setParameter ( TauJetParameters ::Detail  detail,
double  param 
)
virtual

set parameter of type double

Definition at line 59 of file TauDetails.cxx.

61  {
62  }

◆ toString()

std::string Analysis::TauDetails::toString ( ) const

Uses printOn to make a string of the TauDetails.

Returns
string representation of tau details

Definition at line 34 of file TauDetails.cxx.

35  {
36  std::stringstream s;
37  printOn(s);
38  return s.str();
39  }

Friends And Related Function Documentation

◆ operator<< [1/4]

MsgStream& operator<< ( MsgStream &  o,
const TauDetails detail 
)
friend

Printing operator.

Parameters
ostream to write to
detaildetail to print

Definition at line 113 of file TauDetails.h.

114  {
115  detail.printOn(o);
116  return o;
117  }

◆ operator<< [2/4]

MsgStream& operator<< ( MsgStream &  o,
const TauDetails detail 
)
friend

Printing operator.

Parameters
ostream to write to
detaildetail to print

Definition at line 119 of file TauDetails.h.

120  {
121  detail->printOn(o);
122  return o;
123  }

◆ operator<< [3/4]

std::ostream& operator<< ( std::ostream &  o,
const Analysis::TauDetails detail 
)
friend

Printing operator.

Parameters
ostream to write to
detaildetail to print

Definition at line 101 of file TauDetails.h.

102  {
103  detail.printOn(o);
104  return o;
105  }

◆ operator<< [4/4]

std::ostream& operator<< ( std::ostream &  o,
const TauDetails detail 
)
friend

Printing operator for pointer.

Parameters
ostream to write to
detaildetail to print

Definition at line 107 of file TauDetails.h.

108  {
109  detail->printOn(o);
110  return o;
111  }

Member Data Documentation

◆ DEFAULT

const float Analysis::TauDetails::DEFAULT = -1111.
static

Definition at line 34 of file TauDetails.h.

◆ DEFAULT_INT

const int Analysis::TauDetails::DEFAULT_INT = INT_MIN
static

Definition at line 35 of file TauDetails.h.


The documentation for this class was generated from the following files:
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
detail
Definition: extract_histogram_tag.cxx:14
Analysis::TauDetails::printOn
void printOn(stream &o) const
Printing function.
Definition: TauDetails.h:96