|
ATLAS Offline Software
|
Go to the documentation of this file.
42 #include "TGraphErrors.h"
43 #include "TGraphAsymmErrors.h"
44 #include "TMultiGraph.h"
46 #include "TProfile2D.h"
48 #include "TDirectory.h"
61 , m_trigDec(
"Trig::TrigDecisionTool/TrigDecisionTool")
62 , m_fillHistogramsForL1Triggers{0,1,2,3,4,5,6,7}
63 , m_allowedL1TriggerBits(8,
false)
67 declareInterface<IMonitorToolBase>(
this);
69 declareProperty(
"MBTSCellContainerID", m_MBTSCellContainerID =
"MBTSContainer");
70 declareProperty(
"CellsContainerID" , m_cellsContainerID =
"AllCalo");
71 declareProperty(
"FillHistogramsForL1Triggers" , m_fillHistogramsForL1Triggers);
148 return StatusCode::SUCCESS;
242 std::ostringstream
ss;
ss.str(
"");
262 if ((lvl1info >>
Trig_b7) & 1) {
293 <<
" in TES. No checking if it is collision possible!" );
295 ATH_MSG_INFO(
"Will not try to read this container anymore!" );
306 for (
const TileCell* mbts_cell : *mbts_container) {
307 if (mbts_cell->energy() < 0.27 || TMath::Abs(mbts_cell->time()) < 1.e-5)
continue;
311 timeA += mbts_cell->time();
314 timeC += mbts_cell->time();
319 if (nHitsA > 1 && nHitsC > 1) {
334 <<
" failed! No checking if it is collision possible!" );
335 ATH_MSG_INFO(
"Will not try to read this container anymore!" );
352 if (!tile_cell)
continue;
358 if (
energy < 500.0 || TMath::Abs(
time) < 1.e-5)
continue;
372 if (nHitsA > 1 && nHitsC > 1) {
397 if (nLabels < 0)
return;
398 for (
unsigned int bin = 1;
bin <= (
unsigned int) nLabels; ++
bin) {
407 if (delta_lb < 1)
return;
408 int Nbins =
histo->GetNbinsX();
409 double total_entries = 0.;
411 for (
i = 1;
i <= Nbins - delta_lb;
i++) {
420 for (;
i <= 100;
i++) {
422 histo->SetBinEntries(
i, 0.);
423 histo->SetBinContent(
i, 0.);
424 histo->SetBinError(
i, 0.);
428 histo->SetEntries(total_entries);
436 template void TileFatherMonTool::SetBinLabel<TAxis>(TAxis*,
const std::vector<std::string>&);
437 template void TileFatherMonTool::SetBinLabel<TAxis>(TAxis*,
const std::string*,
int);
def retrieve(aClass, aKey=None)
uint64_t eventNumber() const
The current event's event number.
int side(const Identifier &id) const
int sample(const Identifier &id) const
float time() const
get time (data member)
uint32_t runNumber() const
The current event's run number.
double energy() const
get energy (data member)
@ Error
The sub-detector issued an error.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
def TProfile(*args, **kwargs)
::StatusCode StatusCode
StatusCode definition for legacy code.
std::string m_path
the path being used
#define CHECK(...)
Evaluate an expression and check for errors.
bool is_tile(Identifier id) const
uint32_t lumiBlock() const
The current event's luminosity block number.
Container class for CaloCell.
Class describing the basic event information.
uint32_t eventFlags(EventFlagSubDet subDet) const
Get the event flags for a particular sub-detector.
@ Tile
The Tile calorimeter.
Data object for each calorimeter readout cell.
def time(flags, cells_name, *args, **kw)
uint16_t level1TriggerType() const
The Level-1 trigger type.
EventFlagErrorState errorState(EventFlagSubDet subDet) const
Get the error state for a particular sub-detector.
int section(const Identifier &id) const
uint32_t bcid() const
The bunch crossing ID of the event.
int side(const Identifier &id) const
define synonyms for minimum bias scintillators