18 Assert::IsEqual(
"09TA03", t1.TowerLabel() );
19 Assert::IsEqual(22.2 , t1.ADC() );
20 Assert::IsEqual(0.111 , t1.dE() );
21 Assert::IsEqual(9 , t1.SecLabel() );
22 Assert::IsEqual(
'A' , t1.SubSecLabel());
23 Assert::IsEqual(3 , t1.EtaLabel() );
26 Assert::IsEqual(33.3 ,t2.
ADC());
27 Assert::IsEqual(0.222 ,t2.
dE());
29 Assert::IsTrue (t2==t1);
30 Assert::IsFalse(t2!=t1);
32 Assert::IsTrue (t3!=t1);
33 Assert::IsFalse(t3==t1);
38 cerr <<
" ====> Test_EEmcTower passed" << endl;
45 gROOT->LoadMacro(
"$STAR/StRoot/StMuDSTMaker/COMMON/macros/loadSharedLibraries.C");
46 loadSharedLibraries();
48 gROOT->LoadMacro(
"macros/tdd.C");
49 gSystem->Load(
"StEEmcUtil");
50 gSystem->Load(
"StEEmcDbMaker");
51 gSystem->Load(
"StEEmcPoolTTM");
float ADC() const
gets adc value associated with the tower (pedestal adjusted)
const char * TowerLabel() const
returns tower label, e.g. "05TB09"
float dE() const
gets calibrated energy loss value associated with the tower
ostream & Out(ostream &out) const
print tower hit info in xml-like style
EEmcTower holds information about an EEMC tower 'hit'.