* provided "as is" without express or implied warranty. *\r
**************************************************************************/\r
\r
+/* $Id$ */\r
+\r
// *************************************************************\r
// Checks the quality assurance \r
// by comparing with reference data\r
void AliITSQASDDDataMakerSim::MakeDigits(TTree * digits)\r
{ \r
// Fill QA for DIGIT - SDD -\r
- //printf("AliITSQASDDDataMakerSim::MakeDigits called \n");\r
+ // printf("AliITSQASDDDataMakerSim::MakeDigits called \n");\r
AliITS *fITS = (AliITS*)gAlice->GetModule("ITS");\r
fITS->SetTreeAddress();\r
TClonesArray *iITSdigits = fITS->DigitsAddress(1);\r
void AliITSQASDDDataMakerSim::MakeSDigits(TTree * sdigits)\r
{ \r
// Fill QA for SDIGIT - SDD -\r
- //printf("AliITSQASDDDataMakerSim::MakeSDigits called \n");\r
+ // printf("AliITSQASDDDataMakerSim::MakeSDigits called \n");\r
AliITSsegmentationSDD* seg = new AliITSsegmentationSDD();\r
Int_t nan=seg->Npz();\r
Int_t ntb=seg->Npx();\r
AliITS *fITS = (AliITS*)gAlice->GetModule("ITS");\r
fITS->SetTreeAddress();\r
Int_t nmodules;\r
- fITS->InitModules(-1,nmodules);\r
- //fITS->FillModules(0,0,nmodules," "," ");\r
+ if(!(fITS->InitModules(-1,nmodules))){\r
+ AliError("ITS geometry not available - nothing done");\r
+ return;\r
+ }\r
\r
fITS->FillModules(hits,0);\r
\r