PandaRoot
PndEmcMakeBump.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 //--------------------------------------------------------------------------
14 // File and Version Information:
15 // $Id:$
16 //
17 // Description:
18 // This module takes Clusters (Connected Regions) and slits them
19 // up into Bumps. They are defined by local maxima
20 //
21 // Environment:
22 // Software developed for the BaBar Detector at the SLAC B-Factory.
23 // Adapted for the PANDA experiment at GSI
24 //
25 // Author List:
26 // Xiaorong Shi Lawrence Livermore National Lab
27 // Steve Playfer University of Edinburgh
28 // Stephen Gowdy University of Edinburgh
29 // Phil Strother Imperial College
30 //
31 // Dima Melnychuk, adaption for PANDA
32 // Modified:
33 // M. Babai
34 //------------------------------------------------------------------------
35 #ifndef PNDEMCMAKEBUMP_H
36 #define PNDEMCMAKEBUMP_H
37 
38 #include <PndPersistencyTask.h>
39 
40 class TClonesArray;
41 class TObjectArray;
42 
43 class PndEmcCluster;
44 class PndEmcDigi;
45 class PndEmcSharedDigi;
46 class PndEmcBump;
48 
57 {
58 public:
59  // Constructors
60  PndEmcMakeBump(Int_t verbose=0, Bool_t storebumps=kTRUE);
61  // Destructor
62  virtual ~PndEmcMakeBump( );
63 
64  virtual InitStatus Init();
65  virtual void Exec(Option_t* opt);
66 
67  void SetStorageOfData(Bool_t val);
68 
69 protected:
71  virtual void SetParContainers();
72 
73 private:
75  Int_t fVerbose;
76  Bool_t fPersistance;
77  static Int_t fEventCounter;
78  static Int_t fNrOfEvents;
79 
80  ClassDef(PndEmcMakeBump,2);
81 };
82 #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:46