ATLAS Offline Software
Functions
TileInfoDump.cxx File Reference
#include "GaudiKernel/ITHistSvc.h"
#include "xAODEventInfo/EventInfo.h"
#include "Identifier/IdentifierHash.h"
#include "AthenaKernel/errorcheck.h"
#include "StoreGate/ReadHandle.h"
#include "CaloIdentifier/TileID.h"
#include "CaloDetDescr/CaloDetDescrElement.h"
#include "TileInfoDump.h"
#include "TileIdentifier/TileHWID.h"
#include "TileIdentifier/TileTrigType.h"
#include "TileIdentifier/TileFragHash.h"
#include "TileCalibBlobObjs/TileCalibUtils.h"
#include "TileConditions/TileCablingService.h"
#include "TileConditions/TileInfo.h"
#include "TH2.h"
#include <iomanip>
#include <sstream>
#include <fstream>

Go to the source code of this file.

Functions

void FillCell (TH2F *hist, const CaloDetDescrElement *elem)
 

Function Documentation

◆ FillCell()

void FillCell ( TH2F hist,
const CaloDetDescrElement elem 
)

Definition at line 632 of file TileInfoDump.cxx.

632  {
633  //--- auxiliary function for filling of larger cells into histograms in printBadCells
634  float step = 0.1;
635  int nstep = elem->deta() / step;
636  float seta = elem->eta() - 0.5 * (elem->deta() - step);
637  for (int e = 0; e < nstep; e++)
638  hist->Fill(seta + e * step, elem->phi(), 1.);
639 }
CaloDetDescrElement::deta
float deta() const
cell deta
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:356
plotmaker.hist
hist
Definition: plotmaker.py:148
DiTauMassTools::MaxHistStrategyV2::e
e
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:26
LArCellBinning.step
step
Definition: LArCellBinning.py:158
CaloDetDescrElement::eta
float eta() const
cell eta
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:344
CaloDetDescrElement::phi
float phi() const
cell phi
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:346