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(neventsraw<numlimit)
}
}
else
- if((AliQAv1::Instance(AliQAv1::GetDetIndex("ITS")))->IsEventSpecieSet(AliRecoParam::kCosmic)==kTRUE)
- {
+ // if((AliQAv1::Instance(AliQAv1::GetDetIndex("ITS")))->IsEventSpecieSet(AliRecoParam::kCosmic)==kTRUE)
+ if(AliRecoParam::Convert(GetEventSpecieForCheck())==AliRecoParam::kCosmic)
+ {
numlimit=10000;
if(neventsraw<numlimit)
{
AliWarning(Form("This is a cosmic run. Some module and drift region are empty but all is OK. "));
- results1.Form("OK. Thi is a cosmic run. you need a lot of events");
+ results1.Form("OK. This is a cosmic run. you need a lot of events. Events %i",neventsraw);
results2.Form("%i good module(s) and %i good drift are empty! DO NOT CALL THE EXPERT",emptydiff,emptydrdiff);
color=5;
sddQACheckerValue=fHighSDDValue[AliQAv1::kWARNING];
}
else
{
- results1.Form("%i good module(s) and %i good drift region(s) have not recpoints!",emptydiff,emptydrdiff);
- results2.Form(" Events %d .Follow the TWiki instruction and call the Expert ",neventsraw);
+ results1.Form("%i good module(s) and %i good drift region(s) have no data!",emptydiff,emptydrdiff);
+ results2.Form(" Cosmic Events %d .Follow the TWiki instruction and call the Expert ",neventsraw);
color=2;
sddQACheckerValue=fHighSDDValue[AliQAv1::kERROR];
}
Int_t numlimits=1000;
results1.Form("%i good module(s) and %i good drift region(s) have not recpoints!",emptydiff,emptydrdiff);
- 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){
+
if(neventsrecpoints<numlimits)
{
results2.Form(" Events %d .Too few events.DO NOT CALL the Expert ",neventsrecpoints);
}
}
else
- if((AliQAv1::Instance(AliQAv1::GetDetIndex("ITS")))->IsEventSpecieSet(AliRecoParam::kCosmic)==kTRUE)
- {
+ //if((AliQAv1::Instance(AliQAv1::GetDetIndex("ITS")))->IsEventSpecieSet(AliRecoParam::kCosmic)==kTRUE)
+ if(AliRecoParam::Convert(GetEventSpecieForCheck())==AliRecoParam::kCosmic){
numlimit=10000;
- if(neventsrecpoints<numlimit)
+ if( neventsrecpoints<numlimit)
{
AliWarning(Form("This is a cosmic run. Some module and drift region are empty but all is OK. "));
- results1.Form("OK. Thi is a cosmic run. You need a lot of events");
+ results1.Form("OK. Thi is a cosmic run. You need a lot of events. Events %i",neventsrecpoints);
results2.Form("%i good module(s) and %i good drift are empty! DO NOT CALL THE EXPERT",emptydiff,emptydrdiff);
color=5;
sddQACheckerValue=fHighSDDValue[AliQAv1::kWARNING];
else
{
results1.Form("%i good module(s) and %i good drift region(s) have not recpoints!",emptydiff,emptydrdiff);
- results2.Form(" Events %d .Follow the TWiki instruction and call the Expert ",neventsrecpoints);
+ results2.Form("Cosmic Events %d .Follow the TWiki instruction and call the Expert ",neventsrecpoints);
color=2;
sddQACheckerValue=fHighSDDValue[AliQAv1::kERROR];
}
fCalibration(NULL),
fThresholdForRelativeOccupancy(0.01),
fThresholdForRecToRawRatio(0.04),
- fImage(NULL)
+ fImage(NULL),
+ fESforCheck(0)
{;} // ctor
AliITSQASDDChecker& operator = (const AliITSQASDDChecker& qac) ; //operator =
virtual ~AliITSQASDDChecker(); // dtor
virtual void SetStepBit(const Double_t *steprange);
virtual Double_t *GetStepBit(){return fStepBitSDD;};
virtual void SetSDDLimits(const Float_t *lowvalue, const Float_t * highvalue);
+ void SetEventSpecieForCheck(Int_t esforcheck=0){ fESforCheck=esforcheck;}
+ Int_t GetEventSpecieForCheck(){return fESforCheck;}
virtual Bool_t MakeSDDImage( TObjArray ** list, AliQAv1::TASKINDEX_t task, AliQAv1::MODE_t mode) ;
Bool_t MakeSDDRawsImage(TObjArray ** list, AliQAv1::TASKINDEX_t task, AliQAv1::MODE_t mode );//{AliInfo("The method for raw image has been called\n");}
fCalibration(qac.fCalibration),
fThresholdForRelativeOccupancy(qac.fThresholdForRelativeOccupancy),
fThresholdForRecToRawRatio(qac.fThresholdForRecToRawRatio),
- fImage(qac.fImage)
+ fImage(qac.fImage),
+ fESforCheck(qac.fESforCheck)
{;} // cpy ctor
Int_t fSubDetOffset; // checking operation starting point
TCanvas ** fImage ; //[AliRecoParam::kNSpecies]
+ Int_t fESforCheck; //eventspecie of the list to check
+
static const Int_t fgknSDDmodules = 260; // number of SDD modules
static const Int_t fgkmodoffset = 240; // number of SPD modules
- ClassDef(AliITSQASDDChecker,5) // description
+ ClassDef(AliITSQASDDChecker,6) // description
};