StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEmcVirtualFinder.h
1 
12 #ifndef STAR_StEmcVirtualFinder
13 #define STAR_StEmcVirtualFinder
14 
15 #include "TObject.h"
16 #include "TList.h"
17 #include "StEmcPreClusterCollection.h"
18 #include "StEmcUtil/others/emcInternalDef.h"
19 #include "StEmcRawMaker/defines.h"
20 #include "TH2.h"
21 #include "StMessMgr.h"
22 
23 #define NHIST1 5
24 #define NHIST2 1
25 
26 class StEvent;
27 
28 class StEmcVirtualFinder : public TObject
29 {
30 private:
31 
32 protected:
33  StEmcPreClusterCollection* mColl[MAXDETBARREL];
34  TH1F* mHist1D[NHIST1][MAXDETBARREL];
35  TH2F* mHist2D[NHIST2][MAXDETBARREL];
36  Bool_t mPrint;
37 
38 public:
40  virtual ~StEmcVirtualFinder();
41 
42  virtual Bool_t findClusters(StEvent*);
43  virtual Bool_t fillStEvent(StEvent*);
44  virtual Bool_t fillHistograms(StEvent*);
45  virtual Bool_t clear(StEvent*);
46  virtual Bool_t clear();
47  void setPrint(Bool_t a)
48  {
49  LOG_INFO << "::setPrint() is obsolete. Use logger config file to set verbosity instead." << endm;
50  }
51 
52  ClassDef(StEmcVirtualFinder,1)
53 };
54 
55 #endif
void setPrint(Bool_t a)
Obsolete function; users can control messages with logger config file.
virtual Bool_t clear()
clear the pre cluster collections
virtual Bool_t fillStEvent(StEvent *)
fills the StEvent object with the StEmcPreCluster objects in the collections
virtual Bool_t fillHistograms(StEvent *)
fills the QA histograms
virtual Bool_t findClusters(StEvent *)
finds clusters in a StEvent object