34 MsgStream log(
msgSvc(), name());
35 log<<MSG::INFO<<
"DedxSaveWireGain::FillHists()"<<endreq;
38 m_wiregain->Branch(
"run", &run,
"run/I");
39 m_wiregain->Branch(
"evt", &evt,
"evt/I");
40 m_wiregain->Branch(
"gain", &gain,
"gain/D");
47 float runNO=0,evtNO=0,runFlag=0,pathlength=0,wid=0,layid=0,dd_in=0,driftdist=0,eangle=0,zhit=0,
costheta=0,tes=0,
ptrk=0;
52 cout<<
"runlist: "<<runlist.c_str()<<endl;
53 f =
new TFile(runlist.c_str());
54 n102 = (TTree*)
f->Get(
"n102");
68 n102->SetBranchAddress(
"ptrk1",&
ptrk);
70 cout <<
"entries in this file" << n102->GetEntries() << endl;
71 for(
int j=0;j<n102->GetEntries();j++)
74 if(tes>1400)
continue;
80 dedx =
exsvc->
StandardHitCorrec(0,runFlag,2,runNO,evtNO,pathlength,wid,layid,dedx,dd_in,eangle,
costheta);
virtual double StandardHitCorrec(int calib_rec_Flag, int runFlag, int ntpFlag, int runNO, int evtNO, double pathl, int wid, int layid, double adc, double dd, double eangle, double costheta) const =0
virtual double StandardTrackCorrec(int calib_rec_Flag, int typFlag, int ntpFlag, int runNO, int evtNO, double ex, double costheta, double t0) const =0