FairRoot/PandaRoot
PndEmcBump.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // File and Version Information:
3 // $Id:$
4 //
5 // Description:
6 // Class PndEmcBump. This call provides a standard interface for
7 // Emc bump classes.
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 // Stephen J. Gowdy Originator
15 // Copyright Information:
16 // Copyright (C) 1997 University of Edinburgh
17 //
18 // Dima Melnychuk, adaption for PANDA
19 //------------------------------------------------------------------------
20 //#pragma once
21 #ifndef PNDEMCBUMP_H
22 #define PNDEMCBUMP_H
23 
24 //----------------------
25 // Base Class Headers --
26 //----------------------
27 #include "PndEmcCluster.h"
28 #include "TObject.h"
29 
35 {
36 
37 public:
38 
39  // Constructors
40  PndEmcBump();
41 
42  // Destructor
43  virtual ~PndEmcBump();
44  //use compiler generated copy constructor
46  //PndEmcBump(const PndEmcBump& copy);
47 
48  // Modifiers
49  virtual void MadeFrom( Int_t clusterIndex );
50 // virtual Int_t NumberOfDigis() const;
51 // virtual Double_t RnumberOfDigis() const;
52  virtual void Print(Int_t iBump) const;
53 
54  Int_t GetClusterIndex() { return fClusterIndex; };
55 
56  Int_t GetEventNo() const { return fEvtNo; }
57  void SetEventNo(Int_t evtNo) { fEvtNo = evtNo; }
58 
59 protected:
60  // Data members
61  Int_t fClusterIndex; // Index of cluster the bump is made in TClonesArray
62  Int_t fEvtNo;//event number of seed digi
63 
64  ClassDef(PndEmcBump,2)
65 private:
66  PndEmcBump& operator=(const PndEmcBump& rv);
67 };
68 #endif // PNDEMCBUMP_HH
virtual void MadeFrom(Int_t clusterIndex)
Definition: PndEmcBump.cxx:76
virtual void Print(Int_t iBump) const
Definition: PndEmcBump.cxx:67
void SetEventNo(Int_t evtNo)
Definition: PndEmcBump.h:57
Int_t fClusterIndex
Definition: PndEmcBump.h:61
Int_t GetEventNo() const
Definition: PndEmcBump.h:56
Int_t fEvtNo
Definition: PndEmcBump.h:62
a cluster (group of neighboring crystals) of hit emc crystals
Definition: PndEmcCluster.h:29
Int_t GetClusterIndex()
Definition: PndEmcBump.h:54
represents a reconstructed (splitted) emc cluster
Definition: PndEmcBump.h:34
virtual ~PndEmcBump()
Definition: PndEmcBump.cxx:62
#define private