PandaRoot
PndEmcClusterEnergySums.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // File and Version Information:
3 //
4 // Description:
5 // Class PndEmcClusterEnergySums.
6 //
7 // Environment:
8 // Software developed for the BaBar Detector at the SLAC B-Factory.
9 //
10 // Author List:
11 // Stephen J. Gowdy Originator
12 // Phil Strother
13 // Helmut Marsiske
14 //
15 // Copyright Information:
16 // Copyright (C) 1998 University of Edinburgh
17 //
18 // Dima Melnichuk, adaption for pandaroot
19 //------------------------------------------------------------------------
20 //#pragma once
21 #ifndef PNDEMCCLUSTERENERGYSUMS_H
22 #define PNDEMCCLUSTERENERGYSUMS_H
23 
25 #include <iostream>
26 #include "TObject.h"
27 
28 class TVector3;
29 
30 // ---------------------
31 // -- Class Interface --
32 // ---------------------
33 
35 
36  public:
37  // Constructors
38  PndEmcClusterEnergySums(const PndEmcCluster &cluster, const TClonesArray *digiArray);
40 
41  // Destructor
42  virtual ~PndEmcClusterEnergySums();
43 
44  // Partial Energy of Cluster
45  virtual Double_t energy(Int_t numberOfDigis) const;
46  virtual Double_t energy(Double_t distance) const;
47  virtual Double_t E1() const;
48  virtual Double_t E9() const;
49  virtual Double_t E25() const;
50 
51  // Energy ratios of Cluster
52  virtual Double_t E1E9() const;
53  virtual Double_t E9E25() const;
54 
55  // Printing
56  virtual void Print(const Option_t *opt = "") const;
57 
58  private:
61 
62  ClassDef(PndEmcClusterEnergySums, 1)
63 };
64 #endif // PNDEMCCLUSTERENERGYSUMS_H
virtual Double_t E1() const
virtual Double_t energy(Int_t numberOfDigis) const
virtual void Print(const Option_t *opt="") const
virtual Double_t E9() const
virtual Double_t E25() const
virtual Double_t E1E9() const
virtual ~PndEmcClusterEnergySums()
virtual Double_t E9E25() const