Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 void SiStripRecHitsPlots()
0002 {
0003 
0004  gROOT ->Reset();
0005  gStyle->SetOptStat(1111111);
0006  char*  rfilename = "sistriprechitshisto.root";
0007 
0008  delete gROOT->GetListOfFiles()->FindObject(rfilename);
0009 
0010  TText* te = new TText();
0011  TFile * rfile = new TFile(rfilename);
0012  Char_t histo[200];
0013 
0014  rfile->cd("DQMData/TrackerRecHits/Strip");
0015  gDirectory->ls();
0016 
0017  //reference files here
0018  // rfile->cd("")
0019 
0020 
0021 
0022 ////////////////////////////////////
0023 //            TIB                 //
0024 ////////////////////////////////////
0025 
0026  rfile->cd("DQMData/TrackerRecHits/Strip/TIB");
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  
0043  SiStrip->Print("AdcOfTIB.eps");
0044 
0045  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0046  SiStrip->Divide(2,3);
0047  SiStrip->cd(1);
0048  Nstp_rphi_layer1tib->Draw();
0049  SiStrip->cd(2);
0050  Nstp_rphi_layer2tib->Draw();
0051  SiStrip->cd(3);
0052  Nstp_rphi_layer3tib->Draw();
0053  SiStrip->cd(4);
0054  Nstp_rphi_layer4tib->Draw();
0055  SiStrip->cd(5);
0056  Nstp_sas_layer1tib->Draw();
0057  SiStrip->cd(6);
0058  Nstp_sas_layer2tib->Draw();
0059  
0060  SiStrip->Print("NstpOfTIB.eps");
0061    
0062  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0063  SiStrip->Divide(2,3);
0064  SiStrip->cd(1);
0065  Posx_rphi_layer1tib->Draw();
0066  SiStrip->cd(2);
0067  Posx_rphi_layer2tib->Draw();
0068  SiStrip->cd(3);
0069  Posx_rphi_layer3tib->Draw();
0070  SiStrip->cd(4);
0071  Posx_rphi_layer4tib->Draw();
0072  SiStrip->cd(5);
0073  Posx_sas_layer1tib->Draw();
0074  SiStrip->cd(6);
0075  Posx_sas_layer2tib->Draw();
0076  
0077  SiStrip->Print("PosOfTIB.eps");
0078 
0079  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0080 
0081  SiStrip->Divide(2,3);
0082  SiStrip->cd(1);
0083  Errx_rphi_layer1tib->Draw();
0084  SiStrip->cd(2);
0085  Errx_rphi_layer2tib->Draw();
0086  SiStrip->cd(3);
0087  Errx_rphi_layer3tib->Draw();
0088  SiStrip->cd(4);
0089  Errx_rphi_layer4tib->Draw();
0090  SiStrip->cd(5);
0091  Errx_sas_layer1tib->Draw();
0092  SiStrip->cd(6);
0093  Errx_sas_layer2tib->Draw();
0094  
0095  SiStrip->Print("ErrOfTIB.eps");
0096 
0097  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0098 
0099  SiStrip->Divide(2,3);
0100  SiStrip->cd(1);
0101  Res_rphi_layer1tib->Draw();
0102  SiStrip->cd(2);
0103  Res_rphi_layer2tib->Draw();
0104  SiStrip->cd(3);
0105  Res_rphi_layer3tib->Draw();
0106  SiStrip->cd(4);
0107  Res_rphi_layer4tib->Draw();
0108  SiStrip->cd(5);
0109  Res_sas_layer1tib->Draw();
0110  SiStrip->cd(6);
0111  Res_sas_layer2tib->Draw();
0112  
0113  SiStrip->Print("ResOfTIB.eps");
0114 
0115  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0116  SiStrip->Divide(2,3);
0117  SiStrip->cd(1);
0118  Pull_LF_rphi_layer1tib->Draw();
0119  SiStrip->cd(2);
0120  Pull_LF_rphi_layer2tib->Draw();
0121  SiStrip->cd(3);
0122  Pull_LF_rphi_layer3tib->Draw();
0123  SiStrip->cd(4);
0124  Pull_LF_rphi_layer4tib->Draw();
0125  SiStrip->cd(5);
0126  Pull_LF_sas_layer1tib->Draw();
0127  SiStrip->cd(6);
0128  Pull_LF_sas_layer2tib->Draw();
0129 
0130  SiStrip->Print("PullLFOfTIB.eps");
0131 
0132  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0133  SiStrip->Divide(2,3);
0134  SiStrip->cd(1);
0135  Pull_MF_rphi_layer1tib->Draw();
0136  SiStrip->cd(2);
0137  Pull_MF_rphi_layer2tib->Draw();
0138  SiStrip->cd(3);
0139  Pull_MF_rphi_layer3tib->Draw();
0140  SiStrip->cd(4);
0141  Pull_MF_rphi_layer4tib->Draw();
0142  SiStrip->cd(5);
0143  Pull_MF_sas_layer1tib->Draw();
0144  SiStrip->cd(6);
0145  Pull_MF_sas_layer2tib->Draw();
0146  SiStrip->Print("PullMFOfTIB.eps");
0147 
0148  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0149 
0150  SiStrip->Divide(2,3);
0151  SiStrip->cd(1);
0152  Chi2_rphi_layer1tib->Draw();
0153  SiStrip->cd(2);
0154  Chi2_rphi_layer2tib->Draw();
0155  SiStrip->cd(3);
0156  Chi2_rphi_layer3tib->Draw();
0157  SiStrip->cd(4);
0158  Chi2_rphi_layer4tib->Draw();
0159  SiStrip->cd(5);
0160  Chi2_sas_layer1tib->Draw();
0161  SiStrip->cd(6);
0162  Chi2_sas_layer2tib->Draw();
0163  
0164  SiStrip->Print("Chi2OfTIB.eps");
0165 
0166  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0167  SiStrip->Divide(3,3);
0168  SiStrip->cd(1);
0169  Posx_matched_layer1tib->Draw();
0170  SiStrip->cd(2);
0171  Posy_matched_layer1tib->Draw();
0172  SiStrip->cd(3);
0173  Posx_matched_layer2tib->Draw();
0174  SiStrip->cd(4);
0175  Posy_matched_layer2tib->Draw();
0176  SiStrip->cd(5);
0177  Errx_matched_layer1tib->Draw();
0178  SiStrip->cd(6);
0179  Erry_matched_layer1tib->Draw();
0180  SiStrip->cd(7);
0181  Errx_matched_layer2tib->Draw();
0182  SiStrip->cd(8);
0183  Erry_matched_layer2tib->Draw();
0184    
0185  SiStrip->Print("MatchedOfTIB.eps");
0186 
0187  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0188  SiStrip->Divide(3,2);
0189 
0190  SiStrip->cd(1);
0191  Resx_matched_layer1tib->Draw();
0192  SiStrip->cd(2);
0193  Resy_matched_layer1tib->Draw();
0194  SiStrip->cd(3);
0195  Chi2_matched_layer1tib->Draw();
0196  SiStrip->cd(4);
0197  Resx_matched_layer2tib->Draw();
0198  SiStrip->cd(5);
0199  Resy_matched_layer2tib->Draw();
0200  SiStrip->cd(6);
0201  Chi2_matched_layer2tib->Draw();
0202 
0203  SiStrip->Print("MatchedResOfTIB.eps");
0204 
0205 
0206 ////////////////////////////////////
0207 //            TOB                 //
0208 ////////////////////////////////////
0209 
0210 
0211  rfile->cd("DQMData/TrackerRecHits/Strip/TOB");
0212 
0213  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0214  SiStrip->Divide(3,3);
0215  SiStrip->cd(1);
0216  Adc_rphi_layer1tob->Draw();
0217  SiStrip->cd(2);
0218  Adc_rphi_layer2tob->Draw();
0219  SiStrip->cd(3);
0220  Adc_rphi_layer3tob->Draw();
0221  SiStrip->cd(4);
0222  Adc_rphi_layer4tob->Draw();
0223  SiStrip->cd(5);
0224  Adc_rphi_layer5tob->Draw();
0225  SiStrip->cd(6);
0226  Adc_rphi_layer6tob->Draw();
0227  SiStrip->cd(7);
0228  Adc_sas_layer1tob->Draw();
0229  SiStrip->cd(8);
0230  Adc_sas_layer2tob->Draw();
0231  
0232  SiStrip->Print("AdcOfTOB.eps");
0233 
0234  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0235  SiStrip->Divide(3,3);
0236  SiStrip->cd(1);
0237  Nstp_rphi_layer1tob->Draw();
0238  SiStrip->cd(2);
0239  Nstp_rphi_layer2tob->Draw();
0240  SiStrip->cd(3);
0241  Nstp_rphi_layer3tob->Draw();
0242  SiStrip->cd(4);
0243  Nstp_rphi_layer4tob->Draw();
0244  SiStrip->cd(5);
0245  Nstp_rphi_layer5tob->Draw();
0246  SiStrip->cd(6);
0247  Nstp_rphi_layer6tob->Draw();
0248  SiStrip->cd(7);
0249  Nstp_sas_layer1tob->Draw();
0250  SiStrip->cd(8);
0251  Nstp_sas_layer2tob->Draw();
0252  
0253  SiStrip->Print("NstpOfTOB.eps");
0254    
0255  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0256  SiStrip->Divide(3,3);
0257  SiStrip->cd(1);
0258  Posx_rphi_layer1tob->Draw();
0259  SiStrip->cd(2);
0260  Posx_rphi_layer2tob->Draw();
0261  SiStrip->cd(3);
0262  Posx_rphi_layer3tob->Draw();
0263  SiStrip->cd(4);
0264  Posx_rphi_layer4tob->Draw();
0265  SiStrip->cd(5);
0266  Posx_rphi_layer5tob->Draw();
0267  SiStrip->cd(6);
0268  Posx_rphi_layer6tob->Draw();
0269  SiStrip->cd(7);
0270  Posx_sas_layer1tob->Draw();
0271  SiStrip->cd(8);
0272  Posx_sas_layer2tob->Draw();
0273  
0274  SiStrip->Print("PosOfTOB.eps");
0275 
0276  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0277 
0278  SiStrip->Divide(3,3);
0279  SiStrip->cd(1);
0280  Errx_rphi_layer1tob->Draw();
0281  SiStrip->cd(2);
0282  Errx_rphi_layer2tob->Draw();
0283  SiStrip->cd(3);
0284  Errx_rphi_layer3tob->Draw();
0285  SiStrip->cd(4);
0286  Errx_rphi_layer4tob->Draw();
0287  SiStrip->cd(5);
0288  Errx_rphi_layer5tob->Draw();
0289  SiStrip->cd(6);
0290  Errx_rphi_layer6tob->Draw();
0291  SiStrip->cd(7);
0292  Errx_sas_layer1tob->Draw();
0293  SiStrip->cd(8);
0294  Errx_sas_layer2tob->Draw();
0295  
0296  SiStrip->Print("ErrOfTOB.eps");
0297 
0298  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0299 
0300  SiStrip->Divide(3,3);
0301  SiStrip->cd(1);
0302  Res_rphi_layer1tob->Draw();
0303  SiStrip->cd(2);
0304  Res_rphi_layer2tob->Draw();
0305  SiStrip->cd(3);
0306  Res_rphi_layer3tob->Draw();
0307  SiStrip->cd(4);
0308  Res_rphi_layer4tob->Draw();
0309  SiStrip->cd(5);
0310  Res_rphi_layer5tob->Draw();
0311  SiStrip->cd(6);
0312  Res_rphi_layer6tob->Draw();
0313  SiStrip->cd(7);
0314  Res_sas_layer1tob->Draw();
0315  SiStrip->cd(8);
0316  Res_sas_layer2tob->Draw();
0317  
0318  SiStrip->Print("ResOfTOB.eps");
0319 
0320  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0321  SiStrip->Divide(3,3);
0322  SiStrip->cd(1);
0323  Pull_LF_rphi_layer1tob->Draw();
0324  SiStrip->cd(2);
0325  Pull_LF_rphi_layer2tob->Draw();
0326  SiStrip->cd(3);
0327  Pull_LF_rphi_layer3tob->Draw();
0328  SiStrip->cd(4);
0329  Pull_LF_rphi_layer4tob->Draw();
0330  SiStrip->cd(5);
0331  Pull_LF_rphi_layer5tob->Draw();
0332  SiStrip->cd(6);
0333  Pull_LF_rphi_layer6tob->Draw();
0334  SiStrip->cd(7);
0335  Pull_LF_sas_layer1tob->Draw();
0336  SiStrip->cd(8);
0337  Pull_LF_sas_layer2tob->Draw();
0338  SiStrip->Print("PullLFOfTOB.eps");
0339 
0340 TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0341  SiStrip->Divide(3,3);
0342  SiStrip->cd(1);
0343  Pull_MF_rphi_layer1tob->Draw();
0344  SiStrip->cd(2);
0345  Pull_MF_rphi_layer2tob->Draw();
0346  SiStrip->cd(3);
0347  Pull_MF_rphi_layer3tob->Draw();
0348  SiStrip->cd(4);
0349  Pull_MF_rphi_layer4tob->Draw();
0350  SiStrip->cd(5);
0351  Pull_MF_rphi_layer5tob->Draw();
0352  SiStrip->cd(6);
0353  Pull_MF_rphi_layer6tob->Draw();
0354  SiStrip->cd(7);
0355  Pull_MF_sas_layer1tob->Draw();
0356  SiStrip->cd(8);
0357  Pull_MF_sas_layer2tob->Draw();
0358  SiStrip->Print("PullMFOfTOB.eps");
0359  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0360 
0361  SiStrip->Divide(3,3);
0362  SiStrip->cd(1);
0363  Chi2_rphi_layer1tob->Draw();
0364  SiStrip->cd(2);
0365  Chi2_rphi_layer2tob->Draw();
0366  SiStrip->cd(3);
0367  Chi2_rphi_layer3tob->Draw();
0368  SiStrip->cd(4);
0369  Chi2_rphi_layer4tob->Draw();
0370  SiStrip->cd(5);
0371  Chi2_rphi_layer5tob->Draw();
0372  SiStrip->cd(6);
0373  Chi2_rphi_layer6tob->Draw();
0374  SiStrip->cd(7);
0375  Chi2_sas_layer1tob->Draw();
0376  SiStrip->cd(8);
0377  Chi2_sas_layer2tob->Draw();
0378  
0379  SiStrip->Print("Chi2OfTOB.eps");
0380 
0381  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0382  SiStrip->Divide(3,3);
0383  SiStrip->cd(1);
0384  Posx_matched_layer1tob->Draw();
0385  SiStrip->cd(2);
0386  Posy_matched_layer1tob->Draw();
0387  SiStrip->cd(3);
0388  Posx_matched_layer2tob->Draw();
0389  SiStrip->cd(4);
0390  Posy_matched_layer2tob->Draw();
0391  SiStrip->cd(5);
0392  Errx_matched_layer1tob->Draw();
0393  SiStrip->cd(6);
0394  Erry_matched_layer1tob->Draw();
0395  SiStrip->cd(7);
0396  Errx_matched_layer2tob->Draw();
0397  SiStrip->cd(8);
0398  Erry_matched_layer2tob->Draw();
0399    
0400  SiStrip->Print("MatchedOfTOB.eps");
0401 
0402  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0403  SiStrip->Divide(3,2);
0404  SiStrip->cd(1);
0405  Resx_matched_layer1tob->Draw();
0406  SiStrip->cd(2);
0407  Resy_matched_layer1tob->Draw();
0408  SiStrip->cd(3);
0409  Chi2_matched_layer1tob->Draw();
0410  SiStrip->cd(4);
0411  Resx_matched_layer2tob->Draw();
0412  SiStrip->cd(5);
0413  Resy_matched_layer2tob->Draw();
0414  SiStrip->cd(6);
0415  Chi2_matched_layer2tob->Draw();
0416  
0417  SiStrip->Print("MatchedResOfTOB.eps");
0418 
0419 ////////////////////////////////////
0420 //            TID                 //
0421 ////////////////////////////////////
0422 
0423  rfile->cd("DQMData/TrackerRecHits/Strip/TID");
0424 
0425  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0426  SiStrip->Divide(3,2);
0427  SiStrip->cd(1);
0428  Adc_rphi_layer1tid->Draw();
0429  SiStrip->cd(2);
0430  Adc_rphi_layer2tid->Draw();
0431  SiStrip->cd(3);
0432  Adc_rphi_layer3tid->Draw();
0433  SiStrip->cd(4);
0434  Adc_sas_layer1tid->Draw();
0435  SiStrip->cd(5);
0436  Adc_sas_layer2tid->Draw();
0437  
0438  SiStrip->Print("AdcOfTID.eps");
0439 
0440  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0441  SiStrip->Divide(3,2);
0442  SiStrip->cd(1);
0443  Nstp_rphi_layer1tid->Draw();
0444  SiStrip->cd(2);
0445  Nstp_rphi_layer2tid->Draw();
0446  SiStrip->cd(3);
0447  Nstp_rphi_layer3tid->Draw();
0448  SiStrip->cd(4);
0449  Nstp_sas_layer1tid->Draw();
0450  SiStrip->cd(5);
0451  Nstp_sas_layer2tid->Draw();
0452  
0453  SiStrip->Print("NstpOfTID.eps");
0454    
0455  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0456  SiStrip->Divide(3,2);
0457  SiStrip->cd(1);
0458  Posx_rphi_layer1tid->Draw();
0459  SiStrip->cd(2);
0460  Posx_rphi_layer2tid->Draw();
0461  SiStrip->cd(3);
0462  Posx_rphi_layer3tid->Draw();
0463  SiStrip->cd(4);
0464  Posx_sas_layer1tid->Draw();
0465  SiStrip->cd(5);
0466  Posx_sas_layer2tid->Draw();
0467  
0468  SiStrip->Print("PosOfTID.eps");
0469 
0470  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0471 
0472  SiStrip->Divide(3,2);
0473  SiStrip->cd(1);
0474  Errx_rphi_layer1tid->Draw();
0475  SiStrip->cd(2);
0476  Errx_rphi_layer2tid->Draw();
0477  SiStrip->cd(3);
0478  Errx_rphi_layer3tid->Draw();
0479  SiStrip->cd(4);
0480  Errx_sas_layer1tid->Draw();
0481  SiStrip->cd(5);
0482  Errx_sas_layer2tid->Draw();
0483  
0484  SiStrip->Print("ErrOfTID.eps");
0485 
0486  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0487 
0488  SiStrip->Divide(3,2);
0489  SiStrip->cd(1);
0490  Res_rphi_layer1tid->Draw();
0491  SiStrip->cd(2);
0492  Res_rphi_layer2tid->Draw();
0493  SiStrip->cd(3);
0494  Res_rphi_layer3tid->Draw();
0495  SiStrip->cd(4);
0496  Res_sas_layer1tid->Draw();
0497  SiStrip->cd(5);
0498  Res_sas_layer2tid->Draw();
0499  
0500  SiStrip->Print("ResOfTID.eps");
0501 
0502  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0503  SiStrip->Divide(3,2);
0504  SiStrip->cd(1);
0505  Pull_LF_rphi_layer1tid->Draw();
0506  SiStrip->cd(2);
0507  Pull_LF_rphi_layer2tid->Draw();
0508  SiStrip->cd(3);
0509  Pull_LF_rphi_layer3tid->Draw();
0510  SiStrip->cd(4);
0511  Pull_LF_sas_layer1tid->Draw();
0512  SiStrip->cd(5);
0513  Pull_LF_sas_layer2tid->Draw();
0514  SiStrip->Print("PullLFOfTID.eps");
0515 
0516  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0517  SiStrip->Divide(3,2);
0518  SiStrip->cd(1);
0519  Pull_MF_rphi_layer1tid->Draw();
0520  SiStrip->cd(2);
0521  Pull_MF_rphi_layer2tid->Draw();
0522  SiStrip->cd(3);
0523  Pull_MF_rphi_layer3tid->Draw();
0524  SiStrip->cd(4);
0525  Pull_MF_sas_layer1tid->Draw();
0526  SiStrip->cd(5);
0527  Pull_MF_sas_layer2tid->Draw();
0528  SiStrip->Print("PullMFOfTID.eps");
0529 
0530  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0531 
0532  SiStrip->Divide(3,2);
0533  SiStrip->cd(1);
0534  Chi2_rphi_layer1tid->Draw();
0535  SiStrip->cd(2);
0536  Chi2_rphi_layer2tid->Draw();
0537  SiStrip->cd(3);
0538  Chi2_rphi_layer3tid->Draw();
0539  SiStrip->cd(4);
0540  Chi2_sas_layer1tid->Draw();
0541  SiStrip->cd(5);
0542  Chi2_sas_layer2tid->Draw();
0543  
0544  SiStrip->Print("Chi2OfTID.eps");
0545 
0546  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0547  SiStrip->Divide(3,3);
0548  SiStrip->cd(1);
0549  Posx_matched_layer1tid->Draw();
0550  SiStrip->cd(2);
0551  Posy_matched_layer1tid->Draw();
0552  SiStrip->cd(3);
0553  Posx_matched_layer2tid->Draw();
0554  SiStrip->cd(4);
0555  Posy_matched_layer2tid->Draw();
0556  SiStrip->cd(5);
0557  Errx_matched_layer1tid->Draw();
0558  SiStrip->cd(6);
0559  Erry_matched_layer1tid->Draw();
0560  SiStrip->cd(7);
0561  Errx_matched_layer2tid->Draw();
0562  SiStrip->cd(8);
0563  Erry_matched_layer2tid->Draw();
0564    
0565  SiStrip->Print("MatchedOfTID.eps");
0566 
0567  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0568  SiStrip->Divide(3,2);
0569  SiStrip->cd(1);
0570  Resx_matched_layer1tid->Draw();
0571  SiStrip->cd(2);
0572  Resy_matched_layer1tid->Draw();
0573  SiStrip->cd(3);
0574  Chi2_matched_layer1tid->Draw();
0575  SiStrip->cd(4);
0576  Resx_matched_layer2tid->Draw();
0577  SiStrip->cd(5);
0578  Resy_matched_layer2tid->Draw();
0579  SiStrip->cd(6);
0580  Chi2_matched_layer2tid->Draw();
0581    
0582  SiStrip->Print("MatchedResOfTID.eps");
0583 
0584 ////////////////////////////////////
0585 //            TEC                 //
0586 ////////////////////////////////////
0587 
0588 
0589  rfile->cd("DQMData/TrackerRecHits/Strip/TEC");
0590 
0591  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0592  SiStrip->Divide(3,4);
0593  SiStrip->cd(1);
0594  Adc_rphi_layer1tec->Draw();
0595  SiStrip->cd(2);
0596  Adc_rphi_layer2tec->Draw();
0597  SiStrip->cd(3);
0598  Adc_rphi_layer3tec->Draw();
0599  SiStrip->cd(4);
0600  Adc_rphi_layer4tec->Draw();
0601  SiStrip->cd(5);
0602  Adc_rphi_layer5tec->Draw();
0603  SiStrip->cd(6);
0604  Adc_rphi_layer6tec->Draw();
0605  SiStrip->cd(7);
0606  Adc_rphi_layer7tec->Draw();
0607  SiStrip->cd(8);
0608  Adc_sas_layer1tec->Draw();
0609  SiStrip->cd(9);
0610  Adc_sas_layer2tec->Draw();
0611  SiStrip->cd(10);
0612  Adc_sas_layer5tec->Draw();
0613  
0614  SiStrip->Print("AdcOfTEC.eps");
0615 
0616  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0617  SiStrip->Divide(3,4);
0618  SiStrip->cd(1);
0619  Nstp_rphi_layer1tec->Draw();
0620  SiStrip->cd(2);
0621  Nstp_rphi_layer2tec->Draw();
0622  SiStrip->cd(3);
0623  Nstp_rphi_layer3tec->Draw();
0624  SiStrip->cd(4);
0625  Nstp_rphi_layer4tec->Draw();
0626  SiStrip->cd(5);
0627  Nstp_rphi_layer5tec->Draw();
0628  SiStrip->cd(6);
0629  Nstp_rphi_layer6tec->Draw();
0630  SiStrip->cd(7);
0631  Nstp_rphi_layer7tec->Draw();
0632  SiStrip->cd(8);
0633  Nstp_sas_layer1tec->Draw();
0634  SiStrip->cd(9);
0635  Nstp_sas_layer2tec->Draw();
0636  SiStrip->cd(10);
0637  Nstp_sas_layer5tec->Draw();
0638  
0639  SiStrip->Print("NstpOfTEC.eps");
0640    
0641  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0642  
0643  SiStrip->Divide(3,4);
0644  SiStrip->cd(1);
0645  Posx_rphi_layer1tec->Draw();
0646  SiStrip->cd(2);
0647  Posx_rphi_layer2tec->Draw();
0648  SiStrip->cd(3);
0649  Posx_rphi_layer3tec->Draw();
0650  SiStrip->cd(4);
0651  Posx_rphi_layer4tec->Draw();
0652  SiStrip->cd(5);
0653  Posx_rphi_layer5tec->Draw();
0654  SiStrip->cd(6);
0655  Posx_rphi_layer6tec->Draw();
0656  SiStrip->cd(7);
0657  Posx_rphi_layer7tec->Draw();
0658  SiStrip->cd(8);
0659  Posx_sas_layer1tec->Draw();
0660  SiStrip->cd(9);
0661  Posx_sas_layer2tec->Draw();
0662  SiStrip->cd(10);
0663  Posx_sas_layer5tec->Draw();
0664  SiStrip->Print("PosOfTEC.eps");
0665 
0666  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0667 
0668  SiStrip->Divide(3,4);
0669  SiStrip->cd(1);
0670  Errx_rphi_layer1tec->Draw();
0671  SiStrip->cd(2);
0672  Errx_rphi_layer2tec->Draw();
0673  SiStrip->cd(3);
0674  Errx_rphi_layer3tec->Draw();
0675  SiStrip->cd(4);
0676  Errx_rphi_layer4tec->Draw();
0677  SiStrip->cd(5);
0678  Errx_rphi_layer5tec->Draw();
0679  SiStrip->cd(6);
0680  Errx_rphi_layer6tec->Draw();
0681  SiStrip->cd(7);
0682  Errx_rphi_layer7tec->Draw();
0683  SiStrip->cd(8);
0684  Errx_sas_layer1tec->Draw();
0685  SiStrip->cd(9);
0686  Errx_sas_layer2tec->Draw();
0687  SiStrip->cd(10);
0688  Errx_sas_layer5tec->Draw();
0689  SiStrip->Print("ErrOfTEC.eps");
0690 
0691 
0692  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0693  SiStrip->Divide(3,4);
0694  SiStrip->cd(1);
0695  Res_rphi_layer1tec->Draw();
0696  SiStrip->cd(2);
0697  Res_rphi_layer2tec->Draw();
0698  SiStrip->cd(3);
0699  Res_rphi_layer3tec->Draw();
0700  SiStrip->cd(4);
0701  Res_rphi_layer4tec->Draw();
0702  SiStrip->cd(5);
0703  Res_rphi_layer5tec->Draw();
0704  SiStrip->cd(6);
0705  Res_rphi_layer6tec->Draw();
0706  SiStrip->cd(7);
0707  Res_rphi_layer7tec->Draw();
0708  SiStrip->cd(8);
0709  Res_sas_layer1tec->Draw();
0710  SiStrip->cd(9);
0711  Res_sas_layer2tec->Draw();
0712  SiStrip->cd(10);
0713  Res_sas_layer5tec->Draw();
0714  
0715  SiStrip->Print("ResOfTEC.eps");
0716 
0717  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0718  SiStrip->Divide(3,4);
0719  SiStrip->cd(1);
0720  Pull_LF_rphi_layer1tec->Draw();
0721  SiStrip->cd(2);
0722  Pull_LF_rphi_layer2tec->Draw();
0723  SiStrip->cd(3);
0724  Pull_LF_rphi_layer3tec->Draw();
0725  SiStrip->cd(4);
0726  Pull_LF_rphi_layer4tec->Draw();
0727  SiStrip->cd(5);
0728  Pull_LF_rphi_layer5tec->Draw();
0729  SiStrip->cd(6);
0730  Pull_LF_rphi_layer6tec->Draw();
0731  SiStrip->cd(7);
0732  Pull_LF_rphi_layer7tec->Draw();
0733  SiStrip->cd(8);
0734  Pull_LF_sas_layer1tec->Draw();
0735  SiStrip->cd(9);
0736  Pull_LF_sas_layer2tec->Draw();
0737  SiStrip->cd(10);
0738  Pull_LF_sas_layer5tec->Draw();
0739  SiStrip->Print("PullLFOfTEC.eps");
0740 
0741  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0742  SiStrip->Divide(3,4);
0743  SiStrip->cd(1);
0744  Pull_MF_rphi_layer1tec->Draw();
0745  SiStrip->cd(2);
0746  Pull_MF_rphi_layer2tec->Draw();
0747  SiStrip->cd(3);
0748  Pull_MF_rphi_layer3tec->Draw();
0749  SiStrip->cd(4);
0750  Pull_MF_rphi_layer4tec->Draw();
0751  SiStrip->cd(5);
0752  Pull_MF_rphi_layer5tec->Draw();
0753  SiStrip->cd(6);
0754  Pull_MF_rphi_layer6tec->Draw();
0755  SiStrip->cd(7);
0756  Pull_MF_rphi_layer7tec->Draw();
0757  SiStrip->cd(8);
0758  Pull_MF_sas_layer1tec->Draw();
0759  SiStrip->cd(9);
0760  Pull_MF_sas_layer2tec->Draw();
0761  SiStrip->cd(10);
0762  Pull_MF_sas_layer5tec->Draw();
0763  SiStrip->Print("PullMFOfTEC.eps");
0764 
0765  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0766  SiStrip->Divide(3,4);
0767  SiStrip->cd(1);
0768  Chi2_rphi_layer1tec->Draw();
0769  SiStrip->cd(2);
0770  Chi2_rphi_layer2tec->Draw();
0771  SiStrip->cd(3);
0772  Chi2_rphi_layer3tec->Draw();
0773  SiStrip->cd(4);
0774  Chi2_rphi_layer4tec->Draw();
0775  SiStrip->cd(5);
0776  Chi2_rphi_layer5tec->Draw();
0777  SiStrip->cd(6);
0778  Chi2_rphi_layer6tec->Draw();
0779  SiStrip->cd(7);
0780  Chi2_rphi_layer7tec->Draw();
0781  SiStrip->cd(8);
0782  Chi2_sas_layer1tec->Draw();
0783  SiStrip->cd(9);
0784  Chi2_sas_layer2tec->Draw();
0785  SiStrip->cd(10);
0786  Chi2_sas_layer5tec->Draw();
0787  
0788  SiStrip->Print("Chi2OfTEC.eps");
0789 
0790  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0791  SiStrip->Divide(4,3);
0792  SiStrip->cd(1);
0793  Posx_matched_layer1tec->Draw();
0794  SiStrip->cd(2);
0795  Posy_matched_layer1tec->Draw();
0796  SiStrip->cd(3);
0797  Posx_matched_layer2tec->Draw();
0798  SiStrip->cd(4);
0799  Posy_matched_layer2tec->Draw();
0800  SiStrip->cd(5);
0801  Posx_matched_layer5tec->Draw();
0802  SiStrip->cd(6);
0803  Posy_matched_layer5tec->Draw();
0804  SiStrip->cd(7);
0805  Errx_matched_layer1tec->Draw();
0806  SiStrip->cd(8);
0807  Erry_matched_layer1tec->Draw();
0808  SiStrip->cd(9);
0809  Errx_matched_layer2tec->Draw();
0810  SiStrip->cd(10);
0811  Erry_matched_layer2tec->Draw();
0812  SiStrip->cd(11);
0813  Errx_matched_layer5tec->Draw();
0814  SiStrip->cd(12);
0815  Erry_matched_layer5tec->Draw();
0816 
0817  SiStrip->Print("MatchedOfTEC.eps");
0818 
0819  TCanvas * SiStrip = new TCanvas("SiStrip","SiStrip");
0820  SiStrip->Divide(3,3);
0821  SiStrip->cd(1);
0822  Resx_matched_layer1tec->Draw();
0823  SiStrip->cd(2);
0824  Resy_matched_layer1tec->Draw();
0825  SiStrip->cd(3);
0826  Chi2_matched_layer1tec->Draw();
0827  SiStrip->cd(4);
0828  Resx_matched_layer2tec->Draw();
0829  SiStrip->cd(5);
0830  Resy_matched_layer2tec->Draw();
0831  SiStrip->cd(6);
0832  Chi2_matched_layer2tec->Draw();
0833  SiStrip->cd(7);
0834  Resx_matched_layer5tec->Draw();
0835  SiStrip->cd(8);
0836  Resy_matched_layer5tec->Draw();
0837  SiStrip->cd(9);
0838  Chi2_matched_layer5tec->Draw();
0839    
0840  SiStrip->Print("MatchedResOfTEC.eps");
0841 }
0842