AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEMCALTriggerOnlineQAPP.h
Go to the documentation of this file.
1 
9 #ifndef ALIEMCALTRIGGERONLINEQAPP_H
10 #define ALIEMCALTRIGGERONLINEQAPP_H
11 
12 /**************************************************************************
13 * Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
14 * *
15 * Author: The ALICE Off-line Project. *
16 * Contributors are mentioned in the code where appropriate. *
17 * *
18 * Permission to use, copy, modify and distribute this software and its *
19 * documentation strictly for non-commercial purposes is hereby granted *
20 * without fee, provided that the above copyright notice appears in all *
21 * copies and that both the copyright notice and this permission notice *
22 * appear in the supporting documentation. The authors make no claims *
23 * about the suitability of this software for any purpose. It is *
24 * provided "as is" without express or implied warranty. *
25 **************************************************************************/
26 
27 // C++
28 #include <iostream>
29 
30 // Root
31 #include <TList.h>
32 
33 // AliRoot
34 #include "AliEMCALTriggerQA.h"
35 
37 class TObjArray;
38 class THashList;
40 class AliEMCALGeometry;
41 class AliVCaloCells;
42 class TH1;
43 class TH2;
44 
46 public:
47 
49  AliEMCALTriggerOnlineQAPP(const char* name);
52 
53  void SetL0TimeRange(Int_t min, Int_t max) { fL0MinTime = min; fL0MaxTime = max; }
54  void SetFastORandCellThresholds(Int_t l0, Int_t l1, Double_t cell) { fMinL0FastORAmp = l0; fMinL1FastORAmp = l1; fMinCellAmp = cell; }
55 
56  // Overloaded methods of AliEMCALTriggerQA
57  void Init();
58  void ProcessPatch(const AliEMCALTriggerPatchInfo* patch);
59  void ProcessFastor(const AliEMCALTriggerFastOR* fastor, AliVCaloCells* cells = 0);
60  void EventCompleted();
61  TCollection* GetListOfHistograms() { return &fHistograms; }
62 
63 protected:
64  Int_t fL0MinTime;
65  Int_t fL0MaxTime;
66  Double_t fMinCellAmp;
69 
72  TList fHistograms;
73 
74  // General histograms
75  TH1 *fHistEvents;
76 
77  // TRU histograms
82 
83  // STU histograms
87 
88  // Trigger patch histograms
91 
92 private:
94 
96  ClassDef(AliEMCALTriggerOnlineQAPP, 1);
98 };
99 
100 #endif
Class to generate EMCal trigger QA plots in pp collisions.
TH2 * fHistFastORL0Time
! Time spectra of each FastOR L0 channel
void Init()
Initialize the class, i.e. allocate histograms.
#define TObjArray
virtual ~AliEMCALTriggerOnlineQAPP()
Destructor.
AliEMCALTriggerPatchInfo * fMaxPatchEMCal[fgkNTriggerTypes][fgkNPatchTypes]
! EMCal max patch (will be reset each event)
TH1 * fHistFastORL0LargeAmp
! Counter of FastOR L0 signal above some large amplitude
void ProcessFastor(const AliEMCALTriggerFastOR *fastor, AliVCaloCells *cells=0)
TH1 * fHistFastORL0
! Counter of FastOR L0 signal above zero
Int_t fL0MaxTime
Maximum L0 time.
AliEMCALTriggerOnlineQAPP()
Dummy constructor for ROOT I/O.
TH1 * fHistEvents
! Total number of events
void ProcessPatch(const AliEMCALTriggerPatchInfo *patch)
Double_t fMinCellAmp
Minimum offline amplitude of the cells.
Int_t fL0MinTime
Minimum L0 time.
Int_t fMinL0FastORAmp
Minimum L0 amplitude of the FastORs.
AliEMCALTriggerOnlineQAPP & operator=(const AliEMCALTriggerOnlineQAPP &)
TH2 * fHistFastORL0Amp
! Integrated amplitude of each FastOR L0 channel
TH1 * fHistFastORL1
! Counter of FastOR L1 signal above zero
TH2 * fHistFastORL1Amp
! Integrated amplitude of each FastOR L1 channel
Main data structure storing all relevant information of EMCAL/DCAL trigger patches.
Class to generate EMCal trigger QA plots.
static const Int_t fgkNPatchTypes
TH1 * fHistFastORL1LargeAmp
! Counter of FastOR L1 signal above some large amplitude
void SetL0TimeRange(Int_t min, Int_t max)
void SetFastORandCellThresholds(Int_t l0, Int_t l1, Double_t cell)
static const Int_t fgkNTriggerTypes
TH2 * fHistMaxEdgePos[fgkNTriggerTypes][fgkNPatchTypes]
! Position of the maximum patch
AliEMCALTriggerPatchInfo * fMaxPatchDCal[fgkNTriggerTypes][fgkNPatchTypes]
! DCal max patch (will be reset each event)
TH2 * fHistAmpEdgePos[fgkNTriggerTypes][fgkNPatchTypes]
! Integrated amplitude of all patches (edge position)
Int_t fMinL1FastORAmp
Minimum L1 amplitude of the FastORs.
TList fHistograms
! List of histograms