1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
16 ////////////////////////////////////////////////////////////////////////////
18 // AliTRDCalibChamberStatus: to determine which half chambers are off //
19 // Produce a AliTRDCalChamberStatus calibration object //
20 // Check with the AliTRDCalDCSFEEv2 info //
24 // J. Book (jbook@ikf.uni-frankfurt.de) //
25 // R. Bailhache (rbailhache@ikf.uni-frankfurt.de) //
27 ////////////////////////////////////////////////////////////////////////////
31 #include <THnSparse.h>
33 #include <TDirectory.h>
41 #include "AliRawReader.h"
45 #include "AliTRDCalibChamberStatus.h"
46 #include "AliTRDgeometry.h"
47 #include "AliTRDfeeParam.h"
48 #include "AliTRDdigitsManager.h"
49 #include "AliTRDSignalIndex.h"
50 #include "AliTRDpadPlane.h"
51 #include "./Cal/AliTRDCalChamberStatus.h"
52 #include "./Cal/AliTRDCalDCSv2.h"
53 #include "./Cal/AliTRDCalDCSFEEv2.h"
55 #include "AliTRDrawStream.h"
56 #include "AliTRDseedV1.h"
57 #include "AliTRDcluster.h"
63 ClassImp(AliTRDCalibChamberStatus) /*FOLD00*/
65 //_____________________________________________________________________
66 AliTRDCalibChamberStatus::AliTRDCalibChamberStatus() : /*FOLD00*/
70 fCounterEventNotEmpty(0),
71 fCalChamberStatus(0x0),
81 // default constructor
85 //_____________________________________________________________________
86 AliTRDCalibChamberStatus::AliTRDCalibChamberStatus(const AliTRDCalibChamberStatus &ped) : /*FOLD00*/
88 fDetector(ped.fDetector),
89 fNumberOfTimeBins(ped.fNumberOfTimeBins),
90 fCounterEventNotEmpty(ped.fCounterEventNotEmpty),
91 fCalChamberStatus(ped.fCalChamberStatus),
92 fHnSparseI(ped.fHnSparseI),
93 fHnSparseHCM(ped.fHnSparseHCM),
94 fHnSparseEvtDet(ped.fHnSparseEvtDet),
95 fHnSparseDebug(ped.fHnSparseDebug),
96 fHnSparseMCM(ped.fHnSparseMCM),
98 fDebugLevel(ped.fDebugLevel)
105 //_____________________________________________________________________
106 AliTRDCalibChamberStatus& AliTRDCalibChamberStatus::operator = (const AliTRDCalibChamberStatus &source)
109 // assignment operator
111 if (&source == this) return *this;
112 new (this) AliTRDCalibChamberStatus(source);
116 //_____________________________________________________________________
117 AliTRDCalibChamberStatus::~AliTRDCalibChamberStatus() /*FOLD00*/
122 if(fCalChamberStatus){
123 delete fCalChamberStatus;
131 if(fHnSparseEvtDet) {
132 delete fHnSparseEvtDet;
135 delete fHnSparseDebug;
145 //_____________________________________________________________________
146 void AliTRDCalibChamberStatus::Init()
149 // Init the different THnSparse
154 // Init the fHnSparseI
158 Int_t thnDimEvt[4]; // sm, layer, stack, halfchamber
163 //arrays for lower bounds :
164 Double_t* binEdgesEvt[4];
165 for(Int_t ivar = 0; ivar < 4; ivar++)
166 binEdgesEvt[ivar] = new Double_t[thnDimEvt[ivar] + 1];
167 //values for bin lower bounds
168 for(Int_t i=0; i<=thnDimEvt[0]; i++) binEdgesEvt[0][i]= 0.0 + (18.0)/thnDimEvt[0]*(Double_t)i;
169 for(Int_t i=0; i<=thnDimEvt[1]; i++) binEdgesEvt[1][i]= 0.0 + (6.0)/thnDimEvt[1]*(Double_t)i;
170 for(Int_t i=0; i<=thnDimEvt[2]; i++) binEdgesEvt[2][i]= 0.0 + (5.0)/thnDimEvt[2]*(Double_t)i;
171 for(Int_t i=0; i<=thnDimEvt[3]; i++) binEdgesEvt[3][i]= 0.0 + (2.0)/thnDimEvt[3]*(Double_t)i;
173 //create the THnSparse
174 fHnSparseI = new THnSparseI("NumberOfEntries","NumberOfEntries",4,thnDimEvt);
175 for (int k=0; k<4; k++) {
176 fHnSparseI->SetBinEdges(k,binEdgesEvt[k]);
181 // Init the fHnSparseHCM (THnSparseI)
184 //create the THnSparse
185 fHnSparseHCM = new THnSparseI("HCMerrors","HCMerrors",4,thnDimEvt);
186 for (int k=0; k<4; k++) {
187 fHnSparseHCM->SetBinEdges(k,binEdgesEvt[k]);
189 fHnSparseHCM->Sumw2();
194 if(fDebugLevel > 0) {
197 // Init the fHnSparseEvtDet (THnSparseI)
201 Int_t thnDimEvts[3]; // event, detector, halfchamber
202 thnDimEvts[0] = 10000;
205 //arrays for lower bounds :
206 Double_t* binEdgesEvts[3];
207 for(Int_t ivar = 0; ivar < 3; ivar++)
208 binEdgesEvts[ivar] = new Double_t[thnDimEvts[ivar] + 1];
209 //values for bin lower bounds
210 for(Int_t i=0; i<=thnDimEvts[0]; i++) binEdgesEvts[0][i]= 0.0 + (10000.0)/thnDimEvts[0]*(Double_t)i;
211 for(Int_t i=0; i<=thnDimEvts[1]; i++) binEdgesEvts[1][i]= 0.0 + (540.0)/thnDimEvts[1]*(Double_t)i;
212 for(Int_t i=0; i<=thnDimEvts[2]; i++) binEdgesEvts[2][i]= 0.0 + (2.0)/thnDimEvts[2]*(Double_t)i;
214 //create the THnSparse
215 fHnSparseEvtDet = new THnSparseI("NumberOfEntriesPerEvent","NumberOfEntriesPerEvent",3,thnDimEvts);
216 for (int k=0; k<3; k++) {
217 fHnSparseEvtDet->SetBinEdges(k,binEdgesEvts[k]);
219 fHnSparseEvtDet->Sumw2();
222 // Init the fHnSparseDebug (THnSparseI)
225 //create the THnSparse
226 fHnSparseDebug = new THnSparseI("NumberOfDifferentDecisions","NumberOfDifferentDecisions",4,thnDimEvt);
227 for (int k=0; k<4; k++) {
228 fHnSparseDebug->SetBinEdges(k,binEdgesEvt[k]);
230 fHnSparseDebug->Sumw2();
233 // Init the fHnSparseMCM (THnSparseI)
237 Int_t thnDimEvtt[6]; // sm, layer, stack, ROB, MCM
244 //arrays for lower bounds :
245 Double_t* binEdgesEvtt[6];
246 for(Int_t ivar = 0; ivar < 6; ivar++)
247 binEdgesEvtt[ivar] = new Double_t[thnDimEvtt[ivar] + 1];
248 //values for bin lower bounds
249 for(Int_t i=0; i<=thnDimEvtt[0]; i++) binEdgesEvtt[0][i]= 0.0 + (18.0)/thnDimEvtt[0]*(Double_t)i;
250 for(Int_t i=0; i<=thnDimEvtt[1]; i++) binEdgesEvtt[1][i]= 0.0 + (6.0)/thnDimEvtt[1]*(Double_t)i;
251 for(Int_t i=0; i<=thnDimEvtt[2]; i++) binEdgesEvtt[2][i]= 0.0 + (5.0)/thnDimEvtt[2]*(Double_t)i;
252 for(Int_t i=0; i<=thnDimEvtt[3]; i++) binEdgesEvtt[3][i]= 0.0 + (8.0)/thnDimEvtt[3]*(Double_t)i;
253 for(Int_t i=0; i<=thnDimEvtt[4]; i++) binEdgesEvtt[4][i]= 0.0 + (18.0)/thnDimEvtt[4]*(Double_t)i;
254 for(Int_t i=0; i<=thnDimEvtt[5]; i++) binEdgesEvtt[5][i]= 0.0 + (18.0)/thnDimEvtt[5]*(Double_t)i;
256 //create the THnSparse
257 fHnSparseMCM = new THnSparseI("MCMerrorDCS","MCMerrorDCS",6,thnDimEvtt);
258 for (int k=0; k<6; k++) {
259 fHnSparseMCM->SetBinEdges(k,binEdgesEvtt[k]);
261 fHnSparseMCM->Sumw2();
268 //_____________________________________________________________________
269 void AliTRDCalibChamberStatus::ProcessTrack(const AliTRDtrackV1 * trdTrack)
272 // Track Processing to get half chamber status
277 const AliTRDseedV1 *tracklet = 0x0;
278 AliTRDcluster *cluster;
279 //////////////////////////////////////
281 /////////////////////////////////////
282 for(Int_t itr = 0; itr < 6; ++itr){
284 if(!(tracklet = trdTrack->GetTracklet(itr))) continue;
285 if(!tracklet->IsOK()) continue;
288 for(int ic=0; ic<AliTRDseedV1::kNtb; ++ic){
289 if((cluster = tracklet->GetClusters(ic))) {
290 //printf("ic %d\n",ic);
294 if(!cluster) continue;
296 Int_t det = cluster->GetDetector();
297 Int_t layer = AliTRDgeometry::GetLayer(det);
298 Int_t sm = AliTRDgeometry::GetSector(det);
299 Int_t stac = AliTRDgeometry::GetStack(det);
301 Int_t col = cluster->GetPadCol();
302 Int_t iMcm = (Int_t)(col/18); // current group of 18 col pads
304 if(iMcm > 3) rphi = 1.5;
306 Double_t val[4] = {sm,layer,stac,rphi};
307 if(fHnSparseI->GetBinContent((const Int_t*)val)<2147483646) fHnSparseI->Fill(&val[0]);
311 //_____________________________________________________________________
312 void AliTRDCalibChamberStatus::ProcessEvent(AliRawReader * rawReader, Int_t nevents_physics)
315 // Event Processing loop with AliTRDrawStream
319 Bool_t notEmpty = kFALSE;
321 AliTRDdigitsManager *digitsManager = new AliTRDdigitsManager(kTRUE);
322 digitsManager->CreateArrays();
324 AliTRDrawStream *rawStream = new AliTRDrawStream(rawReader);
325 rawStream->SetDigitsManager(digitsManager);
326 // rawStream->SetNoErrorWarning();
327 // rawStream->SetSharedPadReadout(kFALSE);
331 while ((det = rawStream->NextChamber(digitsManager, NULL, NULL)) >= 0) {
335 // do the QA analysis
336 if (digitsManager->GetIndexes(det)->HasEntry()) {//QA
337 // printf("there is ADC data on this chamber!\n");
339 AliTRDSignalIndex *indexes = digitsManager->GetIndexes(det);
340 if (indexes->IsAllocated() == kFALSE) {
341 // AliError("Indexes do not exist!");
347 indexes->ResetCounters();
349 while (indexes->NextRCIndex(iRow, iCol)){
350 Int_t iMcm = (Int_t)(iCol/18); // current group of 18 col pads
352 Int_t layer = AliTRDgeometry::GetLayer(det);
353 Int_t sm = AliTRDgeometry::GetSector(det);
354 Int_t stac = AliTRDgeometry::GetStack(det);
356 if(iMcm > 3) rphi = 1.5;
358 Double_t val[4] = {sm,layer,stac,rphi};
359 fHnSparseI->Fill(&val[0]);
364 if(fDebugLevel > 0) {
365 Int_t detector = AliTRDgeometry::GetDetector(layer,stac,sm);
366 Double_t valu[3] = {nevents_physics,detector,rphi};
367 fHnSparseEvtDet->Fill(&valu[0]);
374 digitsManager->ClearArrays(det);
377 if(notEmpty) fCounterEventNotEmpty++;
379 delete digitsManager;
383 //_____________________________________________________________________
384 Bool_t AliTRDCalibChamberStatus::TestEventHisto(Int_t nevent) /*FOLD00*/
388 // fill the fHnSparseI with entries
394 for(Int_t ievent=0; ievent<nevent; ievent++){
395 for (Int_t ism=0; ism<18; ism++){
396 for (Int_t istack=0; istack<5; istack++){
397 for (Int_t ipl=0; ipl<6; ipl++){
398 for (Int_t icol=0; icol<geo.GetColMax(ipl); icol++){
400 if(icol > 72) side = 1;
401 Double_t val[4] = {ism,ipl,istack,side};
402 fHnSparseI->Fill(&val[0]);
412 //_____________________________________________________________________
413 void AliTRDCalibChamberStatus::AnalyseHisto(Int_t limit, Double_t chamberlimit) /*FOLD00*/
416 // Create the AliTRDCalChamberStatus according to the fHnSparseI
419 if(fCalChamberStatus) delete fCalChamberStatus;
420 fCalChamberStatus = new AliTRDCalChamberStatus();
424 // Check if enough events/tracklets per halfchamber to say something
425 Double_t mean=0.0; //number of tracklets per HCS
427 for(Int_t bin = 0; bin < fHnSparseI->GetNbins(); bin++) {
428 //if(fHnSparseI->GetBinContent(bin,coord2)==0.0) printf(" bin shouldnt be empty!!\n");
429 mean+=fHnSparseI->GetBinContent(bin,coord2);
431 if(fHnSparseI->GetNbins() > 0.0) mean/=fHnSparseI->GetNbins();
432 //printf(" mean tracklets per halfchamber %.3e \n",mean);
433 if((fCounterEventNotEmpty < limit) && (mean < limit)) {
435 for (Int_t idet=0; idet<540; idet++) {
436 fCalChamberStatus->SetStatus(idet,AliTRDCalChamberStatus::kGood);
443 // set all chambers to NoData
444 for (Int_t idet=0; idet<540; idet++) {
445 fCalChamberStatus->SetStatus(idet,AliTRDCalChamberStatus::kNoData);
448 // set status according to fHnSparseI
450 for(Int_t bin = 0; bin < fHnSparseI->GetNbins(); bin++) {
452 Double_t content = fHnSparseI->GetBinContent(bin,coord);
454 // layer, stack, sector
455 Int_t detector = AliTRDgeometry::GetDetector(coord[1]-1,coord[2]-1,coord[0]-1);
457 if(content<chamberlimit*mean) {
458 //printf("Number of entries for detector %03d-%s: %.3e -> %.3f \n",detector,(coord[3]-1==0?"A":"B"),content,content/mean);
462 // Check which halfchamber side corresponds to the bin number (0=A, 1=B)
463 // Change the status accordingly
465 if(coord[3]-1==0) { // HCS-A
466 fCalChamberStatus->SetStatus(detector,AliTRDCalChamberStatus::kGood);
467 fCalChamberStatus->UnsetStatusBit(detector,AliTRDCalChamberStatus::kNoDataHalfChamberSideA); // A has data
468 //fCalChamberStatus->UnsetStatusBit(detector,AliTRDCalChamberStatus::kNoData);
471 fCalChamberStatus->SetStatus(detector,AliTRDCalChamberStatus::kGood);
472 fCalChamberStatus->UnsetStatusBit(detector,AliTRDCalChamberStatus::kNoDataHalfChamberSideB); // B has data
473 //fCalChamberStatus->UnsetStatusBit(detector,AliTRDCalChamberStatus::kNoData);
478 //for (Int_t idet=0; idet<540; idet++) {
479 // if(fCalChamberStatus->IsNoData(idet)) printf("No Data: chamber %d\n",idet);
484 //_____________________________________________________________________
485 void AliTRDCalibChamberStatus::CheckEORStatus(const AliTRDCalDCSv2 *calDCS) /*FOLD00*/
488 // Correct the AliTRDCalChamberStatus according to the AliTRDCalDCSv2
489 // Using globale state of the HalfChamberMerger (HCM)
491 for(Int_t det = 0; det < 540; det++) {
492 AliTRDCalDCSFEEv2* calDCSFEEEOR = calDCS->GetCalDCSFEEObj(det);
494 if(!calDCSFEEEOR) continue;
496 // MCM Global State Machine State Definitions
508 Int_t sm = AliTRDgeometry::GetSector(det);
509 Int_t lay = AliTRDgeometry::GetLayer(det);
510 Int_t stac = AliTRDgeometry::GetStack(det);
512 Int_t stateA = 0; // 0=bad, 1=good state
515 // loop over all mcm to define DCS-HCS
516 for(Int_t ii = 0; ii < 8; ii++) { //ROB loop
517 for(Int_t i = 0; i < 18; i++) { //MCM loop
519 Int_t side = ii%2; // 0=sideA, 1=sideB
520 Int_t cstate = calDCSFEEEOR->GetMCMGlobalState(ii,i); //current mcm state
524 case 0: stateA=1; break;
525 case 1: stateB=1; break;
533 if(fDebugLevel > 0) {
534 if( ((fCalChamberStatus->GetStatus(det) <= 1) && (stateA==0 || stateB==0)) ||
535 ((fCalChamberStatus->GetStatus(det) == 2) && (stateA==1 || stateB==1)) ||
536 ((fCalChamberStatus->GetStatus(det) == 3) && (stateA==1 || stateB==0)) ||
537 ((fCalChamberStatus->GetStatus(det) == 4) && (stateB==0 || stateB==1)) )
539 //printf(" Different half chamber status in DCS and DATA!!\n");
540 Double_t val[4] = {sm,lay,stac,1};
541 fHnSparseDebug->Fill(&val[0]);
543 // Fill MCM status map
544 for(Int_t ii = 0; ii < 8; ii++) { //ROB loop
545 for(Int_t i = 0; i < 18; i++) { //MCM loop
546 Double_t valss[6] = {sm,lay,stac,ii,i
547 ,calDCSFEEEOR->GetMCMGlobalState(ii,i)};
548 fHnSparseMCM->Fill(&valss[0]);
557 //---------------------------------------
558 // Change the status according to DCS
559 //---------------------------------------
560 Int_t statusData = fCalChamberStatus->GetStatus(det);
564 if(stateA==0 && stateB==0) fCalChamberStatus->SetStatus(det,2); // completely masked from DCS
565 if(stateA==1 && stateB==0) fCalChamberStatus->SetStatus(det,4); // Only B side masked from DCS
566 if(stateA==0 && stateB==1) fCalChamberStatus->SetStatus(det,3); // Only A side masked from DCS
567 if(stateA==1 && stateB==1) fCalChamberStatus->SetStatus(det,1);
569 case 2: // completely masked from DATA
570 if(stateA==0 && stateB==0) fCalChamberStatus->SetStatus(det,2); // completely masked from DCS
572 case 3: // Only A side masked from DATA
573 if(stateA==0 && stateB==0) fCalChamberStatus->SetStatus(det,2); // completely masked from DCS
574 if(stateA==1 && stateB==0) fCalChamberStatus->SetStatus(det,2); // Only B side masked from DCS
575 if(stateA==0 && stateB==1) fCalChamberStatus->SetStatus(det,3); // Only A side masked from DCS
576 if(stateA==1 && stateB==1) fCalChamberStatus->SetStatus(det,3);
578 case 4: // Only B side masked from DATA
579 if(stateA==0 && stateB==0) fCalChamberStatus->SetStatus(det,2); // completely masked from DCS
580 if(stateA==1 && stateB==0) fCalChamberStatus->SetStatus(det,4); // Only B side masked from DCS
581 if(stateA==0 && stateB==1) fCalChamberStatus->SetStatus(det,2); // Only A side masked from DCS
582 if(stateA==1 && stateB==1) fCalChamberStatus->SetStatus(det,4);
590 //_____________________________________________________________________________________
591 void AliTRDCalibChamberStatus::Add(const AliTRDCalibChamberStatus *calibChamberStatus) /*FOLD00*/
594 // Add the THnSparseI of this calibChamberStatus
597 fCounterEventNotEmpty += calibChamberStatus->GetNumberEventNotEmpty();
599 THnSparseI *hnSparseI = calibChamberStatus->GetSparseI();
600 if(!hnSparseI) return;
603 fHnSparseI = (THnSparseI *) hnSparseI->Clone();
606 fHnSparseI->Add(hnSparseI);
611 //_____________________________________________________________________
612 void AliTRDCalibChamberStatus::DumpToFile(const Char_t *filename, const Char_t *dir, Bool_t append) /*FOLD00*/
615 // Write class to file
626 TDirectory *backup = gDirectory;
627 TFile f(filename,option.Data());
629 if ( !sDir.IsNull() ){
630 f.mkdir(sDir.Data());
636 if ( backup ) backup->cd();
638 //_____________________________________________________________________________
639 TH2D* AliTRDCalibChamberStatus::PlotSparseI(Int_t sm,Int_t side)
642 // Plot number of entries for supermodule sm
643 // as a function of layer and stack
646 if(!fHnSparseI) return 0x0;
648 fHnSparseI->GetAxis(0)->SetRange(sm+1,sm+1);
649 fHnSparseI->GetAxis(3)->SetRange(side+1,side+1);
650 TH2D *h2 = fHnSparseI->Projection(1,2);
656 //_____________________________________________________________________
657 TH2F *AliTRDCalibChamberStatus::MakeHisto2DSmPlEORStatus(const AliTRDCalDCSv2 *calDCS, Int_t sm, Int_t pl) /*FOLD00*/
660 // Plot globale state of the HalfChamberMerger (HCM)
662 AliTRDfeeParam *paramfee = AliTRDfeeParam::Instance();
664 AliTRDgeometry *trdGeo = new AliTRDgeometry();
665 AliTRDpadPlane *padPlane0 = trdGeo->GetPadPlane(pl,0); // layer,stack
666 Double_t row0 = padPlane0->GetRow0();
667 Double_t col0 = padPlane0->GetCol0();
670 snprintf(name,1000,"%s DCS status sm %d pl %d",GetTitle(),sm,pl);
671 TH2F * his = new TH2F( name, name, 88,-TMath::Abs(row0),TMath::Abs(row0)
672 ,148,-TMath::Abs(col0),TMath::Abs(col0));
676 Int_t offsetsmpl = 30*sm+pl;
680 for (Int_t k = 0; k < nstack; k++){
681 Int_t det = offsetsmpl+k*6;
682 Int_t stac = AliTRDgeometry::GetStack(det);
683 AliTRDCalDCSFEEv2* calDCSFEEEOR = calDCS->GetCalDCSFEEObj(det);
684 if(!calDCSFEEEOR) { continue;}
685 for (Int_t icol=0; icol<ncols; icol++){
687 if(stac==2) nrows = 12;
688 for (Int_t irow=0; irow<nrows; irow++){
691 Int_t krow = nrows-1-irow;
692 Int_t kcol = ncols-1-icol;
693 if(kb > 2) binz = 16*(kb-1)+12+krow+1+2*(kb+1);
694 else binz = 16*kb+krow+1+2*(kb+1);
695 Int_t biny = kcol+1+2;
697 Int_t mcm = paramfee->GetMCMfromPad(irow,icol);
698 Int_t rob = paramfee->GetROBfromPad(irow,icol);
699 if(mcm < 0) AliWarning("Problem with mcm number");
700 Int_t state = calDCSFEEEOR->GetMCMGlobalState(rob,TMath::Abs(mcm));
701 his->SetBinContent(binz,biny,state);
704 for(Int_t icol = 1; icol < 147; icol++){
705 for(Int_t l = 0; l < 2; l++){
708 if(kb > 2) binz = 16*(kb-1)+12+1+2*(kb+1)-(l+1);
709 else binz = 16*kb+1+2*(kb+1)-(l+1);
710 his->SetBinContent(binz,icol,16.0);
715 for(Int_t icol = 1; icol < 147; icol++){
716 his->SetBinContent(88,icol,16.0);
717 his->SetBinContent(87,icol,16.0);
719 for(Int_t irow = 1; irow < 89; irow++){
720 his->SetBinContent(irow,1,16.0);
721 his->SetBinContent(irow,2,16.0);
722 his->SetBinContent(irow,147,16.0);
723 his->SetBinContent(irow,148,16.0);
726 his->SetXTitle("z (cm)");
727 his->SetYTitle("y (cm)");
729 his->SetMinimum(0.0);
735 //_____________________________________________________________________________
736 TCanvas* AliTRDCalibChamberStatus::PlotHistos2DSmEORStatus(AliTRDCalDCSv2 *calDCS, Int_t sm, const Char_t *name)
742 gStyle->SetPalette(1);
743 fC1 = new TCanvas(name,name,50,50,600,800);
746 MakeHisto2DSmPlEORStatus(calDCS,sm,0)->Draw("colz");
748 MakeHisto2DSmPlEORStatus(calDCS,sm,1)->Draw("colz");
750 MakeHisto2DSmPlEORStatus(calDCS,sm,2)->Draw("colz");
752 MakeHisto2DSmPlEORStatus(calDCS,sm,3)->Draw("colz");
754 MakeHisto2DSmPlEORStatus(calDCS,sm,4)->Draw("colz");
756 MakeHisto2DSmPlEORStatus(calDCS,sm,5)->Draw("colz");