PandaRoot
BSEmcFetchDigisFromPreclusterLinks.h
Go to the documentation of this file.
1 #ifndef BSEMCFETCHDIGISFROMPRECLUSTERLINKS_HH
2 #define BSEMCFETCHDIGISFROMPRECLUSTERLINKS_HH
3 
4 #include <memory>
5 #include <string>
6 
7 #include "Rtypes.h"
8 #include "TString.h"
9 
10 #include "PndContainerI.h"
11 #include "PndParameterRegister.h"
12 #include "PndProcess.h"
13 
14 #include "BSEmcClusteringData.h"
15 #include "BSEmcDataBranchNames.h"
16 #include "BSEmcDigi.h"
17 #include "BSEmcPrecluster.h"
18 
19 class BSEmcDigi;
20 class BSEmcPrecluster;
22 class TBuffer;
23 class TClass;
24 class TMemberInspector;
25 struct BSEmcClusteringData;
26 template <class T>
28 
38 class BSEmcFetchDigisFromPreclusterLinks : public PndProcess<BSEmcClusteringData> {
39  public:
40  BSEmcFetchDigisFromPreclusterLinks(const TString &t_sourcedigibranchname = "Preclustering" + BSEmcDataBranchNames::fgDigiBranchName + "FwEndcap");
42 
43  virtual void SetDetectorName(const std::string &t_detectorName) /*override*/;
44  virtual void SetData(BSEmcClusteringData *t_data) /*override*/;
45  virtual void SetupParameters(const PndParameterRegister *t_parameterRegister) /*override*/;
46  virtual void Process() /*override*/;
47  void SetDigiSourceBranchName(const TString &t_branchname) { fDigiSourceBranchname = t_branchname; }
48 
49  private:
50  PndOutputContainerI<BSEmcDigi> *fDigis{nullptr};
51  PndOutputContainerI<BSEmcPrecluster> *fPrecluster{nullptr};
52  TString fDigiSourceBranchname{""};
53 
55 };
56 
57 #endif /*BSEMCFETCHDIGISFROMPRECLUSTERLINKS_HH*/
Base Process class.
Definition: PndProcess.h:24
represents an emc precluster, formed in the (virtual) data concentrators
Container of addresses for data Container used by BSEmcClusteringTask and passed to Clustering Proces...
represents the reconstructed hit of one emc crystal
Definition: BSEmcDigi.h:47
Interface to a datacontainer to be used in PandaROOT.
Helper class to indirect the Parameter fetching via the FairRuntimeDb.
const std::string fgDigiBranchName