FairRoot/PandaRoot
PndEmcAbsClusterProperty.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // File and Version Information:
3 //
4 // Description:
5 // Class EmcAbsClusterProperty.
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 Originator
13 //
14 // Copyright Information:
15 // Copyright (C) 1998 University of Edinburgh
16 //
17 //------------------------------------------------------------------------
18 //#pragma once
19 #ifndef PNDEMCABSCLUSTERPROPERTY_H
20 #define PNDEMCABSCLUSTERPROPERTY_H
21 
22 #include "TObject.h"
23 #include "PndEmcCluster.h"
24 
25 class PndEmcCluster;
26 class PndEmcDigi;
28 class TClonesArray;
29 
30 // ---------------------
31 // -- Class Interface --
32 // ---------------------
33 
34 class PndEmcAbsClusterProperty: public TObject
35 {
36 
37 public:
38 
39  // Constructors
40  PndEmcAbsClusterProperty(const PndEmcCluster &cluster, const TClonesArray *digiArray);
41 
42  // Destructor
43  virtual ~PndEmcAbsClusterProperty();
44 
45 protected:
46 
47  // Helper functions
48  //Possible memory problems (FIXME)
49  const PndEmcCluster& MyCluster()const;
50  const std::map<Int_t,Int_t>& Members() const; // Map <detId,digiIndex>
51  const TClonesArray* DigiArray() const;
52 
54  TObject(L),
56  fMembers (L.fMembers) {};
58 
59 private:
60 
61 // PndEmcAbsClusterProperty(const PndEmcAbsClusterProperty& L);
62 // PndEmcAbsClusterProperty &operator=(const PndEmcAbsClusterProperty&) {return *this;};
63 // PndEmc& operator= (const PndEmc&) {return *this;};
64  // Friends
65 
66  // Data members
68  const std::map<Int_t,Int_t>& fMembers; // Map <detId,digiIndex>
69  const TClonesArray* fDigiArray;
70 
71 
72 };
73 
74 #endif // PNDEMCABSCLUSTERPROPERTY_HH
PndEmcAbsClusterProperty & operator=(const PndEmcAbsClusterProperty &)
represents the reconstructed hit of one emc crystal
Definition: PndEmcDigi.h:40
const std::map< Int_t, Int_t > & fMembers
stores crystal index coordinates (x,y) or (theta,phi)
const PndEmcCluster & MyCluster() const
PndEmcAbsClusterProperty(const PndEmcAbsClusterProperty &L)
a cluster (group of neighboring crystals) of hit emc crystals
Definition: PndEmcCluster.h:29
const PndEmcCluster & fMyCluster
const TClonesArray * DigiArray() const
const std::map< Int_t, Int_t > & Members() const
PndEmcAbsClusterProperty(const PndEmcCluster &cluster, const TClonesArray *digiArray)