Skip to content

Commit

Permalink
Correct beamline
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunanda committed Sep 7, 2016
1 parent 0d9cf4f commit fafeda1
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 8 deletions.
20 changes: 14 additions & 6 deletions Geometry/HGCalCommonData/data/TB161/hgcalBeam.xml
Expand Up @@ -392,18 +392,26 @@

<SpecParSection label="hgcalBeam.xml" eval="true">
<SpecPar name="hgcalbeam">
<PartSelector path="//HcalTestBeamLineS.*"/>
<PartSelector path="//HcalTestBeamLineHaloCounter"/>
<PartSelector path="//HcalTestBeamLineMuonCounter"/>
<PartSelector path="//HcalTestBeamLineCK3"/>
<PartSelector path="//HcalTestBeamLineWChambGas"/>
<PartSelector path="//HGCalBeamS.*"/>
<PartSelector path="//HGCalBeamHaloCounter"/>
<PartSelector path="//HGCalBeamMuonCounter"/>
<PartSelector path="//HGCalBeamCK3"/>
<PartSelector path="//HGCalBeamWChambGas"/>
<Parameter name="SensitiveDetector" value="HcalTB06BeamDetector" eval="false"/>
<Parameter name="ReadOutName" value="HcalTB06BeamHits" eval="false"/>
</SpecPar>
<SpecPar name="hgcalbeamWC">
<PartSelector path="//HcalTestBeamLineWChambGas"/>
<PartSelector path="//HGCalBeamWChambGas"/>
<Parameter name="Volume" value="WireChamber" eval="false"/>
</SpecPar>
<SpecPar name="hgcProdCutsBeam">
<PartSelector path="//HGCalBeam"/>
<PartSelector path="//HGCalBeamDown"/>
<Parameter name="CMSCutsRegion" value="HGCalBeamRegion" eval="false"/>
<Parameter name="ProdCutsForElectrons" value="1.0*mm"/>
<Parameter name="ProdCutsForPositrons" value="1.0*mm"/>
<Parameter name="ProdCutsForGamma" value="1.0*mm"/>
</SpecPar>
</SpecParSection>

</DDDefinition>
3 changes: 2 additions & 1 deletion SimG4CMS/HGCalTestBeam/python/HGCalTB161Module8XML_cfi.py
Expand Up @@ -10,7 +10,8 @@
'Geometry/HGCalCommonData/data/TB161/hgcalBeam.xml',
'Geometry/HGCalCommonData/data/TB161/hgcalsense.xml',
'Geometry/HGCalCommonData/data/TB161/hgcProdCuts.xml',
'Geometry/HGCalCommonData/data/TB161/8Module/hgcalCons.xml'),
'Geometry/HGCalCommonData/data/TB161/8Module/hgcalCons.xml'
),
rootNodeName = cms.string('cms:OCMS')
)

Expand Down
9 changes: 8 additions & 1 deletion SimG4CMS/HGCalTestBeam/test/HGCalTBGenSimCERN_cfg.py
Expand Up @@ -111,7 +111,14 @@
process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)

# Schedule definition
process.schedule = cms.Schedule(process.generation_step,process.gunfilter_step,process.genfiltersummary_step,process.simulation_step,process.analysis_step,process.endjob_step,process.RAWSIMoutput_step)
process.schedule = cms.Schedule(process.generation_step,
process.genfiltersummary_step,
process.simulation_step,
process.gunfilter_step,
process.analysis_step,
process.endjob_step,
process.RAWSIMoutput_step,
)
# filter all path with the production filter sequence
for path in process.paths:
getattr(process,path)._seq = process.generator * getattr(process,path)._seq
Expand Down

0 comments on commit fafeda1

Please sign in to comment.