FEBRateAnalysis.h
Go to the documentation of this file.
1 ///
2 /// \file FEBRateAnalysis.h
3 /// \brief Summarize FEB rates produced by the online monitoring
4 ///
5 
6 // This must be one larger than the number of Diblocks/DCMs for the FD
7 // so that it can be easily accessed as fPixelsDCM[Diblock][DCM] instead
8 // of fPixelsDCM[Diblock - 1][DCM - 1].
9 static const unsigned int PixelsDCM_size = 16;
10 
11 class TH2F;
12 class TFile;
13 class TTree;
14 namespace om { class RateSummaryNt; }
15 namespace daqchannelmap { class HardwareDisplay; }
16 
17 namespace om {
18  ///
19  /// Summarize FEB rates produced by the online monitoring
20  ///
22  {
23  public:
25  void AnaFile(const TFile& f, int run, int subrun);
26  virtual void StoreContent(TH2F*& histPix, TH2F*& histPixHigh, TH2F*& histPixLow,
27  TH2F*& histPixMip, TH2F*& histFEBoff, int run, int subrun, int db, int dcm);
28 
29  private:
30 
31  daqchannelmap::HardwareDisplay* fHardwareMapping; ///< Map pixel address to hardware space
32 
34  TTree* fRatesTree;
35 
36  };
37 }
38 ////////////////////////////////////////////////////////////////////////
RateSummaryNt * fNt
static const unsigned int PixelsDCM_size
daqchannelmap::HardwareDisplay * fHardwareMapping
Map pixel address to hardware space.
Definition: run.py:1
Online Monitoring package header.
enum BeamMode string