From: masera Date: Thu, 21 Jul 2011 07:47:06 +0000 (+0000) Subject: small correction - Setters and getters for EventSpecie for SDD added (Melinda) X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=25b4170b7ef1fd60355547a7f6fe36cdc08865c0;p=u%2Fmrichter%2FAliRoot.git small correction - Setters and getters for EventSpecie for SDD added (Melinda) --- diff --git a/ITS/AliITSQAChecker.cxx b/ITS/AliITSQAChecker.cxx index 4cd78b559bb..49ad9eb5e71 100644 --- a/ITS/AliITSQAChecker.cxx +++ b/ITS/AliITSQAChecker.cxx @@ -293,6 +293,7 @@ void AliITSQAChecker::Check(Double_t * rv, AliQAv1::ALITASK_t index, TObjArray * //drift if(fDet == 0 || fDet == 2) { fSDDChecker->SetTaskOffset(fSDDOffset); + fSDDChecker->SetEventSpecieForCheck(specie); Double_t histoSDD=double(GetSDDHisto()); if(AliITSQADataMakerRec::AreEqual(histoSDD,0)==kFALSE){ Double_t *stepSDD=new Double_t[AliQAv1::kNBIT]; diff --git a/ITS/AliITSQASDDChecker.cxx b/ITS/AliITSQASDDChecker.cxx index ce01fb4de7a..e50955bbaf4 100644 --- a/ITS/AliITSQASDDChecker.cxx +++ b/ITS/AliITSQASDDChecker.cxx @@ -406,7 +406,8 @@ Double_t AliITSQASDDChecker::Check(AliQAv1::ALITASK_t index, const TObjArray * l AliWarning(Form(" Layer 3: %i good module(s) and %i good single drift regions didn't take data! \n",emptyactivemoduleperlayer[0] ,emptyactivedrperlayer[0] )); AliWarning(Form(" Layer 4: %i good module(s) and %i good single drift regions didn't take data! \n",emptyactivemoduleperlayer[1] ,emptyactivedrperlayer[1] )); //printf("========================= %d",AliQAv1::Instance(AliQAv1::GetDetIndex(GetName()))->IsEventSpecieSet(AliRecoParam::kCosmic)); - if((AliQAv1::Instance(AliQAv1::GetDetIndex("ITS")))->IsEventSpecieSet(AliRecoParam::kCosmic)==kFALSE){ + // if((AliQAv1::Instance(AliQAv1::GetDetIndex("ITS")))->IsEventSpecieSet(AliRecoParam::kCosmic)==kFALSE){ + if(AliRecoParam::Convert(GetEventSpecieForCheck())!=AliRecoParam::kCosmic){ results1.Form("%i good module(s) and %i good drift regions didn't take data!",emptydiff,emptydrdiff); if(neventsrawIsEventSpecieSet(AliRecoParam::kCosmic)==kTRUE) - { + // if((AliQAv1::Instance(AliQAv1::GetDetIndex("ITS")))->IsEventSpecieSet(AliRecoParam::kCosmic)==kTRUE) + if(AliRecoParam::Convert(GetEventSpecieForCheck())==AliRecoParam::kCosmic) + { numlimit=10000; if(neventsrawIsEventSpecieSet(AliRecoParam::kCosmic)==kFALSE) - { + // if((AliQAv1::Instance(AliQAv1::GetDetIndex("ITS")))->IsEventSpecieSet(AliRecoParam::kCosmic)==kFALSE) + if(AliRecoParam::Convert(GetEventSpecieForCheck())!=AliRecoParam::kCosmic){ + if(neventsrecpointsIsEventSpecieSet(AliRecoParam::kCosmic)==kTRUE) - { + //if((AliQAv1::Instance(AliQAv1::GetDetIndex("ITS")))->IsEventSpecieSet(AliRecoParam::kCosmic)==kTRUE) + if(AliRecoParam::Convert(GetEventSpecieForCheck())==AliRecoParam::kCosmic){ numlimit=10000; - if(neventsrecpoints