//
// Author: Ivana Hrivnacova, IPN Orsay
-#include <iostream>
-
-#include <TObjArray.h>
-#include <Riostream.h>
-#include <TSystem.h>
-
#include "AliMUONGeometry.h"
#include "AliMUONGeometryTransformer.h"
#include "AliMUONGeometryModule.h"
-#include "AliMUONGeometrySVMap.h"
+#include "AliMUONStringIntMap.h"
#include "AliMUONGeometryStore.h"
+
#include "AliLog.h"
+#include <TObjArray.h>
+#include <Riostream.h>
+#include <TSystem.h>
+
+#include <iostream>
ClassImp(AliMUONGeometry)
}
// Get module sensitive volumes map
- AliMUONGeometrySVMap* svMap = module->GetSVMap();
+ AliMUONStringIntMap* svMap = module->GetSVMap();
// Map the sensitive volume to detection element
svMap->Add(sensVolumePath, detElemId);
for (Int_t i=0; i<fModules->GetEntriesFast(); i++) {
AliMUONGeometryModule* geometry
= (AliMUONGeometryModule*)fModules->At(i);
- AliMUONGeometrySVMap* svMap
+ AliMUONStringIntMap* svMap
= geometry->GetSVMap();
- svMap->WriteMap(out);
+ svMap->Print("SV", out);
out << endl;
}
}
#include <TObject.h>
#include <TGeoMatrix.h>
-class TObjArray;
-
class AliMUONGeometryModule;
class AliMUONGeometryTransformer;
+class TObjArray;
+
class AliMUONGeometry : public TObject
{
public:
Bool_t ReadSVMap(const TString& fileName);
Bool_t WriteSVMap(const TString& fileName) const;
-
// get methods
const AliMUONGeometryModule* GetModule(
Int_t index, Bool_t warn = true) const;
// Manager and hits classes for set:MUON version 1 //
/////////////////////////////////////////////////////////
-#include <TRandom.h>
-#include <TF1.h>
-#include <TClonesArray.h>
-#include <TRandom.h>
-#include <TVirtualMC.h>
-#include <TGeoMatrix.h>
-
#include "AliMUONv1.h"
-#include "AliConst.h"
#include "AliMUONConstants.h"
#include "AliMUONSegFactory.h"
#include "AliMUONResponseFactory.h"
#include "AliMUONGeometry.h"
#include "AliMUONGeometryTransformer.h"
#include "AliMUONGeometryModule.h"
-#include "AliMUONGeometrySVMap.h"
+#include "AliMUONStringIntMap.h"
#include "AliMUONGeometryDetElement.h"
+
+#include "AliConst.h"
#include "AliMagF.h"
#include "AliRun.h"
#include "AliMC.h"
#include "AliLog.h"
+#include <TRandom.h>
+#include <TF1.h>
+#include <TClonesArray.h>
+#include <TRandom.h>
+#include <TVirtualMC.h>
+#include <TGeoMatrix.h>
+
#include <string>
ClassImp(AliMUONv1)
gMC->CurrentVolOffID(imother++, copyNo);
TString add = "/";
add += name;
- add += ".";
+ add += "_";
add += copyNo;
path.Insert(0,add);
}
// Manager and hits classes for set:MUON version 1 //
/////////////////////////////////////////////////////////
-#include <TLorentzVector.h>
-
#include "AliMUON.h"
+#include <TLorentzVector.h>
+
class TF1;
class TGeoCombiTrans;
class TString;