![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
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"
63 , m_trigDec(
"Trig::TrigDecisionTool/TrigDecisionTool")
64 , m_fillHistogramsForL1Triggers{0,1,2,3,4,5,6,7}
65 , m_allowedL1TriggerBits(8,
false)
69 declareInterface<IMonitorToolBase>(
this);
71 declareProperty(
"MBTSCellContainerID", m_MBTSCellContainerID =
"MBTSContainer");
73 declareProperty(
"FillHistogramsForL1Triggers" , m_fillHistogramsForL1Triggers);
150 return StatusCode::SUCCESS;
244 std::ostringstream
ss;
ss.str(
"");
264 if ((lvl1info >>
Trig_b7) & 1) {
295 <<
" in TES. No checking if it is collision possible!" );
297 ATH_MSG_INFO(
"Will not try to read this container anymore!" );
308 for (
const TileCell* mbts_cell : *mbts_container) {
309 if (mbts_cell->energy() < 0.27 || TMath::Abs(mbts_cell->time()) < 1.e-5)
continue;
313 timeA += mbts_cell->time();
316 timeC += mbts_cell->time();
321 if (nHitsA > 1 && nHitsC > 1) {
336 <<
" failed! No checking if it is collision possible!" );
337 ATH_MSG_INFO(
"Will not try to read this container anymore!" );
354 if (!tile_cell)
continue;
360 if (
energy < 500.0 || TMath::Abs(
time) < 1.e-5)
continue;
374 if (nHitsA > 1 && nHitsC > 1) {
399 if (nLabels < 0)
return;
400 for (
unsigned int bin = 1;
bin <= (
unsigned int) nLabels; ++
bin) {
409 if (delta_lb < 1)
return;
410 int Nbins =
histo->GetNbinsX();
411 double total_entries = 0.;
413 for (
i = 1;
i <= Nbins - delta_lb;
i++) {
422 for (;
i <= 100;
i++) {
424 histo->SetBinEntries(
i, 0.);
425 histo->SetBinContent(
i, 0.);
426 histo->SetBinError(
i, 0.);
430 histo->SetEntries(total_entries);
438 template void TileFatherMonTool::SetBinLabel<TAxis>(TAxis*,
const std::vector<std::string>&);
439 template void TileFatherMonTool::SetBinLabel<TAxis>(TAxis*,
const std::string*,
int);
441 template void TileFatherMonTool::SetBinLabel<LWHist::LWHistAxis>(
LWHist::LWHistAxis*,
const std::vector<std::string>&);
442 template void TileFatherMonTool::SetBinLabel<LWHist::LWHistAxis>(
LWHist::LWHistAxis*,
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.
::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