import FWCore.ParameterSet.Config as cms

#ideal geometry
XMLIdealGeometryESSource = cms.ESSource("XMLIdealGeometryESSource",
    geomXMLFiles = cms.vstring('Geometry/CMSCommonData/data/materials.xml',
        'Geometry/CMSCommonData/data/rotations.xml',
        'Geometry/CMSCommonData/data/cmsextent/2018/v1/cmsextent.xml',
        'Geometry/CMSCommonData/data/cms.xml',
        'Geometry/CMSCommonData/data/PhaseI/beampipe.xml',
        'Geometry/CMSCommonData/data/cmsBeam.xml',
        'Geometry/CMSCommonData/data/cmsMother.xml',
        'Geometry/CMSCommonData/data/mgnt.xml',
        'Geometry/ForwardCommonData/data/forward.xml',
        'Geometry/ForwardCommonData/data/totemRotations.xml',
        'Geometry/ForwardCommonData/data/totemMaterials.xml',
        'Geometry/ForwardCommonData/data/totemt1.xml',
        'Geometry/ForwardCommonData/data/totemt2.xml',
        'Geometry/ForwardCommonData/data/ionpump.xml',
        'Geometry/TotemRPData/data/RP_Box.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_000.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_001.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_002.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_003.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_004.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_005.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_020.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_021.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_022.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_023.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_024.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_025.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_100.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_101.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_102.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_103.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_104.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_105.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_120.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_121.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_122.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_123.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_124.xml',
        'Geometry/TotemRPData/data/RP_Box/RP_Box_125.xml',
        'Geometry/TotemRPData/data/RP_Hybrid.xml',
        'Geometry/TotemRPData/data/RP_Materials.xml',
        'Geometry/TotemRPData/data/RP_Transformations.xml',
        'Geometry/TotemRPData/data/RP_Detectors_Assembly.xml',
        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_000.xml',
        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_001.xml',

        'Geometry/PPSCommonData/data/PPS_Tracker_Assembly_Box_Real_002.xml',
        'Geometry/PPSCommonData/data/PPS_Tracker_Assembly_Box_Real_003.xml',

        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_004.xml',
        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_005.xml',
        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_020.xml',
        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_021.xml',
        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_022.xml',
        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_023.xml',
        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_024.xml',
        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_025.xml',
        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_100.xml',
        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_101.xml',

        'Geometry/PPSCommonData/data/PPS_Tracker_Assembly_Box_Real_102.xml',
        'Geometry/PPSCommonData/data/PPS_Tracker_Assembly_Box_Real_103.xml',
                     
        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_104.xml',
        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_105.xml',
        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_120.xml',
        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_121.xml',
        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_122.xml',
        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_123.xml',
        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_124.xml',
        'Geometry/TotemRPData/data/RP_Detectors_Assembly/RP_Detectors_Assembly_125.xml',
        'Geometry/TotemRPData/data/RP_Device.xml',
        'Geometry/TotemRPData/data/RP_Vertical_Device.xml',
        'Geometry/TotemRPData/data/RP_Horizontal_Device.xml',
        'Geometry/TotemRPData/data/RP_220_Right_Station.xml',
        'Geometry/TotemRPData/data/RP_220_Left_Station.xml',
        'Geometry/TotemRPData/data/RP_147_Right_Station.xml',
        'Geometry/TotemRPData/data/RP_147_Left_Station.xml',
        'Geometry/TotemRPData/data/RP_Stations_Assembly.xml',
        'Geometry/TotemRPData/data/RP_Sensitive_Dets.xml',
        'Geometry/TotemRPData/data/RP_Cuts_Per_Region.xml',
        'Geometry/TotemRPData/data/TotemRPGlobal.xml',
        'Geometry/TotemRPData/data/RP_Param_Beam_Region.xml',

        'Geometry/PPSCommonData/data/ppstrackerMaterials.xml',
        'Geometry/PPSCommonData/data/PPSTrackerModule.xml',
        'Geometry/PPSSimData/data/PPSTrackersens.xml',

        'Geometry/PPSCommonData/data/ppstrackerMaterials.xml',
        'Geometry/PPSCommonData/data/PPSTrackerModule.xml',  
        'Geometry/PPSSimData/data/PPSTrackersens.xml',
        
        'Geometry/PPSCommonData/data/PPS_Materials.xml',
        'Geometry/PPSCommonData/data/PPS_Transformations.xml',
        'Geometry/PPSCommonData/data/Cylindrical_pot.xml',
        'Geometry/PPSCommonData/data/RP_Timing_Lbar.xml', 
        'Geometry/PPSCommonData/data/RP_Timing_Lbar/RP_Timing_Lbar_A13.xml',
        'Geometry/PPSCommonData/data/RP_Timing_Lbar/RP_Timing_Lbar_A24.xml',
        'Geometry/PPSCommonData/data/RP_Timing_Lbar/RP_Timing_Lbar_B13.xml',
        'Geometry/PPSCommonData/data/RP_Timing_Lbar/RP_Timing_Lbar_B24.xml',
        'Geometry/PPSCommonData/data/RP_Timing_Lbar/RP_Timing_Lbar_C13.xml',
        'Geometry/PPSCommonData/data/RP_Timing_Lbar/RP_Timing_Lbar_C24.xml',
        'Geometry/PPSCommonData/data/RP_Timing_Lbar/RP_Timing_Lbar_D13.xml',
        'Geometry/PPSCommonData/data/RP_Timing_Lbar/RP_Timing_Lbar_D24.xml',
        'Geometry/PPSCommonData/data/RP_Timing_Lbar/RP_Timing_Lbar_E13.xml',
        'Geometry/PPSCommonData/data/RP_Timing_Lbar/RP_Timing_Lbar_E24.xml',
        'Geometry/PPSCommonData/data/RP_Timing_Box_Left.xml',
        'Geometry/PPSCommonData/data/RP_Timing_Box_Right.xml',
        'Geometry/PPSCommonData/data/RP_215_Left_Detector_Assembly.xml',
        'Geometry/PPSCommonData/data/RP_215_Right_Detector_Assembly.xml',
        'Geometry/PPSCommonData/data/PPS_timing_Sensitive_Dets.xml'),

        rootNodeName = cms.string('TotemRPGlobal:OTOTEM')
)

# real geometry
TotemRPGeometryESModule = cms.ESProducer("TotemRPGeometryESModule",
    verbosity = cms.untracked.uint32(1)
)
