PandaRoot
BSEmcPlotMultiHitCluster.h
Go to the documentation of this file.
1 #ifndef BSEMCPLOTMULTIHITCLUSTER_HH
2 #define BSEMCPLOTMULTIHITCLUSTER_HH
3 
4 #include <vector>
5 
6 #include "Rtypes.h"
7 #include "RtypesCore.h"
8 #include "TString.h"
9 
10 #include "BSEmcPlotProcess.h"
11 
12 class BSEmc2DMapper;
13 class BSEmcCluster;
14 class BSEmcRecoHit;
15 class TBuffer;
16 class TClass;
17 class TMemberInspector;
18 
28  public:
29  BSEmcPlotMultiHitCluster(BSEmc2DMapper *t_mapper = nullptr);
30  virtual ~BSEmcPlotMultiHitCluster();
31  virtual void RequestDataContainer(PndContainerRegister *t_register) /*override*/;
32  virtual void GetDataContainer(PndContainerRegister *t_register) /*override*/;
33  virtual void Process() /*override*/;
34  virtual void InitHistos(const TString &t_folderprefix) /*override*/;
35 
36  void SetMapper(BSEmc2DMapper *t_mapper) { fMapper = t_mapper; }
37 
38  private:
39  void Create2DHistOfClusterDigis(const BSEmcCluster *t_cluster);
40  std::vector<const BSEmcRecoHit *> GetRecoHitsInCluster(Int_t t_clusterindex);
41  void FillMaxNeighbourEnergyOverCentralEnergy(Int_t t_clusterindex);
42 
43  BSEmc2DMapper *fMapper{nullptr};
44  Int_t fEvent{0};
45  ClassDef(BSEmcPlotMultiHitCluster, 1);
46 };
47 
48 #endif /*BSEMCPLOTMULTIHITCLUSTER_HH*/
Resembles/Contains all information a particle hitting the EMC can provide for later use in the PID st...
Definition: BSEmcRecoHit.h:31
Base Processclass for plotting.
virtual void GetDataContainer(PndContainerRegister *t_register)
Pass the container register to the process, and set the processes container requirements.
virtual void InitHistos(const TString &t_folderprefix)
Plots events where a cluster contains several maxima.
virtual ~BSEmcPlotMultiHitCluster()
a cluster (group of neighboring crystals) of hit emc crystals
Definition: BSEmcCluster.h:54
virtual void RequestDataContainer(PndContainerRegister *t_register)
Pass the container register to the process, and get the processes container requirements.
virtual void Process()
The actual data transformation (digitizing, clustering, etc.) should be defined here.
Interface class to map DetectorIDs (crystal Ids) to x-y-indices.
Definition: BSEmc2DMapper.h:16
void SetMapper(BSEmc2DMapper *t_mapper)
BSEmcPlotMultiHitCluster(BSEmc2DMapper *t_mapper=nullptr)