650 ostringstream spa;
for (
unsigned int i=0;
i<
typePlots_.size();
i++) spa <<
" ";
651 cout <<
"************************************ "<< spa.str() <<
" *************" << endl;
652 cout <<
"SiPixelHistoricInfoReader::plot() in "<<
typePlots_<<
" with patience" << endl;
653 cout <<
"************************************ "<< spa.str() <<
" *************" << endl;
655 TStyle* sty1 =
new TStyle(
"sty1",
"My Style.1 for Pixel History Plots");
656 sty1->SetCanvasDefW(1080);
657 sty1->SetCanvasDefH(250);
658 sty1->SetCanvasBorderMode(0);
659 sty1->SetPadBorderMode(0);
660 sty1->SetPadLeftMargin(0.05);
661 sty1->SetPadRightMargin(0.03);
662 sty1->SetPadTopMargin(0.16);
663 sty1->SetPadBottomMargin(0.15);
664 sty1->SetTitleBorderSize(0);
665 sty1->SetTitleFontSize(0.07);
669 TCanvas*
c1 =
new TCanvas(
"c1",
"c1",1080,250);
670 c1->UseCurrentStyle();
672 for (vector<uint32_t>::const_iterator iDet=
allDetIds.begin(); iDet!=
allDetIds.end(); ++iDet) {
675 for (
int pBin=0; pBin<15; pBin++) {
678 if (errFED->Integral()>0.0) {
679 errFED->SetMinimum(0.0);
680 errFED->GetXaxis()->SetLabelSize(0.08);
681 errFED->GetYaxis()->SetLabelSize(0.06);
682 errFED->SetMarkerStyle(8);
683 errFED->SetMarkerSize(0.2);
691 if (*iDet==80 || *iDet==81) {
695 trkFrac->SetMinimum(0.0);
696 trkFrac->SetMarkerStyle(8);
697 trkFrac->SetMarkerSize(0.2);
698 trkFrac->GetXaxis()->SetLabelSize(0.08);
699 trkFrac->GetYaxis()->SetLabelSize(0.06);
707 nOnTrackClusters->SetMinimum(0.0);
708 nOnTrackClusters->SetMarkerStyle(8);
709 nOnTrackClusters->SetMarkerSize(0.2);
710 nOnTrackClusters->GetXaxis()->SetLabelSize(0.08);
711 nOnTrackClusters->GetYaxis()->SetLabelSize(0.06);
712 nOnTrackClusters->Draw();
716 hisID =
"onTrackClusterCharge_";
hisID += *iDet;
718 onTrackClusterCharge->SetMinimum(0.0);
719 onTrackClusterCharge->SetMarkerStyle(8);
720 onTrackClusterCharge->SetMarkerSize(0.2);
721 onTrackClusterCharge->GetXaxis()->SetLabelSize(0.08);
722 onTrackClusterCharge->GetYaxis()->SetLabelSize(0.06);
723 onTrackClusterCharge->Draw();
727 hisID =
"onTrackClusterSize_";
hisID += *iDet;
729 onTrackClusterSize->SetMinimum(0.0);
730 onTrackClusterSize->SetMarkerStyle(8);
731 onTrackClusterSize->SetMarkerSize(0.2);
732 onTrackClusterSize->GetXaxis()->SetLabelSize(0.08);
733 onTrackClusterSize->GetYaxis()->SetLabelSize(0.06);
734 onTrackClusterSize->Draw();
741 nOffTrackClusters->SetMinimum(0.0);
742 nOffTrackClusters->SetMarkerStyle(8);
743 nOffTrackClusters->SetMarkerSize(0.2);
744 nOffTrackClusters->GetXaxis()->SetLabelSize(0.08);
745 nOffTrackClusters->GetYaxis()->SetLabelSize(0.06);
746 nOffTrackClusters->Draw();
750 hisID =
"offTrackClusterCharge_";
hisID += *iDet;
752 offTrackClusterCharge->SetMinimum(0.0);
753 offTrackClusterCharge->SetMarkerStyle(8);
754 offTrackClusterCharge->SetMarkerSize(0.2);
755 offTrackClusterCharge->GetXaxis()->SetLabelSize(0.08);
756 offTrackClusterCharge->GetYaxis()->SetLabelSize(0.06);
757 offTrackClusterCharge->Draw();
761 hisID =
"offTrackClusterSize_";
hisID += *iDet;
763 offTrackClusterSize->SetMinimum(0.0);
764 offTrackClusterSize->SetMarkerStyle(8);
765 offTrackClusterSize->SetMarkerSize(0.2);
766 offTrackClusterSize->GetXaxis()->SetLabelSize(0.08);
767 offTrackClusterSize->GetYaxis()->SetLabelSize(0.06);
768 offTrackClusterSize->Draw();
777 nDigis->SetMinimum(0.0);
778 nDigis->SetMarkerStyle(8);
779 nDigis->SetMarkerSize(0.2);
780 nDigis->GetXaxis()->SetLabelSize(0.08);
781 nDigis->GetYaxis()->SetLabelSize(0.06);
789 adc->SetMinimum(0.0);
790 adc->SetMarkerStyle(8);
791 adc->SetMarkerSize(0.2);
792 adc->GetXaxis()->SetLabelSize(0.08);
793 adc->GetYaxis()->SetLabelSize(0.06);
801 nClusters->SetMinimum(0.0);
802 nClusters->SetMarkerStyle(8);
803 nClusters->SetMarkerSize(0.2);
804 nClusters->GetXaxis()->SetLabelSize(0.08);
805 nClusters->GetYaxis()->SetLabelSize(0.06);
813 charge->SetMinimum(0.0);
814 charge->SetMarkerStyle(8);
815 charge->SetMarkerSize(0.2);
816 charge->GetXaxis()->SetLabelSize(0.08);
817 charge->GetYaxis()->SetLabelSize(0.06);
825 clusterSize->SetMinimum(0.0);
826 clusterSize->SetMarkerStyle(8);
827 clusterSize->SetMarkerSize(0.2);
828 clusterSize->GetXaxis()->SetLabelSize(0.08);
829 clusterSize->GetYaxis()->SetLabelSize(0.06);
837 sizeX->SetMinimum(0.0);
838 sizeX->SetMarkerStyle(8);
839 sizeX->SetMarkerSize(0.2);
840 sizeX->GetXaxis()->SetLabelSize(0.08);
841 sizeX->GetYaxis()->SetLabelSize(0.06);
849 sizeY->SetMinimum(0.0);
850 sizeY->SetMarkerStyle(8);
851 sizeY->SetMarkerSize(0.2);
852 sizeY->GetXaxis()->SetLabelSize(0.08);
853 sizeY->GetYaxis()->SetLabelSize(0.06);
861 nRecHits->SetMinimum(0.0);
862 nRecHits->SetMarkerStyle(8);
863 nRecHits->SetMarkerSize(0.2);
864 nRecHits->GetXaxis()->SetLabelSize(0.08);
865 nRecHits->GetYaxis()->SetLabelSize(0.06);
873 residualX->SetMinimum(0.0);
874 residualX->SetMarkerStyle(8);
875 residualX->SetMarkerSize(0.2);
876 residualX->GetXaxis()->SetLabelSize(0.08);
877 residualX->GetYaxis()->SetLabelSize(0.06);
885 residualY->SetMinimum(0.0);
886 residualY->SetMarkerStyle(8);
887 residualY->SetMarkerSize(0.2);
888 residualY->GetXaxis()->SetLabelSize(0.08);
889 residualY->GetYaxis()->SetLabelSize(0.06);
897 nPixHitsTrk->SetMinimum(0.0);
898 nPixHitsTrk->SetMarkerStyle(8);
899 nPixHitsTrk->SetMarkerSize(0.2);
900 nPixHitsTrk->GetXaxis()->SetLabelSize(0.08);
901 nPixHitsTrk->GetYaxis()->SetLabelSize(0.06);
909 nNoisPixels->SetMinimum(0.0);
910 nNoisPixels->SetMarkerStyle(8);
911 nNoisPixels->SetMarkerSize(0.2);
912 nNoisPixels->GetXaxis()->SetLabelSize(0.08);
913 nNoisPixels->GetYaxis()->SetLabelSize(0.06);
921 nDeadPixels->SetMinimum(0.0);
922 nDeadPixels->SetMarkerStyle(8);
923 nDeadPixels->SetMarkerSize(0.2);
924 nDeadPixels->GetXaxis()->SetLabelSize(0.08);
925 nDeadPixels->GetYaxis()->SetLabelSize(0.06);
932 TStyle* sty2 =
new TStyle(
"mSty2",
"My Style.2 for Pixel History Plots");
933 sty2->SetCanvasDefW(1080);
934 sty2->SetCanvasDefH(135);
935 sty2->SetCanvasBorderMode(0);
936 sty2->SetPadBorderMode(0);
937 sty2->SetPadLeftMargin(0.05);
938 sty2->SetPadRightMargin(0.03);
939 sty2->SetPadTopMargin(0.18);
940 sty2->SetPadBottomMargin(0.31);
941 sty2->SetTitleBorderSize(0);
942 sty2->SetTitleFontSize(0.144);
943 sty2->SetTitleX(0.409);
947 TCanvas*
c2 =
new TCanvas(
"c2",
"c2",1080,135);
948 c2->UseCurrentStyle();
950 for (vector<uint32_t>::const_iterator iDet=
allDetIds.begin(); iDet!=
allDetIds.end(); ++iDet) {
955 mFr->SetMinimum(0.0);
956 mFr->GetXaxis()->SetLabelOffset(0.009);
957 mFr->GetXaxis()->SetLabelSize(0.165);
958 mFr->GetYaxis()->SetLabelSize(0.120);
966 mFr->SetMinimum(0.0);
967 mFr->GetXaxis()->SetLabelOffset(0.009);
968 mFr->GetXaxis()->SetLabelSize(0.165);
969 mFr->GetYaxis()->SetLabelSize(0.120);
977 mFr->SetMinimum(0.0);
978 mFr->GetXaxis()->SetLabelOffset(0.009);
979 mFr->GetXaxis()->SetLabelSize(0.165);
980 mFr->GetYaxis()->SetLabelSize(0.120);
988 mFr->SetMinimum(0.0);
989 mFr->GetXaxis()->SetLabelOffset(0.009);
990 mFr->GetXaxis()->SetLabelSize(0.165);
991 mFr->GetYaxis()->SetLabelSize(0.120);
999 mFr->SetMinimum(0.0);
1000 mFr->GetXaxis()->SetLabelOffset(0.009);
1001 mFr->GetXaxis()->SetLabelSize(0.165);
1002 mFr->GetYaxis()->SetLabelSize(0.120);
1010 mFr->SetMinimum(0.0);
1011 mFr->GetXaxis()->SetLabelOffset(0.009);
1012 mFr->GetXaxis()->SetLabelSize(0.165);
1013 mFr->GetYaxis()->SetLabelSize(0.120);
1021 mFr->SetMinimum(0.0);
1022 mFr->GetXaxis()->SetLabelOffset(0.009);
1023 mFr->GetXaxis()->SetLabelSize(0.165);
1024 mFr->GetYaxis()->SetLabelSize(0.120);
1032 mFr->SetMinimum(0.0);
1033 mFr->GetXaxis()->SetLabelOffset(0.009);
1034 mFr->GetXaxis()->SetLabelSize(0.165);
1035 mFr->GetYaxis()->SetLabelSize(0.120);
1043 mFr->SetMinimum(0.0);
1044 mFr->GetXaxis()->SetLabelOffset(0.009);
1045 mFr->GetXaxis()->SetLabelSize(0.165);
1046 mFr->GetYaxis()->SetLabelSize(0.120);
1054 mFr->SetMinimum(0.0);
1055 mFr->GetXaxis()->SetLabelOffset(0.009);
1056 mFr->GetXaxis()->SetLabelSize(0.165);
1057 mFr->GetYaxis()->SetLabelSize(0.120);
int adc(sample_type sample)
get the ADC sample (12 bits)
std::vector< uint32_t > allDetIds
TObjArray * AllDetHistograms