+//PH SetMarkerColor(kRed);
+ for (int i=fgkNTYPES;i--;) fkRawID2ClusID[i] = 0;
+}
+//______________________________________________________________________
+AliITS::AliITS(const Char_t *title):
+ AliDetector("ITS",title),
+ fDetTypeSim(0),
+ fEuclidOut(0),
+ fOpt("All"),
+ fIdN(0),
+ fIdSens(0),
+ fIdName(0),
+ fITSmodules(0),
+ fTiming(kFALSE),
+ fSimuParam(0),
+ fModA(0),
+ fpSDigits(0)
+{
+ // The standard Constructor for the ITS class.
+ // It also zeros the variables
+ // fIshunt (a member of AliDetector class), fEuclidOut, and zeros
+ // the pointers fIdSens and fIdName. To help in displaying hits via the
+ // ROOT macro display.C AliITS also sets the marker color to red. The
+ // variables passes with this constructor, const char *name and *title,
+ // are used by the constructor of AliDetector class. See AliDetector
+ // class for a description of these parameters and its constructor
+ // functions.
+ // Inputs:
+ // Char_t *title Simulation title for the ITS
+ // Outputs:
+ // none.
+ // Return:
+ // none.
+
+ fHits = new TClonesArray("AliITShit",1560); // from AliDetector
+ if(gAlice->GetMCApp()) gAlice->GetMCApp()->AddHitList(fHits);
+ //fNhits=0; //done in AliDetector(name,title)
+ SetDetectors(); // default to fOpt="All". This variable not written out.
+ fDetTypeSim = new AliITSDetTypeSim();
+ //PH SetMarkerColor(kRed);
+ if(!fLoader) MakeLoader(AliConfig::GetDefaultEventFolderName());
+ fDetTypeSim->SetLoader((AliITSLoader*)fLoader);
+ for (int i=fgkNTYPES;i--;) fkRawID2ClusID[i] = 0;