ATLAS Offline Software
OccupancyMonitor.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
10 #ifndef LArSamples_OccupancyMonitor_H
11 #define LArSamples_OccupancyMonitor_H
12 
14 #include "LArCafJobs/CaloId.h"
15 
16 class TH1I;
17 
18 namespace LArSamples {
19 
21  {
22 
23  public:
24 
26  OccupancyMonitor(const Interface& interface) : MonitorBase(interface) { }
27 
28  TH1I* runOccupancyHistory() const;
29  TH1I* eventOccupancyHistory(unsigned int occForDump = 0) const;
30  TH1I* eventOccupancy() const;
31  TH1I* cellOccupancy(int minForPrintout = -1) const;
32  TH1I* febOccupancy(CaloId calo) const;
33  TH2D* partitionOccupancy(PartitionId part) const;
34  TH2D* etaPhiOccupancy(CaloId calo, short layer, bool useEnergy = false) const;
35 
36  void cellAndRingOccupancy(CaloId calo, unsigned int nMin = 20) const;
37 
38  void dump(short verbosity = 2) const;
39  };
40 }
41 
42 #endif
LArG4FSStartPointFilter.part
part
Definition: LArG4FSStartPointFilter.py:21
CaloId.h
LArSamples::OccupancyMonitor::OccupancyMonitor
OccupancyMonitor(const Interface &interface)
Constructor
Definition: OccupancyMonitor.h:26
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
LArSamples
Definition: AbsShape.h:24
MonitorBase.h
run_Egamma1_LArStrip_Fex.dump
dump
Definition: run_Egamma1_LArStrip_Fex.py:88
LArSamples::OccupancyMonitor
storage of the time histories of all the cells
Definition: OccupancyMonitor.h:21
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
LArSamples::PartitionId
PartitionId
Definition: CaloId.h:29
covarianceTool.verbosity
verbosity
Definition: covarianceTool.py:513
LArSamples::CaloId
CaloId
Definition: CaloId.h:21
LArSamples::MonitorBase
Definition: LArCalorimeter/LArSamplesMon/LArSamplesMon/MonitorBase.h:30
LArSamples::Interface
Definition: Interface.h:36