12 {
13 MsgStream log(
msgSvc(), name() );
14 log << MSG::INFO << "ValidRecTofTrackAlg initialize !" << endreq;
15
17 if ( nt1 ) m_tuple_tof = nt1;
18 else {
19 m_tuple_tof=
ntupleSvc()->book(
"FILE201/tof",CLID_ColumnWiseTuple,
"Validation of TOF" );
20 if( m_tuple_tof ) {
21 m_tuple_tof->addItem("run", m_run );
22 m_tuple_tof->addItem("evt", m_event );
23 m_tuple_tof->addItem("toftrk", m_tofTrackID );
24 m_tuple_tof->addItem("trk", m_trackID );
25 m_tuple_tof->addItem("tofid", m_tofID );
26 m_tuple_tof->addItem("status", m_status );
27 m_tuple_tof->addItem("raw", m_raw );
28 m_tuple_tof->addItem("readout", m_readout );
29 m_tuple_tof->addItem("counter", m_counter );
30 m_tuple_tof->addItem("cluster", m_cluster );
31 m_tuple_tof->addItem("barrel", m_barrel );
32 m_tuple_tof->addItem("east", m_east );
33 m_tuple_tof->addItem("layer", m_layer );
34 m_tuple_tof->addItem("ncounter",m_ncounter );
35 m_tuple_tof->addItem("neast", m_neast );
36 m_tuple_tof->addItem("nwest", m_nwest );
37 m_tuple_tof->addItem("path", m_path );
38 m_tuple_tof->addItem("zrhit", m_zrhit );
39 m_tuple_tof->addItem("ph", m_ph );
40 m_tuple_tof->addItem("tof", m_tof );
41 m_tuple_tof->addItem("etof", m_errtof );
42 m_tuple_tof->addItem("beta", m_beta );
43 m_tuple_tof->addItem("texpe", m_texpe );
44 m_tuple_tof->addItem("texpmu", m_texpmu );
45 m_tuple_tof->addItem("texppi", m_texppi );
46 m_tuple_tof->addItem("texpk", m_texpk );
47 m_tuple_tof->addItem("texpp", m_texpp );
48 m_tuple_tof->addItem("toffe", m_toffe );
49 m_tuple_tof->addItem("toffmu", m_toffmu );
50 m_tuple_tof->addItem("toffpi", m_toffpi );
51 m_tuple_tof->addItem("toffk", m_toffk );
52 m_tuple_tof->addItem("toffp", m_toffp );
53 m_tuple_tof->addItem("toffpb", m_toffpb );
54 m_tuple_tof->addItem("sige", m_sigmae );
55 m_tuple_tof->addItem("sigmu", m_sigmamu );
56 m_tuple_tof->addItem("sigpi", m_sigmapi );
57 m_tuple_tof->addItem("sigk", m_sigmak );
58 m_tuple_tof->addItem("sigp", m_sigmap );
59 m_tuple_tof->addItem("sigpb", m_sigmapb );
60 m_tuple_tof->addItem("qual", m_quality );
61 m_tuple_tof->addItem("t0", m_t0 );
62 m_tuple_tof->addItem("et0", m_errt0 );
63 m_tuple_tof->addItem("ez", m_errz );
64 m_tuple_tof->addItem("phi", m_phi );
65 m_tuple_tof->addItem("ephi", m_errphi );
66 m_tuple_tof->addItem("e", m_energy );
67 m_tuple_tof->addItem("ee", m_errenergy );
68 }
69 }
70
71 log << MSG::INFO << "Finish ValidRecTofTrackAlg initialize!" << endreq;
72 return StatusCode::SUCCESS;
73}