FairRoot/PandaRoot
PndEmcAbsClusterProperty.cxx
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 // Description:
3 // Class PndEmcAbsClusterProperty
4 //
5 // Environment:
6 // Software developed for the BaBar Detector at the SLAC B-Factory.
7 //
8 // Author List:
9 // Stephen J. Gowdy Originator
10 // Phil Strother Originator
11 //
12 // Copyright Information:
13 // Copyright (C) 1998 University of Edinburgh
14 //
15 //------------------------------------------------------------------------
16 
18 #include "PndEmcCluster.h"
19 
20 //----------------
21 // Constructors --
22 //----------------
23 PndEmcAbsClusterProperty::PndEmcAbsClusterProperty( const PndEmcCluster& toUse, const TClonesArray* digiArray)
24  : fMyCluster( toUse ),
25  fMembers(toUse.MemberDigiMap()),
26  fDigiArray(digiArray)
27 {
28 }
29 
30 //--------------
31 // Destructor --
32 //--------------
34 {
35 }
36 
37 const PndEmcCluster&
39 {
40  return fMyCluster;
41 }
42 
43 const std::map<Int_t,Int_t>&
45 {
46  return fMembers;
47 }
48 
49 const TClonesArray* PndEmcAbsClusterProperty::DigiArray() const
50 {
51  return fDigiArray;
52 }
53 
const std::map< Int_t, Int_t > & fMembers
const PndEmcCluster & MyCluster() const
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)