PandaRoot
PndEmcBump.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 // Class PndEmcBump. This call provides a standard interface for
19 // Emc bump classes.
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 // Stephen J. Gowdy Originator
27 // Copyright Information:
28 // Copyright (C) 1997 University of Edinburgh
29 //
30 // Dima Melnychuk, adaption for PANDA
31 //------------------------------------------------------------------------
32 //#pragma once
33 #ifndef PNDEMCBUMP_H
34 #define PNDEMCBUMP_H
35 
36 //----------------------
37 // Base Class Headers --
38 //----------------------
39 #include "PndEmcCluster.h"
40 #include "TObject.h"
41 
46 class PndEmcBump : public PndEmcCluster {
47 
48  public:
49  // Constructors
50  PndEmcBump();
51 
52  // Destructor
53  virtual ~PndEmcBump();
54  // use compiler generated copy constructor
56  // PndEmcBump(const PndEmcBump& copy);
57 
58  // Modifiers
59  virtual void MadeFrom(Int_t clusterIndex);
60  // virtual Int_t NumberOfDigis() const;
61  // virtual Double_t RnumberOfDigis() const;
62  virtual void Print(Int_t iBump) const;
63 
64  Int_t GetClusterIndex() { return fClusterIndex; };
65 
66  Int_t GetEventNo() const { return fEvtNo; }
67  void SetEventNo(Int_t evtNo) { fEvtNo = evtNo; }
68 
69  protected:
70  // Data members
71  Int_t fClusterIndex; // Index of cluster the bump is made in TClonesArray
72  Int_t fEvtNo; // event number of seed digi
73  Double_t fTimeStamp;//three different weighted time
74 
75  ClassDef(PndEmcBump, 2) private : PndEmcBump &operator=(const PndEmcBump &rv);
76 };
77 #endif // PNDEMCBUMP_HH
void SetEventNo(Int_t evtNo)
Definition: PndEmcBump.h:67
virtual void Print(Int_t iBump) const
Int_t fClusterIndex
Definition: PndEmcBump.h:71
Double_t fTimeStamp
Definition: PndEmcBump.h:73
Int_t GetEventNo() const
Definition: PndEmcBump.h:66
Int_t fEvtNo
Definition: PndEmcBump.h:72
virtual void MadeFrom(Int_t clusterIndex)
Int_t GetClusterIndex()
Definition: PndEmcBump.h:64
represents a reconstructed (splitted) emc cluster
Definition: PndEmcBump.h:46
virtual ~PndEmcBump()