ClassImp(AliITSvPPRcoarseasymm)
//_____________________________________________________________________________
-AliITSvPPRcoarseasymm::AliITSvPPRcoarseasymm() {
+AliITSvPPRcoarseasymm::AliITSvPPRcoarseasymm():
+fMajorVersion(9),
+fMinorVersion(0),
+fRails(0),
+fSuppMat(0) {
////////////////////////////////////////////////////////////////////////
// Standard default constructor for the ITS version 6.
////////////////////////////////////////////////////////////////////////
fIdN = 0;
fIdName = 0;
fIdSens = 0;
- fMajorVersion = 9;
- fMinorVersion = 0;
}
//_____________________________________________________________________________
-AliITSvPPRcoarseasymm::AliITSvPPRcoarseasymm(const char *name, const char *title) : AliITS(name, title){
+AliITSvPPRcoarseasymm::AliITSvPPRcoarseasymm(const char *name, const char *title) : AliITS(name, title),
+fMajorVersion(9),
+fMinorVersion(0),
+fRails(0),
+fSuppMat(0) {
////////////////////////////////////////////////////////////////////////
// Standard constructor for the ITS version 6.
////////////////////////////////////////////////////////////////////////
fIdName[5] = "ITS6";
fIdSens = new Int_t[fIdN];
for (Int_t i=0;i<fIdN;i++) fIdSens[i]=0;
- fMajorVersion = 9;
- fMinorVersion = 0;
-}
-//____________________________________________________________________________
-AliITSvPPRcoarseasymm::AliITSvPPRcoarseasymm(const AliITSvPPRcoarseasymm &source){
-////////////////////////////////////////////////////////////////////////
-// Copy Constructor for ITS version 6.
-////////////////////////////////////////////////////////////////////////
- if(&source == this) return;
- Warning("Copy Constructor","Not allowed to copy AliITSvPPRcoarseasymm");
- return;
-}
-//_____________________________________________________________________________
-AliITSvPPRcoarseasymm& AliITSvPPRcoarseasymm::operator=(const AliITSvPPRcoarseasymm &source){
-////////////////////////////////////////////////////////////////////////
-// Assignment operator for the ITS version 6.
-////////////////////////////////////////////////////////////////////////
- if(&source == this) return *this;
- Warning("= operator","Not allowed to copy AliITSvPPRcoarseasymm");
- return *this;
}
//_____________________________________________________________________________
AliITSvPPRcoarseasymm::~AliITSvPPRcoarseasymm() {
// Monte Carlo simulations for the geometries AliITSv1, AliITSv3,
// AliITSvPPRcoarseasymm.
// In general it is automatically replaced by
- // the CreatMaterials routine defined in AliITSv?. Should the function
+ // the CreateMaterials routine defined in AliITSv?. Should the function
// CreateMaterials not exist for the geometry version you are using this
// one is used. See the definition found in AliITSv5 or the other routine
// for a complete definition.
}
//_____________________________________________________________________________
-void AliITSvPPRcoarseasymm::DrawModule(){
+void AliITSvPPRcoarseasymm::DrawModule() const {
////////////////////////////////////////////////////////////////////////
// Draw a shaded view of the FMD version 6.
////////////////////////////////////////////////////////////////////////
hits[5]=momentum[2];
hits[6]=gMC->Edep();
hits[7]=gMC->TrackTime();
-// new(lhits[fNhits++]) AliITShit(fIshunt,gAlice->CurrentTrack(),vol,hits);
+// new(lhits[fNhits++]) AliITShit(fIshunt,gAlice->GetMCApp()->GetCurrentTrackNumber(),vol,hits);
//
// no hits for this coarse asymmetric version.
//