Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:34:18

0001 void SiStripTrackingRecHitsPlots()
0002 {
0003 
0004  gROOT ->Reset();
0005  gStyle->SetOptStat(1111111);
0006  char*  rfilename = "striptrackingrechitshisto.root";
0007 
0008  gStyle->SetOptStat(1111111);
0009 
0010  delete gROOT->GetListOfFiles()->FindObject(rfilename);
0011 
0012  TText* te = new TText();
0013  TFile * rfile = new TFile(rfilename);
0014  Char_t histo[200];
0015 
0016  rfile->cd("DQMData");
0017  rfile->cd("DQMData/ALL");
0018  gDirectory->ls();
0019 
0020 ////////////////////////////////////
0021 //            TIB                 //
0022 ////////////////////////////////////
0023 
0024  rfile->cd("DQMData/TrackingRecHits/Strip/TIB");
0025 
0026 
0027 
0028  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0029  SiStrip->Divide(2,3);
0030  SiStrip->cd(1);
0031  Adc_rphi_layer1tib->Draw();
0032  SiStrip->cd(2);
0033  Adc_rphi_layer2tib->Draw();
0034  SiStrip->cd(3);
0035  Adc_rphi_layer3tib->Draw();
0036  SiStrip->cd(4);
0037  Adc_rphi_layer4tib->Draw();
0038  SiStrip->cd(5);
0039  Adc_sas_layer1tib->Draw();
0040  SiStrip->cd(6);
0041  Adc_sas_layer2tib->Draw();
0042  SiStrip->Print("AdcOfTIB.ps");
0043  /*
0044  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0045  SiStrip->Divide(2,3);
0046  SiStrip->cd(1);
0047  Pitch_rphi_layer1tib->Draw();
0048  SiStrip->cd(2);
0049  Pitch_rphi_layer2tib->Draw();
0050  SiStrip->cd(3);
0051  Pitch_rphi_layer3tib->Draw();
0052  SiStrip->cd(4);
0053  Pitch_rphi_layer4tib->Draw();
0054  SiStrip->cd(5);
0055  Pitch_sas_layer1tib->Draw();
0056  SiStrip->cd(6);
0057  Pitch_sas_layer2tib->Draw();
0058  SiStrip->Print("PitchOfTIB.ps");
0059 
0060  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0061  SiStrip->Divide(2,3);
0062  SiStrip->cd(1);
0063  Thickness_rphi_layer1tib->Draw();
0064  SiStrip->cd(2);
0065  Thickness_rphi_layer2tib->Draw();
0066  SiStrip->cd(3);
0067  Thickness_rphi_layer3tib->Draw();
0068  SiStrip->cd(4);
0069  Thickness_rphi_layer4tib->Draw();
0070  SiStrip->cd(5);
0071  Thickness_sas_layer1tib->Draw();
0072  SiStrip->cd(6);
0073  Thickness_sas_layer2tib->Draw();
0074  SiStrip->Print("ThicknessOfTIB.ps");
0075  */
0076  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0077  SiStrip->Divide(2,3);
0078  SiStrip->cd(1);
0079  Trackwidth_rphi_layer1tib->Draw();
0080  SiStrip->cd(2);
0081  Trackwidth_rphi_layer2tib->Draw();
0082  SiStrip->cd(3);
0083  Trackwidth_rphi_layer3tib->Draw();
0084  SiStrip->cd(4);
0085  Trackwidth_rphi_layer4tib->Draw();
0086  SiStrip->cd(5);
0087  Trackwidth_sas_layer1tib->Draw();
0088  SiStrip->cd(6);
0089  Trackwidth_sas_layer2tib->Draw();
0090  SiStrip->Print("TrackwidthOfTIB.ps");
0091  
0092 
0093 
0094  /*
0095  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0096  SiStrip->Divide(2,3);
0097  SiStrip->cd(1);
0098  Pull_rphi_layer1tib->Draw();
0099  SiStrip->cd(2);
0100  Pull_rphi_layer2tib->Draw();
0101  SiStrip->cd(3);
0102  Pull_rphi_layer3tib->Draw();
0103  SiStrip->cd(4);
0104  Pull_rphi_layer4tib->Draw();
0105  SiStrip->cd(5);
0106  Pull_sas_layer1tib->Draw();
0107  SiStrip->cd(6);
0108  Pull_sas_layer2tib->Draw();
0109  SiStrip->Print("PullOfTIB.ps");
0110  */
0111  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0112  SiStrip->Divide(2,3);
0113  SiStrip->cd(1);
0114  Pull_LF_rphi_layer1tib->Draw();
0115  SiStrip->cd(2);
0116  Pull_LF_rphi_layer2tib->Draw();
0117  SiStrip->cd(3);
0118  Pull_LF_rphi_layer3tib->Draw();
0119  SiStrip->cd(4);
0120  Pull_LF_rphi_layer4tib->Draw();
0121  SiStrip->cd(5);
0122  Pull_LF_sas_layer1tib->Draw();
0123  SiStrip->cd(6);
0124  Pull_LF_sas_layer2tib->Draw();
0125  SiStrip->Print("PullLFOfTIB.ps");
0126 
0127  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0128  SiStrip->Divide(2,3);
0129  SiStrip->cd(1);
0130  Pull_MF_rphi_layer1tib->Draw();
0131  SiStrip->cd(2);
0132  Pull_MF_rphi_layer2tib->Draw();
0133  SiStrip->cd(3);
0134  Pull_MF_rphi_layer3tib->Draw();
0135  SiStrip->cd(4);
0136  Pull_MF_rphi_layer4tib->Draw();
0137  SiStrip->cd(5);
0138  Pull_MF_sas_layer1tib->Draw();
0139  SiStrip->cd(6);
0140  Pull_MF_sas_layer2tib->Draw();
0141  SiStrip->Print("PullMFOfTIB.ps");
0142 
0143  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0144  SiStrip->Divide(2,3);
0145  SiStrip->cd(1);
0146  Trackangle_rphi_layer1tib ->Draw();
0147  SiStrip->cd(2);
0148  Trackangle_rphi_layer2tib->Draw();
0149  SiStrip->cd(3);
0150  Trackangle_rphi_layer3tib ->Draw();
0151  SiStrip->cd(4);
0152  Trackangle_rphi_layer4tib->Draw();
0153  SiStrip->cd(5);
0154  Trackangle_sas_layer1tib->Draw();
0155  SiStrip->cd(6);
0156  Trackangle_sas_layer2tib->Draw();
0157  SiStrip->Print("TrackangleOfTIB.ps");
0158  /*
0159  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0160  SiStrip->Divide(2,3);
0161  SiStrip->cd(1);
0162  Lorentzangle_rphi_layer1tib ->Draw();
0163  SiStrip->cd(2);
0164  Lorentzangle_rphi_layer2tib->Draw();
0165  SiStrip->cd(3);
0166  Lorentzangle_rphi_layer3tib ->Draw();
0167  SiStrip->cd(4);
0168  Lorentzangle_rphi_layer4tib->Draw();
0169  SiStrip->cd(5);
0170  Lorentzangle_sas_layer1tib->Draw();
0171  SiStrip->cd(6);
0172  Lorentzangle_sas_layer2tib->Draw();
0173  SiStrip->Print("LorentzangleOfTIB.ps");
0174  */
0175  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0176  SiStrip->Divide(2,3);
0177  SiStrip->cd(1);
0178  PullTrackangleProfile_rphi_layer1tib ->Draw();
0179  SiStrip->cd(2);
0180  PullTrackangleProfile_rphi_layer2tib->Draw();
0181  SiStrip->cd(3);
0182  PullTrackangleProfile_rphi_layer3tib ->Draw();
0183  SiStrip->cd(4);
0184  PullTrackangleProfile_rphi_layer4tib->Draw();
0185  SiStrip->cd(5);
0186  PullTrackangleProfile_sas_layer1tib->Draw();
0187  SiStrip->cd(6);
0188  PullTrackangleProfile_sas_layer2tib->Draw();
0189  SiStrip->Print("PullTrackangleProfileOfTIB.ps");
0190 
0191  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0192  SiStrip->Divide(2,3);
0193  SiStrip->cd(1);
0194  Nstp_rphi_layer1tib->Draw();
0195  SiStrip->cd(2);
0196  Nstp_rphi_layer2tib->Draw();
0197  SiStrip->cd(3);
0198  Nstp_rphi_layer3tib->Draw();
0199  SiStrip->cd(4);
0200  Nstp_rphi_layer4tib->Draw();
0201  SiStrip->cd(5);
0202  Nstp_sas_layer1tib->Draw();
0203  SiStrip->cd(6);
0204  Nstp_sas_layer2tib->Draw();
0205  SiStrip->Print("NstpOfTIB.ps");
0206    
0207  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0208  SiStrip->Divide(2,3);
0209  SiStrip->cd(1);
0210  Posx_rphi_layer1tib->Draw();
0211  SiStrip->cd(2);
0212  Posx_rphi_layer2tib->Draw();
0213  SiStrip->cd(3);
0214  Posx_rphi_layer3tib->Draw();
0215  SiStrip->cd(4);
0216  Posx_rphi_layer4tib->Draw();
0217  SiStrip->cd(5);
0218  Posx_sas_layer1tib->Draw();
0219  SiStrip->cd(6);
0220  Posx_sas_layer2tib->Draw();
0221  SiStrip->Print("PosOfTIB.ps");
0222  /*
0223  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0224  SiStrip->Divide(2,3);
0225  SiStrip->cd(1);
0226  Errx_rphi_layer1tib->Draw();
0227  SiStrip->cd(2);
0228  Errx_rphi_layer2tib->Draw();
0229  SiStrip->cd(3);
0230  Errx_rphi_layer3tib->Draw();
0231  SiStrip->cd(4);
0232  Errx_rphi_layer4tib->Draw();
0233  SiStrip->cd(5);
0234  Errx_sas_layer1tib->Draw();
0235  SiStrip->cd(6);
0236  Errx_sas_layer2tib->Draw();
0237  SiStrip->Print("ErrOfTIB.ps");
0238 */
0239  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0240  SiStrip->Divide(2,3);
0241  SiStrip->cd(1);
0242  Errx_LF_rphi_layer1tib->Draw();
0243  SiStrip->cd(2);
0244  Errx_LF_rphi_layer2tib->Draw();
0245  SiStrip->cd(3);
0246  Errx_LF_rphi_layer3tib->Draw();
0247  SiStrip->cd(4);
0248  Errx_LF_rphi_layer4tib->Draw();
0249  SiStrip->cd(5);
0250  Errx_LF_sas_layer1tib->Draw();
0251  SiStrip->cd(6);
0252  Errx_LF_sas_layer2tib->Draw();
0253  SiStrip->Print("ErrLFOfTIB.ps");
0254 
0255  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0256  SiStrip->Divide(2,3);
0257  SiStrip->cd(1);
0258  Errx_MF_rphi_layer1tib->Draw();
0259  SiStrip->cd(2);
0260  Errx_MF_rphi_layer2tib->Draw();
0261  SiStrip->cd(3);
0262  Errx_MF_rphi_layer3tib->Draw();
0263  SiStrip->cd(4);
0264  Errx_MF_rphi_layer4tib->Draw();
0265  SiStrip->cd(5);
0266  Errx_MF_sas_layer1tib->Draw();
0267  SiStrip->cd(6);
0268  Errx_MF_sas_layer2tib->Draw();
0269  SiStrip->Print("ErrMFOfTIB.ps");
0270  /*
0271  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0272  SiStrip->Divide(2,3);
0273  SiStrip->cd(1);
0274  Res_rphi_layer1tib->Draw();
0275  SiStrip->cd(2);
0276  Res_rphi_layer2tib->Draw();
0277  SiStrip->cd(3);
0278  Res_rphi_layer3tib->Draw();
0279  SiStrip->cd(4);
0280  Res_rphi_layer4tib->Draw();
0281  SiStrip->cd(5);
0282  Res_sas_layer1tib->Draw();
0283  SiStrip->cd(6);
0284  Res_sas_layer2tib->Draw();
0285  SiStrip->Print("ResOfTIB.ps");
0286 */
0287  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0288  SiStrip->Divide(2,3);
0289  SiStrip->cd(1);
0290  Res_LF_rphi_layer1tib->Draw();
0291  SiStrip->cd(2);
0292  Res_LF_rphi_layer2tib->Draw();
0293  SiStrip->cd(3);
0294  Res_LF_rphi_layer3tib->Draw();
0295  SiStrip->cd(4);
0296  Res_LF_rphi_layer4tib->Draw();
0297  SiStrip->cd(5);
0298  Res_LF_sas_layer1tib->Draw();
0299  SiStrip->cd(6);
0300  Res_LF_sas_layer2tib->Draw();
0301  SiStrip->Print("ResLFOfTIB.ps");
0302 
0303  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0304  SiStrip->Divide(2,3);
0305  SiStrip->cd(1);
0306  Res_MF_rphi_layer1tib->Draw();
0307  SiStrip->cd(2);
0308  Res_MF_rphi_layer2tib->Draw();
0309  SiStrip->cd(3);
0310  Res_MF_rphi_layer3tib->Draw();
0311  SiStrip->cd(4);
0312  Res_MF_rphi_layer4tib->Draw();
0313  SiStrip->cd(5);
0314  Res_MF_sas_layer1tib->Draw();
0315  SiStrip->cd(6);
0316  Res_MF_sas_layer2tib->Draw();
0317  SiStrip->Print("ResMFOfTIB.ps");
0318 
0319  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0320  SiStrip->Divide(2,3);
0321  SiStrip->cd(1);
0322  Category_rphi_layer1tib->Draw();
0323  SiStrip->cd(2);
0324  Category_rphi_layer2tib->Draw();
0325  SiStrip->cd(3);
0326  Category_rphi_layer3tib->Draw();
0327  SiStrip->cd(4);
0328  Category_rphi_layer4tib->Draw();
0329  SiStrip->cd(5);
0330  Category_sas_layer1tib->Draw();
0331  SiStrip->cd(6);
0332  Category_sas_layer2tib->Draw();
0333  SiStrip->Print("CategoryOfTIB.ps");
0334 
0335  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0336  SiStrip->Divide(4,4);
0337  SiStrip->cd(1);
0338  Posx_matched_layer1tib->Draw();
0339  SiStrip->cd(2);
0340  Posy_matched_layer1tib->Draw();
0341  SiStrip->cd(3);
0342  Posx_matched_layer2tib->Draw();
0343  SiStrip->cd(4);
0344  Posy_matched_layer2tib->Draw();
0345  SiStrip->cd(5);
0346  Errx_matched_layer1tib->Draw();
0347  SiStrip->cd(6);
0348  Erry_matched_layer1tib->Draw();
0349  SiStrip->cd(7);
0350  Errx_matched_layer2tib->Draw();
0351  SiStrip->cd(8);
0352  Erry_matched_layer2tib->Draw();
0353  SiStrip->cd(9);
0354  Resx_matched_layer1tib->Draw();
0355  SiStrip->cd(10);
0356  Resy_matched_layer1tib->Draw();
0357  SiStrip->cd(11);
0358  Resx_matched_layer2tib->Draw();
0359  SiStrip->cd(12);
0360  Resy_matched_layer2tib->Draw();
0361  SiStrip->cd(13);
0362  Pullx_matched_layer1tib->Draw();
0363  SiStrip->cd(14);
0364  Pully_matched_layer1tib->Draw();
0365  SiStrip->cd(15);
0366  Pullx_matched_layer2tib->Draw();
0367  SiStrip->cd(16);
0368  Pully_matched_layer2tib->Draw();
0369  SiStrip->Print("MatchedOfTIB.ps");
0370 
0371 ////////////////////////////////////
0372 //            TOB                 //
0373 ////////////////////////////////////
0374 
0375 
0376  rfile->cd("DQMData/TrackingRecHits/Strip/TOB");
0377 
0378  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0379  SiStrip->Divide(3,3);
0380  SiStrip->cd(1);
0381  Adc_rphi_layer1tob->Draw();
0382  SiStrip->cd(2);
0383  Adc_rphi_layer2tob->Draw();
0384  SiStrip->cd(3);
0385  Adc_rphi_layer3tob->Draw();
0386  SiStrip->cd(4);
0387  Adc_rphi_layer4tob->Draw();
0388  SiStrip->cd(5);
0389  Adc_rphi_layer5tob->Draw();
0390  SiStrip->cd(6);
0391  Adc_rphi_layer6tob->Draw();
0392  SiStrip->cd(7);
0393  Adc_sas_layer1tob->Draw();
0394  SiStrip->cd(8);
0395  Adc_sas_layer2tob->Draw();
0396  SiStrip->Print("AdcOfTOB.ps");
0397  /*
0398  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0399  SiStrip->Divide(3,3);
0400  SiStrip->cd(1);
0401  Pitch_rphi_layer1tob->Draw();
0402  SiStrip->cd(2);
0403  Pitch_rphi_layer2tob->Draw();
0404  SiStrip->cd(3);
0405  Pitch_rphi_layer3tob->Draw();
0406  SiStrip->cd(4);
0407  Pitch_rphi_layer4tob->Draw();
0408  SiStrip->cd(5);
0409  Pitch_rphi_layer5tob->Draw();
0410  SiStrip->cd(6);
0411  Pitch_rphi_layer6tob->Draw();
0412  SiStrip->cd(7);
0413  Pitch_sas_layer1tob->Draw();
0414  SiStrip->cd(8);
0415  Pitch_sas_layer2tob->Draw();
0416  SiStrip->Print("PitchOfTOB.ps");
0417 
0418  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0419  SiStrip->Divide(3,3);
0420  SiStrip->cd(1);
0421  Thickness_rphi_layer1tob->Draw();
0422  SiStrip->cd(2);
0423  Thickness_rphi_layer2tob->Draw();
0424  SiStrip->cd(3);
0425  Thickness_rphi_layer3tob->Draw();
0426  SiStrip->cd(4);
0427  Thickness_rphi_layer4tob->Draw();
0428  SiStrip->cd(5);
0429  Thickness_rphi_layer5tob->Draw();
0430  SiStrip->cd(6);
0431  Thickness_rphi_layer6tob->Draw();
0432  SiStrip->cd(7);
0433  Thickness_sas_layer1tob->Draw();
0434  SiStrip->cd(8);
0435  Thickness_sas_layer2tob->Draw();
0436  SiStrip->Print("ThicknessOfTOB.ps");
0437  */
0438  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0439  SiStrip->Divide(3,3);
0440  SiStrip->cd(1);
0441  Trackwidth_rphi_layer1tob->Draw();
0442  SiStrip->cd(2);
0443  Trackwidth_rphi_layer2tob->Draw();
0444  SiStrip->cd(3);
0445  Trackwidth_rphi_layer3tob->Draw();
0446  SiStrip->cd(4);
0447  Trackwidth_rphi_layer4tob->Draw();
0448  SiStrip->cd(5);
0449  Trackwidth_rphi_layer5tob->Draw();
0450  SiStrip->cd(6);
0451  Trackwidth_rphi_layer6tob->Draw();
0452  SiStrip->cd(7);
0453  Trackwidth_sas_layer1tob->Draw();
0454  SiStrip->cd(8);
0455  Trackwidth_sas_layer2tob->Draw();
0456  SiStrip->Print("TrackwidthOfTOB.ps");
0457 
0458  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0459  SiStrip->Divide(3,3);
0460  SiStrip->cd(1);
0461  Pull_LF_rphi_layer1tob->Draw();
0462  SiStrip->cd(2);
0463  Pull_LF_rphi_layer2tob->Draw();
0464  SiStrip->cd(3);
0465  Pull_LF_rphi_layer3tob->Draw();
0466  SiStrip->cd(4);
0467  Pull_LF_rphi_layer4tob->Draw();
0468  SiStrip->cd(5);
0469  Pull_LF_rphi_layer5tob->Draw();
0470  SiStrip->cd(6);
0471  Pull_LF_rphi_layer6tob->Draw();
0472  SiStrip->cd(7);
0473  Pull_LF_sas_layer1tob->Draw();
0474  SiStrip->cd(8);
0475  Pull_LF_sas_layer2tob->Draw();
0476  SiStrip->Print("PullLFOfTOB.ps");
0477 
0478  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0479  SiStrip->Divide(3,3);
0480  SiStrip->cd(1);
0481  Pull_MF_rphi_layer1tob->Draw();
0482  SiStrip->cd(2);
0483  Pull_MF_rphi_layer2tob->Draw();
0484  SiStrip->cd(3);
0485  Pull_MF_rphi_layer3tob->Draw();
0486  SiStrip->cd(4);
0487  Pull_MF_rphi_layer4tob->Draw();
0488  SiStrip->cd(5);
0489  Pull_MF_rphi_layer5tob->Draw();
0490  SiStrip->cd(6);
0491  Pull_MF_rphi_layer6tob->Draw();
0492  SiStrip->cd(7);
0493  Pull_MF_sas_layer1tob->Draw();
0494  SiStrip->cd(8);
0495  Pull_MF_sas_layer2tob->Draw();
0496  SiStrip->Print("PullMFOfTOB.ps");
0497 
0498  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0499  SiStrip->Divide(3,3);
0500  SiStrip->cd(1);
0501  Trackangle_rphi_layer1tob ->Draw();
0502  SiStrip->cd(2);
0503  Trackangle_rphi_layer2tob->Draw();
0504  SiStrip->cd(3);
0505  Trackangle_rphi_layer3tob ->Draw();
0506  SiStrip->cd(4);
0507  Trackangle_rphi_layer4tob->Draw();
0508  SiStrip->cd(5);
0509  Trackangle_rphi_layer5tob ->Draw();
0510  SiStrip->cd(6);
0511  Trackangle_rphi_layer6tob->Draw();
0512  SiStrip->cd(7);
0513  Trackangle_sas_layer1tob->Draw();
0514  SiStrip->cd(8);
0515  Trackangle_sas_layer2tob->Draw();
0516  SiStrip->Print("TrackangleOfTOB.ps");
0517  /*
0518  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0519  SiStrip->Divide(3,3);
0520  SiStrip->cd(1);
0521  Lorentzangle_rphi_layer1tob ->Draw();
0522  SiStrip->cd(2);
0523  Lorentzangle_rphi_layer2tob->Draw();
0524  SiStrip->cd(3);
0525  Lorentzangle_rphi_layer3tob ->Draw();
0526  SiStrip->cd(4);
0527  Lorentzangle_rphi_layer4tob->Draw();
0528  SiStrip->cd(5);
0529  Lorentzangle_rphi_layer5tob ->Draw();
0530  SiStrip->cd(6);
0531  Lorentzangle_rphi_layer6tob->Draw();
0532  SiStrip->cd(7);
0533  Lorentzangle_sas_layer1tob->Draw();
0534  SiStrip->cd(8);
0535  Lorentzangle_sas_layer2tob->Draw();
0536  SiStrip->Print("LorentzangleOfTOB.ps");
0537  */
0538  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0539  SiStrip->Divide(3,3);
0540  SiStrip->cd(1);
0541  PullTrackangleProfile_rphi_layer1tob ->Draw();
0542  SiStrip->cd(2);
0543  PullTrackangleProfile_rphi_layer2tob->Draw();
0544  SiStrip->cd(3);
0545  PullTrackangleProfile_rphi_layer3tob ->Draw();
0546  SiStrip->cd(4);
0547  PullTrackangleProfile_rphi_layer4tob->Draw();
0548  SiStrip->cd(5);
0549  PullTrackangleProfile_rphi_layer5tob ->Draw();
0550  SiStrip->cd(6);
0551  PullTrackangleProfile_rphi_layer6tob->Draw();
0552  SiStrip->cd(5);
0553  PullTrackangleProfile_sas_layer1tob->Draw();
0554  SiStrip->cd(6);
0555  PullTrackangleProfile_sas_layer2tob->Draw();
0556  SiStrip->Print("PullTrackangleProfileOfTOB.ps");
0557 
0558  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0559  SiStrip->Divide(3,3);
0560  SiStrip->cd(1);
0561  Nstp_rphi_layer1tob->Draw();
0562  SiStrip->cd(2);
0563  Nstp_rphi_layer2tob->Draw();
0564  SiStrip->cd(3);
0565  Nstp_rphi_layer3tob->Draw();
0566  SiStrip->cd(4);
0567  Nstp_rphi_layer4tob->Draw();
0568  SiStrip->cd(5);
0569  Nstp_rphi_layer5tob->Draw();
0570  SiStrip->cd(6);
0571  Nstp_rphi_layer6tob->Draw();
0572  SiStrip->cd(7);
0573  Nstp_sas_layer1tob->Draw();
0574  SiStrip->cd(8);
0575  Nstp_sas_layer2tob->Draw();
0576  SiStrip->Print("NstpOfTOB.ps");
0577    
0578  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0579  SiStrip->Divide(3,3);
0580  SiStrip->cd(1);
0581  Posx_rphi_layer1tob->Draw();
0582  SiStrip->cd(2);
0583  Posx_rphi_layer2tob->Draw();
0584  SiStrip->cd(3);
0585  Posx_rphi_layer3tob->Draw();
0586  SiStrip->cd(4);
0587  Posx_rphi_layer4tob->Draw();
0588  SiStrip->cd(5);
0589  Posx_rphi_layer5tob->Draw();
0590  SiStrip->cd(6);
0591  Posx_rphi_layer6tob->Draw();
0592  SiStrip->cd(7);
0593  Posx_sas_layer1tob->Draw();
0594  SiStrip->cd(8);
0595  Posx_sas_layer2tob->Draw();
0596  SiStrip->Print("PosOfTOB.ps");
0597 
0598  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0599  SiStrip->Divide(3,3);
0600  SiStrip->cd(1);
0601  Errx_LF_rphi_layer1tob->Draw();
0602  SiStrip->cd(2);
0603  Errx_LF_rphi_layer2tob->Draw();
0604  SiStrip->cd(3);
0605  Errx_LF_rphi_layer3tob->Draw();
0606  SiStrip->cd(4);
0607  Errx_LF_rphi_layer4tob->Draw();
0608  SiStrip->cd(5);
0609  Errx_LF_rphi_layer5tob->Draw();
0610  SiStrip->cd(6);
0611  Errx_LF_rphi_layer6tob->Draw();
0612  SiStrip->cd(7);
0613  Errx_LF_sas_layer1tob->Draw();
0614  SiStrip->cd(8);
0615  Errx_LF_sas_layer2tob->Draw();
0616  SiStrip->Print("ErrLFOfTOB.ps");
0617 
0618  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0619  SiStrip->Divide(3,3);
0620  SiStrip->cd(1);
0621  Errx_MF_rphi_layer1tob->Draw();
0622  SiStrip->cd(2);
0623  Errx_MF_rphi_layer2tob->Draw();
0624  SiStrip->cd(3);
0625  Errx_MF_rphi_layer3tob->Draw();
0626  SiStrip->cd(4);
0627  Errx_MF_rphi_layer4tob->Draw();
0628  SiStrip->cd(5);
0629  Errx_MF_rphi_layer5tob->Draw();
0630  SiStrip->cd(6);
0631  Errx_MF_rphi_layer6tob->Draw();
0632  SiStrip->cd(7);
0633  Errx_MF_sas_layer1tob->Draw();
0634  SiStrip->cd(8);
0635  Errx_MF_sas_layer2tob->Draw();
0636  SiStrip->Print("ErrMFOfTOB.ps");
0637 
0638  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0639  SiStrip->Divide(3,3);
0640  SiStrip->cd(1);
0641  Res_LF_rphi_layer1tob->Draw();
0642  SiStrip->cd(2);
0643  Res_LF_rphi_layer2tob->Draw();
0644  SiStrip->cd(3);
0645  Res_LF_rphi_layer3tob->Draw();
0646  SiStrip->cd(4);
0647  Res_LF_rphi_layer4tob->Draw();
0648  SiStrip->cd(5);
0649  Res_LF_rphi_layer5tob->Draw();
0650  SiStrip->cd(6);
0651  Res_LF_rphi_layer6tob->Draw();
0652  SiStrip->cd(7);
0653  Res_LF_sas_layer1tob->Draw();
0654  SiStrip->cd(8);
0655  Res_LF_sas_layer2tob->Draw();
0656  SiStrip->Print("ResLFOfTOB.ps");
0657 
0658  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0659  SiStrip->Divide(3,3);
0660  SiStrip->cd(1);
0661  Res_MF_rphi_layer1tob->Draw();
0662  SiStrip->cd(2);
0663  Res_MF_rphi_layer2tob->Draw();
0664  SiStrip->cd(3);
0665  Res_MF_rphi_layer3tob->Draw();
0666  SiStrip->cd(4);
0667  Res_MF_rphi_layer4tob->Draw();
0668  SiStrip->cd(5);
0669  Res_MF_rphi_layer5tob->Draw();
0670  SiStrip->cd(6);
0671  Res_MF_rphi_layer6tob->Draw();
0672  SiStrip->cd(7);
0673  Res_MF_sas_layer1tob->Draw();
0674  SiStrip->cd(8);
0675  Res_MF_sas_layer2tob->Draw();
0676  SiStrip->Print("ResMFOfTOB.ps");
0677 
0678  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0679  SiStrip->Divide(3,3);
0680  SiStrip->cd(1);
0681  Category_rphi_layer1tob->Draw();
0682  SiStrip->cd(2);
0683  Category_rphi_layer2tob->Draw();
0684  SiStrip->cd(3);
0685  Category_rphi_layer3tob->Draw();
0686  SiStrip->cd(4);
0687  Category_rphi_layer4tob->Draw();
0688  SiStrip->cd(5);
0689  Category_rphi_layer5tob->Draw();
0690  SiStrip->cd(6);
0691  Category_rphi_layer6tob->Draw();
0692  SiStrip->cd(7);
0693  Category_sas_layer1tob->Draw();
0694  SiStrip->cd(8);
0695  Category_sas_layer2tob->Draw();
0696  SiStrip->Print("CategoryOfTOB.ps");
0697 
0698  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0699  SiStrip->Divide(4,4);
0700  SiStrip->cd(1);
0701  Posx_matched_layer1tob->Draw();
0702  SiStrip->cd(2);
0703  Posy_matched_layer1tob->Draw();
0704  SiStrip->cd(3);
0705  Posx_matched_layer2tob->Draw();
0706  SiStrip->cd(4);
0707  Posy_matched_layer2tob->Draw();
0708  SiStrip->cd(5);
0709  Errx_matched_layer1tob->Draw();
0710  SiStrip->cd(6);
0711  Erry_matched_layer1tob->Draw();
0712  SiStrip->cd(7);
0713  Errx_matched_layer2tob->Draw();
0714  SiStrip->cd(8);
0715  Erry_matched_layer2tob->Draw();
0716  SiStrip->cd(9);
0717  Resx_matched_layer1tob->Draw();
0718  SiStrip->cd(10);
0719  Resy_matched_layer1tob->Draw();
0720  SiStrip->cd(11);
0721  Resx_matched_layer2tob->Draw();
0722  SiStrip->cd(12);
0723  Resy_matched_layer2tob->Draw();
0724  SiStrip->cd(13);
0725  Pullx_matched_layer1tob->Draw();
0726  SiStrip->cd(14);
0727  Pully_matched_layer1tob->Draw();
0728  SiStrip->cd(15);
0729  Pullx_matched_layer2tob->Draw();
0730  SiStrip->cd(16);
0731  Pully_matched_layer2tob->Draw();
0732  SiStrip->Print("MatchedOfTOB.ps");
0733 
0734 ////////////////////////////////////
0735 //            TID                 //
0736 ////////////////////////////////////
0737 
0738  rfile->cd("DQMData/TrackingRecHits/Strip/TID");
0739 
0740  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0741  SiStrip->Divide(3,2);
0742  SiStrip->cd(1);
0743  Adc_rphi_layer1tid->Draw();
0744  SiStrip->cd(2);
0745  Adc_rphi_layer2tid->Draw();
0746  SiStrip->cd(3);
0747  Adc_rphi_layer3tid->Draw();
0748  SiStrip->cd(4);
0749  Adc_sas_layer1tid->Draw();
0750  SiStrip->cd(5);
0751  Adc_sas_layer2tid->Draw();
0752  SiStrip->Print("AdcOfTID.ps");
0753 
0754  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0755  SiStrip->Divide(3,2);
0756  SiStrip->cd(1);
0757  Trackwidth_rphi_layer1tid->Draw();
0758  SiStrip->cd(2);
0759  Trackwidth_rphi_layer2tid->Draw();
0760  SiStrip->cd(3);
0761  Trackwidth_rphi_layer3tid->Draw();
0762  SiStrip->cd(4);
0763  Trackwidth_sas_layer1tid->Draw();
0764  SiStrip->cd(5);
0765  Trackwidth_sas_layer2tid->Draw();
0766  SiStrip->Print("TrackwidthOfTID.ps");
0767 
0768  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0769  SiStrip->Divide(3,2);
0770  SiStrip->cd(1);
0771  Pull_LF_rphi_layer1tid->Draw();
0772  SiStrip->cd(2);
0773  Pull_LF_rphi_layer2tid->Draw();
0774  SiStrip->cd(3);
0775  Pull_LF_rphi_layer3tid->Draw();
0776  SiStrip->cd(4);
0777  Pull_LF_sas_layer1tid->Draw();
0778  SiStrip->cd(5);
0779  Pull_LF_sas_layer2tid->Draw();
0780  SiStrip->Print("PullLFOfTID.ps");
0781 
0782  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0783  SiStrip->Divide(3,2);
0784  SiStrip->cd(1);
0785  Pull_MF_rphi_layer1tid->Draw();
0786  SiStrip->cd(2);
0787  Pull_MF_rphi_layer2tid->Draw();
0788  SiStrip->cd(3);
0789  Pull_MF_rphi_layer3tid->Draw();
0790  SiStrip->cd(4);
0791  Pull_MF_sas_layer1tid->Draw();
0792  SiStrip->cd(5);
0793  Pull_MF_sas_layer2tid->Draw();
0794  SiStrip->Print("PullMFOfTID.ps");
0795 
0796  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0797  SiStrip->Divide(3,2);
0798  SiStrip->cd(1);
0799  Trackangle_rphi_layer1tid ->Draw();
0800  SiStrip->cd(2);
0801  Trackangle_rphi_layer2tid->Draw();
0802  SiStrip->cd(3);
0803  Trackangle_rphi_layer3tid ->Draw();
0804  SiStrip->cd(4);
0805  Trackangle_sas_layer1tid->Draw();
0806  SiStrip->cd(5);
0807  Trackangle_sas_layer2tid->Draw();
0808  SiStrip->Print("TrackangleOfTID.ps");
0809  /*
0810  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0811  SiStrip->Divide(3,2);
0812  SiStrip->cd(1);
0813  Lorentzangle_rphi_layer1tid ->Draw();
0814  SiStrip->cd(2);
0815  Lorentzangle_rphi_layer2tid->Draw();
0816  SiStrip->cd(3);
0817  Lorentzangle_rphi_layer3tid ->Draw();
0818  SiStrip->cd(4);
0819  Lorentzangle_sas_layer1tid->Draw();
0820  SiStrip->cd(5);
0821  Lorentzangle_sas_layer2tid->Draw();
0822  SiStrip->Print("LorentzangleOfTID.ps");
0823  */
0824  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0825  SiStrip->Divide(3,2);
0826  SiStrip->cd(1);
0827  PullTrackangleProfile_rphi_layer1tid ->Draw();
0828  SiStrip->cd(2);
0829  PullTrackangleProfile_rphi_layer2tid->Draw();
0830  SiStrip->cd(3);
0831  PullTrackangleProfile_rphi_layer3tid ->Draw();
0832  SiStrip->cd(4);
0833  PullTrackangleProfile_sas_layer1tid->Draw();
0834  SiStrip->cd(5);
0835  PullTrackangleProfile_sas_layer2tid->Draw();
0836  SiStrip->Print("PullTrackangleProfileOfTID.ps");
0837 
0838  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0839  SiStrip->Divide(3,2);
0840  SiStrip->cd(1);
0841  Nstp_rphi_layer1tid->Draw();
0842  SiStrip->cd(2);
0843  Nstp_rphi_layer2tid->Draw();
0844  SiStrip->cd(3);
0845  Nstp_rphi_layer3tid->Draw();
0846  SiStrip->cd(4);
0847  Nstp_sas_layer1tid->Draw();
0848  SiStrip->cd(5);
0849  Nstp_sas_layer2tid->Draw();
0850  SiStrip->Print("NstpOfTID.ps");
0851    
0852  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0853  SiStrip->Divide(3,2);
0854  SiStrip->cd(1);
0855  Posx_rphi_layer1tid->Draw();
0856  SiStrip->cd(2);
0857  Posx_rphi_layer2tid->Draw();
0858  SiStrip->cd(3);
0859  Posx_rphi_layer3tid->Draw();
0860  SiStrip->cd(4);
0861  Posx_sas_layer1tid->Draw();
0862  SiStrip->cd(5);
0863  Posx_sas_layer2tid->Draw();
0864  SiStrip->Print("PosOfTID.ps");
0865 
0866  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0867  SiStrip->Divide(3,2);
0868  SiStrip->cd(1);
0869  Errx_LF_rphi_layer1tid->Draw();
0870  SiStrip->cd(2);
0871  Errx_LF_rphi_layer2tid->Draw();
0872  SiStrip->cd(3);
0873  Errx_LF_rphi_layer3tid->Draw();
0874  SiStrip->cd(4);
0875  Errx_LF_sas_layer1tid->Draw();
0876  SiStrip->cd(5);
0877  Errx_LF_sas_layer2tid->Draw();
0878  SiStrip->Print("ErrLFOfTID.ps");
0879 
0880  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0881  SiStrip->Divide(3,2);
0882  SiStrip->cd(1);
0883  Errx_MF_rphi_layer1tid->Draw();
0884  SiStrip->cd(2);
0885  Errx_MF_rphi_layer2tid->Draw();
0886  SiStrip->cd(3);
0887  Errx_MF_rphi_layer3tid->Draw();
0888  SiStrip->cd(4);
0889  Errx_MF_sas_layer1tid->Draw();
0890  SiStrip->cd(5);
0891  Errx_MF_sas_layer2tid->Draw();
0892  SiStrip->Print("ErrMFOfTID.ps");
0893 
0894  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0895  SiStrip->Divide(3,2);
0896  SiStrip->cd(1);
0897  Res_LF_rphi_layer1tid->Draw();
0898  SiStrip->cd(2);
0899  Res_LF_rphi_layer2tid->Draw();
0900  SiStrip->cd(3);
0901  Res_LF_rphi_layer3tid->Draw();
0902  SiStrip->cd(4);
0903  Res_LF_sas_layer1tid->Draw();
0904  SiStrip->cd(5);
0905  Res_LF_sas_layer2tid->Draw();
0906  SiStrip->Print("ResLFOfTID.ps");
0907 
0908  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0909  SiStrip->Divide(3,2);
0910  SiStrip->cd(1);
0911  Res_MF_rphi_layer1tid->Draw();
0912  SiStrip->cd(2);
0913  Res_MF_rphi_layer2tid->Draw();
0914  SiStrip->cd(3);
0915  Res_MF_rphi_layer3tid->Draw();
0916  SiStrip->cd(4);
0917  Res_MF_sas_layer1tid->Draw();
0918  SiStrip->cd(5);
0919  Res_MF_sas_layer2tid->Draw();
0920  SiStrip->Print("ResMFOfTID.ps");
0921 
0922  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0923  SiStrip->Divide(3,2);
0924  SiStrip->cd(1);
0925  Category_rphi_layer1tid->Draw();
0926  SiStrip->cd(2);
0927  Category_rphi_layer2tid->Draw();
0928  SiStrip->cd(3);
0929  Category_rphi_layer3tid->Draw();
0930  SiStrip->cd(4);
0931  Category_sas_layer1tid->Draw();
0932  SiStrip->cd(5);
0933  Category_sas_layer2tid->Draw();
0934  SiStrip->Print("CategoryOfTID.ps");
0935 
0936  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0937  SiStrip->Divide(4,4);
0938  SiStrip->cd(1);
0939  Posx_matched_layer1tid->Draw();
0940  SiStrip->cd(2);
0941  Posy_matched_layer1tid->Draw();
0942  SiStrip->cd(3);
0943  Posx_matched_layer2tid->Draw();
0944  SiStrip->cd(4);
0945  Posy_matched_layer2tid->Draw();
0946  SiStrip->cd(5);
0947  Errx_matched_layer1tid->Draw();
0948  SiStrip->cd(6);
0949  Erry_matched_layer1tid->Draw();
0950  SiStrip->cd(7);
0951  Errx_matched_layer2tid->Draw();
0952  SiStrip->cd(8);
0953  Erry_matched_layer2tid->Draw();
0954  SiStrip->cd(9);
0955  Resx_matched_layer1tid->Draw();
0956  SiStrip->cd(10);
0957  Resy_matched_layer1tid->Draw();
0958  SiStrip->cd(11);
0959  Resx_matched_layer2tid->Draw();
0960  SiStrip->cd(12);
0961  Resy_matched_layer2tid->Draw();
0962  SiStrip->cd(13);
0963  Pullx_matched_layer1tid->Draw();
0964  SiStrip->cd(14);
0965  Pully_matched_layer1tid->Draw();
0966  SiStrip->cd(15);
0967  Pullx_matched_layer2tid->Draw();
0968  SiStrip->cd(16);
0969  Pully_matched_layer2tid->Draw();
0970  SiStrip->Print("MatchedOfTID.ps");
0971 
0972 ////////////////////////////////////
0973 //            TEC                 //
0974 ////////////////////////////////////
0975 
0976 
0977  rfile->cd("DQMData/TrackingRecHits/Strip/TEC");
0978 
0979  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0980  SiStrip->Divide(3,4);
0981  SiStrip->cd(1);
0982  Adc_rphi_layer1tec->Draw();
0983  SiStrip->cd(2);
0984  Adc_rphi_layer2tec->Draw();
0985  SiStrip->cd(3);
0986  Adc_rphi_layer3tec->Draw();
0987  SiStrip->cd(4);
0988  Adc_rphi_layer4tec->Draw();
0989  SiStrip->cd(5);
0990  Adc_rphi_layer5tec->Draw();
0991  SiStrip->cd(6);
0992  Adc_rphi_layer6tec->Draw();
0993  SiStrip->cd(7);
0994  Adc_rphi_layer7tec->Draw();
0995  SiStrip->cd(8);
0996  Adc_sas_layer1tec->Draw();
0997  SiStrip->cd(9);
0998  Adc_sas_layer2tec->Draw();
0999  SiStrip->cd(10);
1000  Adc_sas_layer5tec->Draw();
1001  SiStrip->Print("AdcOfTEC.ps");
1002 
1003  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
1004  SiStrip->Divide(3,4);
1005  SiStrip->cd(1);
1006  Trackwidth_rphi_layer1tec->Draw();
1007  SiStrip->cd(2);
1008  Trackwidth_rphi_layer2tec->Draw();
1009  SiStrip->cd(3);
1010  Trackwidth_rphi_layer3tec->Draw();
1011  SiStrip->cd(4);
1012  Trackwidth_rphi_layer4tec->Draw();
1013  SiStrip->cd(5);
1014  Trackwidth_rphi_layer5tec->Draw();
1015  SiStrip->cd(6);
1016  Trackwidth_rphi_layer6tec->Draw();
1017  SiStrip->cd(7);
1018  Trackwidth_rphi_layer7tec->Draw();
1019  SiStrip->cd(8);
1020  Trackwidth_sas_layer1tec->Draw();
1021  SiStrip->cd(9);
1022  Trackwidth_sas_layer2tec->Draw();
1023  SiStrip->cd(10);
1024  Trackwidth_sas_layer5tec->Draw();
1025  SiStrip->Print("TrackwidthOfTEC.ps");
1026 
1027  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
1028  SiStrip->Divide(3,4);
1029  SiStrip->cd(1);
1030  Pull_LF_rphi_layer1tec->Draw();
1031  SiStrip->cd(2);
1032  Pull_LF_rphi_layer2tec->Draw();
1033  SiStrip->cd(3);
1034  Pull_LF_rphi_layer3tec->Draw();
1035  SiStrip->cd(4);
1036  Pull_LF_rphi_layer4tec->Draw();
1037  SiStrip->cd(5);
1038  Pull_LF_rphi_layer5tec->Draw();
1039  SiStrip->cd(6);
1040  Pull_LF_rphi_layer6tec->Draw();
1041  SiStrip->cd(7);
1042  Pull_LF_rphi_layer7tec->Draw();
1043  SiStrip->cd(8);
1044  Pull_LF_sas_layer1tec->Draw();
1045  SiStrip->cd(9);
1046  Pull_LF_sas_layer2tec->Draw();
1047  SiStrip->cd(10);
1048  Pull_LF_sas_layer5tec->Draw();
1049  SiStrip->Print("PullLFOfTEC.ps");
1050 
1051  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
1052  SiStrip->Divide(3,4);
1053  SiStrip->cd(1);
1054  Pull_MF_rphi_layer1tec->Draw();
1055  SiStrip->cd(2);
1056  Pull_MF_rphi_layer2tec->Draw();
1057  SiStrip->cd(3);
1058  Pull_MF_rphi_layer3tec->Draw();
1059  SiStrip->cd(4);
1060  Pull_MF_rphi_layer4tec->Draw();
1061  SiStrip->cd(5);
1062  Pull_MF_rphi_layer5tec->Draw();
1063  SiStrip->cd(6);
1064  Pull_MF_rphi_layer6tec->Draw();
1065  SiStrip->cd(7);
1066  Pull_MF_rphi_layer7tec->Draw();
1067  SiStrip->cd(8);
1068  Pull_MF_sas_layer1tec->Draw();
1069  SiStrip->cd(9);
1070  Pull_MF_sas_layer2tec->Draw();
1071  SiStrip->cd(10);
1072  Pull_MF_sas_layer5tec->Draw();
1073  SiStrip->Print("PullMFOfTEC.ps");
1074 
1075  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
1076  SiStrip->Divide(3,4);
1077  SiStrip->cd(1);
1078  Trackangle_rphi_layer1tec ->Draw();
1079  SiStrip->cd(2);
1080  Trackangle_rphi_layer2tec->Draw();
1081  SiStrip->cd(3);
1082  Trackangle_rphi_layer3tec ->Draw();
1083  SiStrip->cd(4);
1084  Trackangle_rphi_layer4tec->Draw();
1085  SiStrip->cd(5);
1086  Trackangle_rphi_layer5tec->Draw();
1087  SiStrip->cd(6);
1088  Trackangle_rphi_layer6tec->Draw();
1089  SiStrip->cd(7);
1090  Trackangle_rphi_layer7tec->Draw();
1091  SiStrip->cd(8);
1092  Trackangle_sas_layer1tec->Draw();
1093  SiStrip->cd(9);
1094  Trackangle_sas_layer2tec->Draw();
1095  SiStrip->cd(10);
1096  Trackangle_sas_layer5tec->Draw();
1097  SiStrip->Print("TrackangleOfTEC.ps");
1098  /*
1099  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
1100  SiStrip->Divide(3,4);
1101  SiStrip->cd(1);
1102  Lorentzangle_rphi_layer1tec ->Draw();
1103  SiStrip->cd(2);
1104  Lorentzangle_rphi_layer2tec->Draw();
1105  SiStrip->cd(3);
1106  Lorentzangle_rphi_layer3tec ->Draw();
1107  SiStrip->cd(4);
1108  Lorentzangle_rphi_layer4tec->Draw();
1109  SiStrip->cd(5);
1110  Lorentzangle_rphi_layer5tec->Draw();
1111  SiStrip->cd(6);
1112  Lorentzangle_rphi_layer6tec->Draw();
1113  SiStrip->cd(7);
1114  Lorentzangle_rphi_layer7tec->Draw();
1115  SiStrip->cd(8);
1116  Lorentzangle_sas_layer1tec->Draw();
1117  SiStrip->cd(9);
1118  Lorentzangle_sas_layer2tec->Draw();
1119  SiStrip->cd(10);
1120  Lorentzangle_sas_layer5tec->Draw();
1121  SiStrip->Print("LorentzangleOfTEC.ps");
1122  */
1123  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
1124  SiStrip->Divide(3,4);
1125  SiStrip->cd(1);
1126  PullTrackangleProfile_rphi_layer1tec ->Draw();
1127  SiStrip->cd(2);
1128  PullTrackangleProfile_rphi_layer2tec->Draw();
1129  SiStrip->cd(3);
1130  PullTrackangleProfile_rphi_layer3tec ->Draw();
1131  SiStrip->cd(4);
1132  PullTrackangleProfile_rphi_layer4tec->Draw();
1133  SiStrip->cd(5);
1134  PullTrackangleProfile_rphi_layer5tec->Draw();
1135  SiStrip->cd(6);
1136  PullTrackangleProfile_rphi_layer6tec->Draw();
1137  SiStrip->cd(7);
1138  PullTrackangleProfile_rphi_layer7tec->Draw();
1139  SiStrip->cd(8);
1140  PullTrackangleProfile_sas_layer1tec->Draw();
1141  SiStrip->cd(9);
1142  PullTrackangleProfile_sas_layer2tec->Draw();
1143  SiStrip->cd(10);
1144  PullTrackangleProfile_sas_layer5tec->Draw();
1145  SiStrip->Print("PullTrackangleProfileOfTEC.ps");
1146 
1147  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
1148  SiStrip->Divide(3,4);
1149  SiStrip->cd(1);
1150  Nstp_rphi_layer1tec->Draw();
1151  SiStrip->cd(2);
1152  Nstp_rphi_layer2tec->Draw();
1153  SiStrip->cd(3);
1154  Nstp_rphi_layer3tec->Draw();
1155  SiStrip->cd(4);
1156  Nstp_rphi_layer4tec->Draw();
1157  SiStrip->cd(5);
1158  Nstp_rphi_layer5tec->Draw();
1159  SiStrip->cd(6);
1160  Nstp_rphi_layer6tec->Draw();
1161  SiStrip->cd(7);
1162  Nstp_rphi_layer7tec->Draw();
1163  SiStrip->cd(8);
1164  Nstp_sas_layer1tec->Draw();
1165  SiStrip->cd(9);
1166  Nstp_sas_layer2tec->Draw();
1167  SiStrip->cd(10);
1168  Nstp_sas_layer5tec->Draw();
1169  SiStrip->Print("NstpOfTEC.ps");
1170    
1171  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
1172  SiStrip->Divide(3,4);
1173  SiStrip->cd(1);
1174  Posx_rphi_layer1tec->Draw();
1175  SiStrip->cd(2);
1176  Posx_rphi_layer2tec->Draw();
1177  SiStrip->cd(3);
1178  Posx_rphi_layer3tec->Draw();
1179  SiStrip->cd(4);
1180  Posx_rphi_layer4tec->Draw();
1181  SiStrip->cd(5);
1182  Posx_rphi_layer5tec->Draw();
1183  SiStrip->cd(6);
1184  Posx_rphi_layer6tec->Draw();
1185  SiStrip->cd(7);
1186  Posx_rphi_layer7tec->Draw();
1187  SiStrip->cd(8);
1188  Posx_sas_layer1tec->Draw();
1189  SiStrip->cd(9);
1190  Posx_sas_layer2tec->Draw();
1191  SiStrip->cd(10);
1192  Posx_sas_layer5tec->Draw();
1193  SiStrip->Print("PosOfTEC.ps");
1194 
1195  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
1196  SiStrip->Divide(3,4);
1197  SiStrip->cd(1);
1198  Errx_LF_rphi_layer1tec->Draw();
1199  SiStrip->cd(2);
1200  Errx_LF_rphi_layer2tec->Draw();
1201  SiStrip->cd(3);
1202  Errx_LF_rphi_layer3tec->Draw();
1203  SiStrip->cd(4);
1204  Errx_LF_rphi_layer4tec->Draw();
1205  SiStrip->cd(5);
1206  Errx_LF_rphi_layer5tec->Draw();
1207  SiStrip->cd(6);
1208  Errx_LF_rphi_layer6tec->Draw();
1209  SiStrip->cd(7);
1210  Errx_LF_rphi_layer7tec->Draw();
1211  SiStrip->cd(8);
1212  Errx_LF_sas_layer1tec->Draw();
1213  SiStrip->cd(9);
1214  Errx_LF_sas_layer2tec->Draw();
1215  SiStrip->cd(10);
1216  Errx_LF_sas_layer5tec->Draw();
1217  SiStrip->Print("ErrLFOfTEC.ps");
1218 
1219  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
1220  SiStrip->Divide(3,4);
1221  SiStrip->cd(1);
1222  Errx_MF_rphi_layer1tec->Draw();
1223  SiStrip->cd(2);
1224  Errx_MF_rphi_layer2tec->Draw();
1225  SiStrip->cd(3);
1226  Errx_MF_rphi_layer3tec->Draw();
1227  SiStrip->cd(4);
1228  Errx_MF_rphi_layer4tec->Draw();
1229  SiStrip->cd(5);
1230  Errx_MF_rphi_layer5tec->Draw();
1231  SiStrip->cd(6);
1232  Errx_MF_rphi_layer6tec->Draw();
1233  SiStrip->cd(7);
1234  Errx_MF_rphi_layer7tec->Draw();
1235  SiStrip->cd(8);
1236  Errx_MF_sas_layer1tec->Draw();
1237  SiStrip->cd(9);
1238  Errx_MF_sas_layer2tec->Draw();
1239  SiStrip->cd(10);
1240  Errx_MF_sas_layer5tec->Draw();
1241  SiStrip->Print("ErrMFOfTEC.ps");
1242 
1243  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
1244  SiStrip->Divide(3,4);
1245  SiStrip->cd(1);
1246  Res_LF_rphi_layer1tec->Draw();
1247  SiStrip->cd(2);
1248  Res_LF_rphi_layer2tec->Draw();
1249  SiStrip->cd(3);
1250  Res_LF_rphi_layer3tec->Draw();
1251  SiStrip->cd(4);
1252  Res_LF_rphi_layer4tec->Draw();
1253  SiStrip->cd(5);
1254  Res_LF_rphi_layer5tec->Draw();
1255  SiStrip->cd(6);
1256  Res_LF_rphi_layer6tec->Draw();
1257  SiStrip->cd(7);
1258  Res_LF_rphi_layer7tec->Draw();
1259  SiStrip->cd(8);
1260  Res_LF_sas_layer1tec->Draw();
1261  SiStrip->cd(9);
1262  Res_LF_sas_layer2tec->Draw();
1263  SiStrip->cd(10);
1264  Res_LF_sas_layer5tec->Draw();
1265  SiStrip->Print("ResLFOfTEC.ps");
1266 
1267  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
1268  SiStrip->Divide(3,4);
1269  SiStrip->cd(1);
1270  Res_MF_rphi_layer1tec->Draw();
1271  SiStrip->cd(2);
1272  Res_MF_rphi_layer2tec->Draw();
1273  SiStrip->cd(3);
1274  Res_MF_rphi_layer3tec->Draw();
1275  SiStrip->cd(4);
1276  Res_MF_rphi_layer4tec->Draw();
1277  SiStrip->cd(5);
1278  Res_MF_rphi_layer5tec->Draw();
1279  SiStrip->cd(6);
1280  Res_MF_rphi_layer6tec->Draw();
1281  SiStrip->cd(7);
1282  Res_MF_rphi_layer7tec->Draw();
1283  SiStrip->cd(8);
1284  Res_MF_sas_layer1tec->Draw();
1285  SiStrip->cd(9);
1286  Res_MF_sas_layer2tec->Draw();
1287  SiStrip->cd(10);
1288  Res_MF_sas_layer5tec->Draw();
1289  SiStrip->Print("ResMFOfTEC.ps");
1290 
1291  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
1292  SiStrip->Divide(3,4);
1293  SiStrip->cd(1);
1294  Category_rphi_layer1tec->Draw();
1295  SiStrip->cd(2);
1296  Category_rphi_layer2tec->Draw();
1297  SiStrip->cd(3);
1298  Category_rphi_layer3tec->Draw();
1299  SiStrip->cd(4);
1300  Category_rphi_layer4tec->Draw();
1301  SiStrip->cd(5);
1302  Category_rphi_layer5tec->Draw();
1303  SiStrip->cd(6);
1304  Category_rphi_layer6tec->Draw();
1305  SiStrip->cd(7);
1306  Category_rphi_layer7tec->Draw();
1307  SiStrip->cd(8);
1308  Category_sas_layer1tec->Draw();
1309  SiStrip->cd(9);
1310  Category_sas_layer2tec->Draw();
1311  SiStrip->cd(10);
1312  Category_sas_layer5tec->Draw();
1313  SiStrip->Print("CategoryOfTEC.ps");
1314 
1315  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
1316  SiStrip->Divide(4,3);
1317  SiStrip->cd(1);
1318  Posx_matched_layer1tec->Draw();
1319  SiStrip->cd(2);
1320  Posy_matched_layer1tec->Draw();
1321  SiStrip->cd(3);
1322  Posx_matched_layer2tec->Draw();
1323  SiStrip->cd(4);
1324  Posy_matched_layer2tec->Draw();
1325  SiStrip->cd(5);
1326  Posx_matched_layer5tec->Draw();
1327  SiStrip->cd(6);
1328  Posy_matched_layer5tec->Draw();
1329  SiStrip->cd(7);
1330  Errx_matched_layer1tec->Draw();
1331  SiStrip->cd(8);
1332  Erry_matched_layer1tec->Draw();
1333  SiStrip->cd(9);
1334  Errx_matched_layer2tec->Draw();
1335  SiStrip->cd(10);
1336  Erry_matched_layer2tec->Draw();
1337  SiStrip->cd(11);
1338  Errx_matched_layer5tec->Draw();
1339  SiStrip->cd(12);
1340  Erry_matched_layer5tec->Draw();
1341  SiStrip->Print("MatchedOfTEC_1.ps");
1342 
1343  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
1344  SiStrip->Divide(2,6);
1345  SiStrip->cd(1);
1346  Resx_matched_layer1tec->Draw();
1347  SiStrip->cd(2);
1348  Resy_matched_layer1tec->Draw();
1349  SiStrip->cd(3);
1350  Resx_matched_layer2tec->Draw();
1351  SiStrip->cd(4);
1352  Resy_matched_layer2tec->Draw();
1353  SiStrip->cd(5);
1354  Resx_matched_layer5tec->Draw();
1355  SiStrip->cd(6);
1356  Resy_matched_layer5tec->Draw();
1357  SiStrip->cd(7);
1358  Pullx_matched_layer1tec->Draw();
1359  SiStrip->cd(8);
1360  Pully_matched_layer1tec->Draw();
1361  SiStrip->cd(9);
1362  Pullx_matched_layer2tec->Draw();
1363  SiStrip->cd(10);
1364  Pully_matched_layer2tec->Draw();
1365  SiStrip->cd(11);
1366  Pullx_matched_layer5tec->Draw();
1367  SiStrip->cd(12);
1368  Pully_matched_layer5tec->Draw();
1369    
1370  SiStrip->Print("MatchedOfTEC_2.ps");
1371 
1372 }