PandaRoot
PndEmcClusterEnergySums.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 //
16 // Description:
17 // Class PndEmcClusterEnergySums.
18 //
19 // Environment:
20 // Software developed for the BaBar Detector at the SLAC B-Factory.
21 //
22 // Author List:
23 // Stephen J. Gowdy Originator
24 // Phil Strother
25 // Helmut Marsiske
26 //
27 // Copyright Information:
28 // Copyright (C) 1998 University of Edinburgh
29 //
30 // Dima Melnichuk, adaption for pandaroot
31 //------------------------------------------------------------------------
32 //#pragma once
33 #ifndef PNDEMCCLUSTERENERGYSUMS_H
34 #define PNDEMCCLUSTERENERGYSUMS_H
35 
37 #include <iostream>
38 #include "TObject.h"
39 
40 class TVector3;
41 
42 // ---------------------
43 // -- Class Interface --
44 // ---------------------
45 
47 
48  public:
49  // Constructors
50  PndEmcClusterEnergySums(const PndEmcCluster &cluster, const TClonesArray *digiArray);
52 
53  // Destructor
54  virtual ~PndEmcClusterEnergySums();
55 
56  // Partial Energy of Cluster
57  virtual Double_t energy(Int_t numberOfDigis) const;
58  virtual Double_t energy(Double_t distance) const;
59  virtual Double_t E1() const;
60  virtual Double_t E9() const;
61  virtual Double_t E25() const;
62 
63  // Energy ratios of Cluster
64  virtual Double_t E1E9() const;
65  virtual Double_t E9E25() const;
66 
67  // Printing
68  virtual void Print(const Option_t *opt = "") const;
69 
70  private:
73 
74  ClassDef(PndEmcClusterEnergySums, 1)
75 };
76 #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