StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEEmcHitMakerData.cxx
1 
9 
11 #include "StRoot/St_base/StMessMgr.h"
12 #include "StRoot/St_base/Stypes.h"
13 
14 #include "StEEmcHitMakerData.h"
15 
17 StSimpleClusterVec_t& StEEmcHitMakerData_t::getTowerClusterVec( TowerLayer_t layer ) {
18  if( layer > NUM_TOW_LAYERS ){
19  LOG_FATAL << "StEEmcHitMaker_t::getTowerClusterVec( TowerLayer_t layer ) given invalid layer: " << layer << endm;
20  return mTowerClusterVec[ 0 ];
21  };
22  return mTowerClusterVec[ layer ];
23 };
24 
26  for( Int_t i = 0; i<NUM_TOW_LAYERS; ++i )
27  mTowerClusterVec[i].clear();
28  mESMDClusterVec.clear();
29  mHitVec.clear();
30 
31  //LOG_INFO << "SMD clusters now have " << mESMDClusterVec.size() << " clusters" << endm;
32 };
33 
34 ClassImp( StEEmcHitMakerData_t );
35 
36 /*
37  * $Id: StEEmcHitMakerData.cxx,v 1.1 2012/11/26 19:05:54 sgliske Exp $
38  * $Log: StEEmcHitMakerData.cxx,v $
39  * Revision 1.1 2012/11/26 19:05:54 sgliske
40  * moved from offline/users/sgliske/StRoot/StEEmcPool/StEEmcHitMaker to StRoot/StEEmcPool/StEEmcHitMaker
41  *
42  *
43  */
StESMDClustersVec_t mESMDClusterVec
StEEmcHitVec_t mHitVec
Container for hits.
virtual void clearData()
no copy constructor nor equals operator needed, since includes no dynamically allocated memory; ...
StSimpleClusterVec_t mTowerClusterVec[NUM_TOW_LAYERS]
Containers for cluster from each tower layer.