#include "AliMUONGeometrySegmentation.h"
#include "AliMUONSt12QuadrantSegmentation.h"
#include "AliMUONSt345SlatSegmentation.h"
-#include "AliMUONSt345SlatSegmentationV2.h"
#include "AliMUONTriggerSegmentation.h"
#include "AliMpDEManager.h"
// Get DE segmentation for this DE type, create it if it does not exist
//
AliMUONVGeometryDESegmentation* deSegmentation = 0;
- TString deName = AliMpDEManager::GetDEName(detElemId, cath);
+ TString deName = AliMpDEManager::GetDESegName(detElemId, cath);
TObject* objSegmentation = fDESegmentations.Get(deName);
if ( objSegmentation )
deSegmentation = (AliMUONVGeometryDESegmentation*)objSegmentation;
break;
case kStation345:
- deSegmentation = new AliMUONSt345SlatSegmentationV2(
+ deSegmentation = new AliMUONSt345SlatSegmentation(
mpSegmentation, detElemId, planeType);
//cout << " new AliMUONSt345SlatSegmentationV2 "
// << StationTypeName(stationType) << " "
//______________________________________________________________________________
AliMUONSegmentation*
-AliMUONSegFactory::CreateSegmentation(const TString& option)
+AliMUONSegFactory::CreateSegmentation()
{
/// Create segmentations on all levels and return their container.
- // Check options
- if ( option != "default" &&
- option != "FactoryV2" &&
- option != "FactoryV3" &&
- option != "FactoryV4" &&
- option != "new") {
-
- AliErrorStream() << "Option " << option << " not defined." << endl;
- return 0;
- }
-
- if ( option == "FactoryV2" || option == "FactoryV3" ) {
-
- AliErrorStream()
- << "Option " << option << " not supported anymore." << endl;
- return 0;
- }
-
for (Int_t chamberId = 0; chamberId<AliMUONConstants::NCh(); chamberId++)
for (Int_t cath = 0; cath < 2; cath++) {
if ( IsGeometryDefined(chamberId) )