|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   14 const std::vector<std::string> 
HIEventShapeSummaryTool::s_SubCaloNames {
"EMBarrel", 
"EMEC", 
"HEC", 
"TileBarrel", 
"TileGap", 
"TileExt", 
"FCal", 
"EMCal", 
"Tile",
"HCal", 
"PreSampler",
"ALL"};
 
   48     SummaryAcc(*es)=itr.second.name;
 
   50   return StatusCode::SUCCESS;
 
   72       ATH_MSG_WARNING(
"Sampling with name " << 
s << 
" not defined in standard list, skipping.");
 
  102       ATH_MSG_WARNING(
"Subcalo with name " << 
s << 
" not defined in standard list, skipping." );
 
  122   return StatusCode::SUCCESS;
 
  129   for(
const auto i : samps)
 
  132     if(min_c < 
min) 
min=min_c;
 
  140   for(
const auto i : samps)
 
  143     if(max_c > 
max) 
max=max_c;
 
  151   for(
const auto i : samps) outlayer |= 0x1 << 
i;
 
  157   std::stringstream 
ss;
 
  158   ss << 
"========= Dumping HIEventShapeSummaryTool ========" << std::endl;
 
  159   ss << std::setw(15) << 
"Name" 
  160      << std::setw(15) << 
"eta min" 
  161      << std::setw(15) << 
"eta max" 
  162      << std::setw(15) << 
"layer" 
  166     ss << std::setw(15) << itr.second.name
 
  167        << std::setw(15) << itr.second.eta_min
 
  168        << std::setw(15) << itr.second.eta_max
 
  169        << std::setw(15) << itr.second.layer
 
  177   return std::floor(
v*10.)/10.;
 
  
constexpr std::initializer_list< int > TileExt
constexpr std::initializer_list< int > FCal
constexpr std::initializer_list< int > EMBarrel
Helper class to provide type-safe access to aux data.
float getRangeMax(int layer) const
void setEtaMin(float value)
set eta slice "left" edge
float getRangeMin(int layer) const
static const HICaloRange & getRange()
HIEventShape_v2 HIEventShape
Definition of the latest event info version.
constexpr std::initializer_list< int > HEC
Interface class for the HI reconstruction EDM.
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
constexpr std::initializer_list< int > ALL
void fillSummary(const xAOD::HIEventShapeContainer *in, xAOD::HIEventShape *out, const std::function< bool(const xAOD::HIEventShape *)> &incFunction, const std::function< void(xAOD::HIEventShape *, const xAOD::HIEventShape *)> &addFunction)
static constexpr unsigned int getNumberOfSamplings()
Get number of available samplings.
constexpr std::initializer_list< int > PreSampler
constexpr std::initializer_list< int > TileBarrel
constexpr std::initializer_list< int > EMCal
#define ATH_MSG_WARNING(x)
void setEtaMax(float value)
set eta slice "right" edge
static std::string getSamplingName(CaloSample theSample)
Returns a string (name) for each CaloSampling.
constexpr std::initializer_list< int > TileGap
Helper class to provide constant type-safe access to aux data.
constexpr std::initializer_list< int > HCal
void setLayer(int value)
set layer information
constexpr std::initializer_list< int > EMEC
constexpr std::initializer_list< int > Tile