5
8
13 CanvasName.push_back(
static_cast<string>(
"Offset") );
14 CanvasName.push_back(
static_cast<string>(
"Offset-PlusMinus") );
15 CanvasName.push_back(
static_cast<string>(
"Sigma") );
16 CanvasName.push_back(
static_cast<string>(
"Sigma-TCorrelation") );
21
22 int numGraphs = 0;
25 numGraphs = numGraphs + (*iter);
26 }
28 cout << "tofcalgsec::calib_barrel_common: the number of Graphs is NOT reasonable!!!" << endl;
29 exit(0);
30 }
31
32 m_name = string(
"calib_barrel_common");
33
34 const int tbin = 150;
35 const double tbegin = -1.5;
36 const double tend = 1.5;
37
38 char hname[256];
39
40 for(
unsigned int j=0; j<
nKind; j++ ) {
42 if( j==0 ) {
sprintf( hname,
"tleft-z%i", k); }
43 else if( j==1 ) {
sprintf( hname,
"tright-z%i", k); }
44 else if( j==2 ) {
sprintf( hname,
"tplus-z%i", k); }
45 else if( j==3 ) {
sprintf( hname,
"tminus-z%i", k); }
46 m_fitresult.push_back( HepVector(
nParCommon,0 ) );
47 m_histograms.push_back(
new TH1F( hname, hname, tbin, tbegin, tend ) );
48 }
49 }
51 m_fitresult.push_back( HepVector(
nParCommon,0 ) );
52 m_histograms.push_back(
new TH1F( hname, hname, tbin, tbegin, tend ) );
53
58 zpos[i] =
zbegin + ( i+0.5 )*zstep;
59 zposerr[i] = 0.5*zstep;
60 }
61
62}
const int nGraphTotalCommon
std::vector< TH1F * > m_histograms
unsigned int nBinPerCounter
std::vector< unsigned int > nGraphPerCanvas
std::vector< string > CanvasName
unsigned int nCanvasPerCounter
unsigned int nHistPerCounter
sprintf(cut,"kal_costheta0_em>-0.93&&kal_costheta0_em<0.93&&kal_pxy0_em>=0.05+%d*0.1&&kal_pxy0_em<0.15+%d*0.1&&NGch>=2", j, j)