* provided "as is" without express or implied warranty. *
**************************************************************************/
-/*
-$Log$
-Revision 1.27 2001/10/18 12:26:38 barbera
-Six cylinders definition in BuildGeometry() improved by comparison with CreateGeometry()
-
-Revision 1.26 2001/05/25 15:59:59 morsch
-Overlaps corrected. (R. Barbera)
-
-Revision 1.25 2001/05/03 08:40:15 barbera
-Volume ITSD slightly modified to be consistent with v5. Some improvement in the printouts. The last commit did not complete successfully.
-
-Revision 1.23 2001/04/04 07:02:16 barbera
-Position of the cylinders holding rails corrected
-
-Revision 1.22 2001/03/29 22:01:53 barbera
-New flag added to change the material for some service supports as asked by the PMD people. Some changes to the services due to the new drawings from the engineers
-
-Revision 1.21 2001/03/29 05:28:56 barbera
-Rails material changed from aluminum to carbon fiber according with the decision of the last Technical Board
-
-Revision 1.20 2001/03/28 06:40:21 barbera
-Central and services mother volumes made consistenf for detailed and coarse geometry. Switch for rails added to the coarse geometries
-
-Revision 1.19 2001/03/13 18:13:30 barbera
-Some mother volumes sligthly modified to eliminate an overlap with the absorber
-
-Revision 1.18 2001/02/19 09:44:16 barbera
-Copy no.2 of volume ICO2 re-inserted
-
-Revision 1.17 2001/02/09 00:05:31 nilsen
-Added fMajor/MinorVersion variables and made other changes to better make
-use of the new code changes in AliITSgeom related classes.
-
-Revision 1.16 2001/01/30 09:23:13 hristov
-Streamers removed (R.Brun)
-
-Revision 1.15 2001/01/17 07:41:29 barbera
-Some media parameters modified
-
-Revision 1.14 2001/01/15 13:13:53 barbera
-Some comments added
-
-Revision 1.13 2000/12/10 16:00:45 barbera
-Added last definition of special media like end-ladder boxes and cones
-
-Revision 1.12 2000/11/02 15:44:23 barbera
-Services on the opposite side w.r.t the absorber modified to make room for rails
-
-Revision 1.10 2000/10/27 17:19:50 barbera
-Position of rails w.r.t. the interaction point corrected.
-
-Revision 1.9 2000/10/27 13:31:29 barbera
-Rails between ITS and TPC added.
-
-Revision 1.8 2000/10/27 13:03:08 barbera
-Small changes in the SPD volumes and materials
-
-Revision 1.6 2000/10/16 14:45:37 barbera
-Mother volume ITSD modified to avoid some overlaps
-
-Revision 1.5 2000/10/16 13:49:15 barbera
-Services volumes slightly modified and material added following Pierluigi Barberis' information
-
-Revision 1.4 2000/10/07 15:33:07 barbera
-Small corrections to the ITSV mother volume
-
-Revision 1.3 2000/10/07 13:06:50 barbera
-Some new materials and media defined
-
-Revision 1.2 2000/10/07 10:58:15 barbera
-Mother volume ITSV corrected
-
-Revision 1.1 2000/10/06 23:09:24 barbera
-New coarse geometry (asymmetric services
-
-Revision 1.20 2000/10/02 21:28:08 fca
-Removal of useless dependecies via forward declarations
-
-Revision 1.19 2000/07/10 16:07:19 fca
-Release version of ITS code
-
-Revision 1.14.2.2 2000/05/19 10:09:21 nilsen
-fix for bug with HP and Sun unix + fix for event display in ITS-working branch
-
-Revision 1.14.2.1 2000/03/04 23:45:19 nilsen
-Fixed up the comments/documentation.
-
-Revision 1.14 1999/11/25 06:52:56 fca
-Correct value of drca
-
-Revision 1.13.2.1 1999/11/25 06:52:21 fca
-Correct value of drca
-
-Revision 1.13 1999/10/27 11:16:26 fca
-Correction of problem in geometry
-
-Revision 1.12 1999/10/22 08:25:25 fca
-remove double definition of destructors
-
-Revision 1.11 1999/10/22 08:16:49 fca
-Correct destructors, thanks to I.Hrivnacova
-
-Revision 1.10 1999/10/06 19:56:50 fca
-Add destructor
-
-Revision 1.9 1999/10/05 08:05:09 fca
-Minor corrections for uninitialised variables.
-
-Revision 1.8 1999/09/29 09:24:20 fca
-Introduction of the Copyright and cvs Log
-
-*/
+/* $Id$ */
///////////////////////////////////////////////////////////////////////////////
// //
///////////////////////////////////////////////////////////////////////////////
#include <Riostream.h>
#include <TMath.h>
+#include <TNode.h>
+#include <TObjArray.h>
#include <TRandom.h>
+#include <TTUBE.h>
#include <TVector.h>
+#include <TVirtualMC.h>
#include <TGeometry.h>
-#include <TNode.h>
-#include <TTUBE.h>
-#include <TFile.h> // only required for Tracking function?
-#include <TCanvas.h>
-#include <TObjArray.h>
-#include <TClonesArray.h>
-#include "AliMC.h"
#include "AliMagF.h"
#include "AliConst.h"
-
#include "AliITShit.h"
#include "AliITSvPPRcoarseasymm.h"
+#include "AliMagF.h"
#include "AliRun.h"
-
ClassImp(AliITSvPPRcoarseasymm)
//_____________________________________________________________________________
fMinorVersion = 0;
}
//____________________________________________________________________________
-AliITSvPPRcoarseasymm::AliITSvPPRcoarseasymm(const AliITSvPPRcoarseasymm &source){
+AliITSvPPRcoarseasymm::AliITSvPPRcoarseasymm(const AliITSvPPRcoarseasymm &s) :
+ AliITS(s){
////////////////////////////////////////////////////////////////////////
// Copy Constructor for ITS version 6.
////////////////////////////////////////////////////////////////////////
- if(&source == this) return;
+ if(&s == this) return;
Warning("Copy Constructor","Not allowed to copy AliITSvPPRcoarseasymm");
return;
}
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.
//