StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EEmcSmdCluster.cxx
1 /*
2  * Created by S. Gliske, May 2012
3  *
4  * Description: see header.
5  *
6  */
7 
8 #include "StRoot/StEEmcPool/./EEmcTreeContainers/EEmcSmdCluster.h"
9 
10 EEmcSmdCluster_t::EEmcSmdCluster_t() : meanPos(0), width(0), energy(0), sector(0), inLayerV(0),
11  seedStripIdx(-1), numUsedStrips(0) {
12 
13  for( Int_t i = 0; i< kMaxClusterSize; ++i ){
14  usedStripIdx[i] = -1;
15  usedStripWeight[i] = 0;
16  };
17 
18 };
19 
20 void EEmcSmdCluster_t::Clear( const Option_t* ){
21  meanPos = width = energy = 0;
22  sector = 0;
23  inLayerV = 0;
24 
25  seedStripIdx = -1;
26  numUsedStrips = 0;
27 
28  for( Int_t i = 0; i< kMaxClusterSize; ++i ){
29  usedStripIdx[i] = -1;
30  usedStripWeight[i] = 0;
31  };
32 };
33 
34 ClassImp( EEmcSmdCluster_t );
35 
36 /*
37  * $Id: EEmcSmdCluster.cxx,v 1.1 2012/11/26 19:04:30 sgliske Exp $
38  * $Log: EEmcSmdCluster.cxx,v $
39  * Revision 1.1 2012/11/26 19:04:30 sgliske
40  * moved from offline/users/sgliske/StRoot/StEEmcPool/EEmcTreeContainers to StRoot/StEEmcPool/EEmcTreeContainers
41  *
42  *
43  */