ATLAS Offline Software
Loading...
Searching...
No Matches
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}