ATLAS Offline Software
Functions
TileInfoDump.cxx File Reference
#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 629 of file TileInfoDump.cxx.

629  {
630  //--- auxiliary function for filling of larger cells into histograms in printBadCells
631  float step = 0.1;
632  int nstep = elem->deta() / step;
633  float seta = elem->eta() - 0.5 * (elem->deta() - step);
634  for (int e = 0; e < nstep; e++)
635  hist->Fill(seta + e * step, elem->phi(), 1.);
636 }
CaloDetDescrElement::deta
float deta() const
cell deta
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:356
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
plotmaker.hist
hist
Definition: plotmaker.py:148
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