6 std::cerr <<
" Error: invalid pionter in TofCalibCheck(NTuple::Tuple*) for m_tuple " << std::endl;
9 m_tuple->addItem(
"run", m_run );
10 m_tuple->addItem(
"event", m_event );
11 m_tuple->addItem(
"tofid", m_tofid );
12 m_tuple->addItem(
"strip", m_strip );
13 m_tuple->addItem(
"qleft", m_q1 );
14 m_tuple->addItem(
"qright", m_q2 );
15 m_tuple->addItem(
"tleft", m_t1 );
16 m_tuple->addItem(
"tright", m_t2 );
17 m_tuple->addItem(
"zrhit", m_zrhit );
18 m_tuple->addItem(
"dt", m_dt );
19 m_tuple->addItem(
"texp", m_texp );
20 m_tuple->addItem(
"path", m_path );
21 m_tuple->addItem(
"phi", m_phi );
22 m_tuple->addItem(
"theta", m_theta );
23 m_tuple->addItem(
"p", m_p );
24 m_tuple->addItem(
"t0", m_t0 );
25 m_tuple->addItem(
"q0", m_q0 );
26 m_tuple->addItem(
"hitcase", m_hitcase );
33 RecBTofCalHitCol::iterator
iter = bhitcol.begin();
34 for( ;
iter!=bhitcol.end();
iter++ ) {
35 if( fabs( (*iter)->dzHit() - 1.0 )>1.0e-6 )
continue;
36 m_run = (*iter)->run();
37 m_event = (*iter)->event();
38 m_tofid = (*iter)->mod();
40 m_q1 = (*iter)->adc1();
41 m_q2 = (*iter)->adc2();
42 m_t1 = (*iter)->tdc1();
43 m_t2 = (*iter)->tdc2();
44 m_zrhit = (*iter)->zHit();
46 m_texp = (*iter)->tpred();
47 m_path = (*iter)->path();
48 m_phi = (*iter)->deltaPhi();
49 m_theta = (*iter)->sinTheta();
53 m_hitcase = (*iter)->qual();
63 RecETofCalHitCol::iterator
iter = ehitcol.begin();
64 for( ;
iter!=ehitcol.end();
iter++ ) {
65 m_run = (*iter)->run();
66 m_event = (*iter)->event();
67 m_tofid = (*iter)->mod();
69 m_q1 = (*iter)->adc();
71 m_t1 = (*iter)->tdc();
73 m_zrhit = (*iter)->rHit();
75 m_texp = (*iter)->tpred();
76 m_path = (*iter)->path();
77 m_phi = (*iter)->deltaPhi();
78 m_theta = (*iter)->cosTheta();
82 m_hitcase = (*iter)->qual();
92 RecBTofCalHitCol::iterator
iter = bhitcol.begin();
93 for( ;
iter!=bhitcol.end();
iter++ ) {
94 if( fabs( (*iter)->dzHit() )>1.0e-6 )
continue;
95 m_run = (*iter)->run();
96 m_event = (*iter)->event();
97 m_tofid = (*iter)->mod();
98 m_strip = (*iter)->sinTheta();
99 m_q1 = (*iter)->adc1();
100 m_q2 = (*iter)->adc2();
101 m_t1 = (*iter)->tdc1();
102 m_t2 = (*iter)->tdc2();
103 m_zrhit = (*iter)->zHit();
104 m_dt = ( (*iter)->tdc2() - (*iter)->tdc1() )/2.0;
105 m_texp = (*iter)->tpred();
106 m_path = (*iter)->path();
107 m_phi = (*iter)->deltaPhi();
108 m_theta = (*iter)->sinTheta();
112 m_hitcase = (*iter)->qual();
ObjectVector< RecBTofCalHit > RecBTofCalHitCol
ObjectVector< RecETofCalHit > RecETofCalHitCol
void FillEndcapCol(RecETofCalHitCol &)
void FillBarrelCol(RecBTofCalHitCol &)
TofCalibCheck(NTuple::Tuple *&tuple)
void FillEtfCol(RecBTofCalHitCol &)