PandaRoot
PndEmcMakeBump.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // File and Version Information:
3 // $Id:$
4 //
5 // Description:
6 // This module takes Clusters (Connected Regions) and slits them
7 // up into Bumps. They are defined by local maxima
8 //
9 // Environment:
10 // Software developed for the BaBar Detector at the SLAC B-Factory.
11 // Adapted for the PANDA experiment at GSI
12 //
13 // Author List:
14 // Xiaorong Shi Lawrence Livermore National Lab
15 // Steve Playfer University of Edinburgh
16 // Stephen Gowdy University of Edinburgh
17 // Phil Strother Imperial College
18 //
19 // Dima Melnychuk, adaption for PANDA
20 // Modified:
21 // M. Babai
22 //------------------------------------------------------------------------
23 #ifndef PNDEMCMAKEBUMP_H
24 #define PNDEMCMAKEBUMP_H
25 
26 #include <PndPersistencyTask.h>
27 
28 class TClonesArray;
29 class TObjectArray;
30 
31 class PndEmcCluster;
32 class PndEmcDigi;
33 class PndEmcSharedDigi;
34 class PndEmcBump;
36 
45 {
46 public:
47  // Constructors
48  PndEmcMakeBump(Int_t verbose=0, Bool_t storebumps=kTRUE);
49  // Destructor
50  virtual ~PndEmcMakeBump( );
51 
52  virtual InitStatus Init();
53  virtual void Exec(Option_t* opt);
54 
55  void SetStorageOfData(Bool_t val);
56 
57 protected:
59  virtual void SetParContainers();
60 
61 private:
63  Int_t fVerbose;
64  Bool_t fPersistance;
65  static Int_t fEventCounter;
66  static Int_t fNrOfEvents;
67 
68  ClassDef(PndEmcMakeBump,2);
69 };
70 #endif //PNDEMCMAKEBUMP_HH
virtual void SetParContainers()
virtual void Exec(Option_t *opt)
stores crystal index coordinates (x,y) or (theta,phi)
virtual ~PndEmcMakeBump()
used to share PndEmcDigis between bumps
void SetStorageOfData(Bool_t val)
Method to specify whether bumps are stored or not.
Takes clusters and slits them up into bumps.
virtual InitStatus Init()
PndEmcMakeBump(Int_t verbose=0, Bool_t storebumps=kTRUE)
represents a reconstructed (splitted) emc cluster
Definition: PndEmcBump.h:34