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 
34 class PndEmcBump : public PndEmcCluster {
35 
36  public:
37  // Constructors
38  PndEmcBump();
39 
40  // Destructor
41  virtual ~PndEmcBump();
42  // use compiler generated copy constructor
44  // PndEmcBump(const PndEmcBump& copy);
45 
46  // Modifiers
47  virtual void MadeFrom(Int_t clusterIndex);
48  // virtual Int_t NumberOfDigis() const;
49  // virtual Double_t RnumberOfDigis() const;
50  virtual void Print(Int_t iBump) const;
51 
52  Int_t GetClusterIndex() { return fClusterIndex; };
53 
54  Int_t GetEventNo() const { return fEvtNo; }
55  void SetEventNo(Int_t evtNo) { fEvtNo = evtNo; }
56 
57  protected:
58  // Data members
59  Int_t fClusterIndex; // Index of cluster the bump is made in TClonesArray
60  Int_t fEvtNo; // event number of seed digi
61  Double_t fTimeStamp;//three different weighted time
62 
63  ClassDef(PndEmcBump, 2) private : PndEmcBump &operator=(const PndEmcBump &rv);
64 };
65 #endif // PNDEMCBUMP_HH
void SetEventNo(Int_t evtNo)
Definition: PndEmcBump.h:55
virtual void Print(Int_t iBump) const
Int_t fClusterIndex
Definition: PndEmcBump.h:59
Double_t fTimeStamp
Definition: PndEmcBump.h:61
Int_t GetEventNo() const
Definition: PndEmcBump.h:54
Int_t fEvtNo
Definition: PndEmcBump.h:60
virtual void MadeFrom(Int_t clusterIndex)
Int_t GetClusterIndex()
Definition: PndEmcBump.h:52
represents a reconstructed (splitted) emc cluster
Definition: PndEmcBump.h:34
virtual ~PndEmcBump()