PandaRoot
BSEmcPlotCluster.h
Go to the documentation of this file.
1 #ifndef BSEMCPLOTCLUSTER_HH
2 #define BSEMCPLOTCLUSTER_HH
3 
4 #include "Rtypes.h"
5 #include "RtypesCore.h"
6 #include "TString.h"
7 
8 #include "BSEmcPlotProcess.h"
9 
10 class BSEmcCluster;
11 class TBuffer;
12 class TClass;
13 class TMemberInspector;
14 
24  public:
25  BSEmcPlotCluster() : BSEmcPlotProcess("BSEmcPlotCluster") {}
26  virtual void RequestDataContainer(PndContainerRegister *t_register) /*override*/;
27  virtual void GetDataContainer(PndContainerRegister *t_register) /*override*/;
28  virtual void Process() /*override*/;
29  virtual void InitHistos(const TString &t_folderprefix) /*override*/;
30 
31  private:
32  Int_t GetMaxDigiIndex(const BSEmcCluster *t_cluster) const;
33  Double_t GetMaxTimeDiff(const BSEmcCluster *t_cluster) const;
34 
35  Int_t fEvent{0};
36  ClassDef(BSEmcPlotCluster, 1);
37 };
38 
39 #endif /*BSEMCPLOTCLUSTER_HH*/
Base Processclass for plotting.
virtual void RequestDataContainer(PndContainerRegister *t_register)
Pass the container register to the process, and get the processes container requirements.
Plots some cluster values such as energy, number of digis, etc.
virtual void GetDataContainer(PndContainerRegister *t_register)
Pass the container register to the process, and set the processes container requirements.
a cluster (group of neighboring crystals) of hit emc crystals
Definition: BSEmcCluster.h:54
virtual void Process()
The actual data transformation (digitizing, clustering, etc.) should be defined here.
virtual void InitHistos(const TString &t_folderprefix)