ATLAS Offline Software
Loading...
Searching...
No Matches
Domain Struct Reference
Collaboration diagram for Domain:

Public Member Functions

std::string str (const bool abs_eta=false) const

Public Attributes

float etamin {}
float etamax {}
float ptmin {}
float ptmax {}

Detailed Description

Definition at line 26 of file dumpNPs.cxx.

Member Function Documentation

◆ str()

std::string Domain::str ( const bool abs_eta = false) const

Definition at line 498 of file dumpNPs.cxx.

499{
500 std::stringstream s;
501 const char* eta{abs_eta? "|eta|" : "eta"};
502 s << etamin << " < " << eta << " < " << etamax << ", ";
503 if (ptmax != pt_edges.back()) {
504 s << 1e-3f * ptmin << " < pt < "
505 << 1e-3f * ptmax << " GeV";
506 } else {
507 s << "pt > " << 1e-3f * ptmin << " GeV";
508 }
509 return s.str();
510}
Scalar eta() const
pseudorapidity method
std::vector< float > pt_edges
Definition dumpNPs.cxx:76
float ptmax
Definition dumpNPs.cxx:28
float etamin
Definition dumpNPs.cxx:28
float ptmin
Definition dumpNPs.cxx:28
float etamax
Definition dumpNPs.cxx:28

Member Data Documentation

◆ etamax

float Domain::etamax {}

Definition at line 28 of file dumpNPs.cxx.

28{}, etamax{}, ptmin{}, ptmax{};

◆ etamin

float Domain::etamin {}

Definition at line 28 of file dumpNPs.cxx.

28{}, etamax{}, ptmin{}, ptmax{};

◆ ptmax

float Domain::ptmax {}

Definition at line 28 of file dumpNPs.cxx.

28{}, etamax{}, ptmin{}, ptmax{};

◆ ptmin

float Domain::ptmin {}

Definition at line 28 of file dumpNPs.cxx.

28{}, etamax{}, ptmin{}, ptmax{};

The documentation for this struct was generated from the following file: