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 Process() /*override*/;
32  virtual void InitHistos(const TString &t_folderprefix) /*override*/;
33 
34  void SetMapper(BSEmc2DMapper *t_mapper) { fMapper = t_mapper; }
35 
36  private:
37  void Create2DHistOfClusterDigis(const BSEmcCluster *t_cluster);
38  std::vector<const BSEmcRecoHit *> GetRecoHitsInCluster(Int_t t_clusterindex);
39  void FillMaxNeighbourEnergyOverCentralEnergy(Int_t t_clusterindex);
40 
41  BSEmc2DMapper *fMapper{nullptr};
42  Int_t fEvent{0};
43  ClassDef(BSEmcPlotMultiHitCluster, 1);
44 };
45 
46 #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 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 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)