FairRoot/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 
37 
38 public:
39 
40  // Constructors
41  PndEmcClusterEnergySums(const PndEmcCluster &cluster, const TClonesArray *digiArray);
43 
44  // Destructor
45  virtual ~PndEmcClusterEnergySums();
46 
47  // Partial Energy of Cluster
48  virtual Double_t energy( Int_t numberOfDigis ) const;
49  virtual Double_t energy( Double_t distance ) const;
50  virtual Double_t E1() const;
51  virtual Double_t E9() const;
52  virtual Double_t E25() const;
53 
54  // Energy ratios of Cluster
55  virtual Double_t E1E9() const;
56  virtual Double_t E9E25() const;
57 
58  // Printing
59  virtual void Print(const Option_t* opt ="") const;
60 
61 private:
62 
65 
66  ClassDef(PndEmcClusterEnergySums,1)
67 };
68 #endif // PNDEMCCLUSTERENERGYSUMS_H
PndEmcClusterEnergySums & operator=(const PndEmcClusterEnergySums &)
virtual Double_t E1() const
Double_t
a cluster (group of neighboring crystals) of hit emc crystals
Definition: PndEmcCluster.h:29
virtual Double_t energy(Int_t numberOfDigis) const
virtual Double_t E1E9() const
virtual void Print(const Option_t *opt="") const
virtual Double_t E25() const
virtual Double_t E9() const
virtual Double_t E9E25() const