ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
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 }

Member Data Documentation

◆ etamax

float Domain::etamax {}

Definition at line 28 of file dumpNPs.cxx.

◆ etamin

float Domain::etamin {}

Definition at line 28 of file dumpNPs.cxx.

◆ ptmax

float Domain::ptmax {}

Definition at line 28 of file dumpNPs.cxx.

◆ ptmin

float Domain::ptmin {}

Definition at line 28 of file dumpNPs.cxx.


The documentation for this struct was generated from the following file:
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
Domain::etamin
float etamin
Definition: dumpNPs.cxx:28
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
Domain::etamax
float etamax
Definition: dumpNPs.cxx:28
Domain::ptmax
float ptmax
Definition: dumpNPs.cxx:28
Domain::ptmin
float ptmin
Definition: dumpNPs.cxx:28
hist_file_dump.f
f
Definition: hist_file_dump.py:135
pt_edges
std::vector< float > pt_edges
Definition: dumpNPs.cxx:76