Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/LHeD/sim/sequences.xml is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <geant4_setup>
0003 
0004 
0005 
0006   <!-- Kernel parameters  
0007        UI="UI" is default, 
0008     
0009        Note:
0010        NumEvents is ignored in interactive sessions, but  used
0011        in batch mode without ui nor vis.
0012     
0013        To run batch: set UI=""
0014   -->
0015   <kernel UI="" NumEvents="10"/>  
0016 
0017   <!-- List of globally known actions. These actions will be registered with the Geant4Kernel 
0018        object and may be retrieved by there using the action name.
0019     
0020        Note: registered actions MUST be unique.
0021        However, not all actions need to registered....
0022        Only register those, you later need to retrieve by name.
0023   -->
0024   <actions>
0025     <action name="Geant4TestRunAction/RunInit">
0026       <properties Control="true"
0027                   Property_int="12345"
0028                   Property_double="-5e15"
0029                   Property_string="Startrun: Hello_2"/>
0030      </action>
0031     <action name="Geant4TestEventAction/UserEvent_2">
0032       <properties Control="true"
0033                   Property_int="1234"
0034                   Property_double="5e15"
0035                   Property_string="Hello_2"/>
0036     </action>
0037     <action name="Geant4TCUserParticleHandler/UserParticleHandler">
0038       <properties Control="true"
0039                   TrackingVolume_Zmax="765*cm"
0040                   TrackingVolume_Rmax="625*cm"/>
0041     </action>
0042 
0043     <!-- UI handler initializing vis and ui. NAME IS FIXED/COMMON KNOWLEDGE -->
0044     <action name="Geant4UIManager/UI">
0045       <properties HaveVIS="0"
0046                   HaveUI="1"
0047                   SetupUI=""
0048                   SessionType="csh"/>
0049      </action>
0050   </actions>
0051 
0052   <!-- List of known phases.
0053        Note: Phases can only be attached to the program at very well defined moments,
0054        which are explained in the documentation.
0055        These are typically the "standard" moments: BeginRun, EndRun, BeginEvent, etc.
0056        and the calls after processing the hits of each sensitive detector.
0057     
0058   -->
0059   <phases>
0060     <phase type="RunAction/begin">
0061       <action name="RunInit"/>
0062       <action name="Geant4TestRunAction/UserRunInit">
0063         <properties Control="true"
0064                     Property_int="1234"
0065                     Property_double="5e15"
0066                     Property_string="'Hello_2'"/>
0067       </action>
0068     </phase>
0069     <phase type="EventAction/end">
0070       <action name="UserEvent_2"/>
0071     </phase>
0072     <phase type="EventAction/begin">
0073       <action name="UserEvent_2"/>
0074     </phase>
0075   </phases>
0076 
0077   <!-- List of globally known filters. Filters are called by Geant4 before the
0078        hit processing in the sensitive detectors start. The global filters
0079        may be shared between many sensitive detectors. Alternatively filters
0080        may be directly attached to the sensitive detector in question.
0081        Attributes are directly passed as properties to the filter action.
0082     
0083        Note: registered global filters MUST be unique.
0084        However, not all filters need to registered....
0085   -->
0086   <filters>
0087     <filter name="GeantinoRejectFilter/GeantinoRejector"/>
0088     <filter name="ParticleRejectFilter/OpticalPhotonRejector">
0089         <properties particle="opticalphoton" Control="true"/>
0090     </filter>
0091     <filter name="ParticleSelectFilter/OpticalPhotonSelector">
0092         <properties particle="opticalphoton" Control="true"/>
0093     </filter>
0094     <filter name="EnergyDepositMinimumCut">
0095       <properties Cut="10*keV" Control="true"/>
0096     </filter>
0097   </filters>
0098 
0099   <!-- List of known action sequences.
0100        Note: Action sequences exist for each of the various geant4 callback,
0101        which are explained in the documentation, such as EventAction, RunAction, etc
0102        and the calls after processing the hits of each sensitive detector.
0103     
0104   -->
0105   <sequences>
0106     <sequence name="Geant4EventActionSequence/EventAction">
0107       <properties Control="true"/>
0108       <action name="Geant4TestEventAction/UserEvent_1">
0109         <properties Control="true"
0110                     OutputLevel="3"
0111                     Property_int="901234"
0112                     Property_double="1e11"
0113                     Property_string="'Hello_1'"/>
0114       </action>
0115       <action name="UserEvent_2"/>
0116 <!--
0117       <action name="Geant4Output2LCIO/LCIOOutput">
0118         <properties Control="true" Output="simple_lcio"/>
0119       </action>
0120 -->
0121       <action name="Geant4Output2ROOT/RootOutput">
0122         <properties Control="true" Output="LHeD_simple.root"/>
0123       </action>
0124     </sequence>
0125     <sequence name="Geant4GeneratorActionSequence/GeneratorAction">
0126       <action name="Geant4ParticleGun/Gun">
0127         <properties Control="true"
0128                     OutputLevel="3"
0129                     energy="500*MeV"
0130                     particle="'e-'"
0131                     multiplicity="1"
0132                     direction="(1,1,1)"/>
0133       </action>
0134       <action name="Geant4ParticleHandler/ParticleHandler">
0135         <properties Control="true"
0136                     SaveProcesses="['Decay']"
0137                     MinimalKineticEnergy="100*MeV"/>
0138         <adopt name="UserParticleHandler"/>
0139       </action>
0140 
0141 <!--
0142       <action name="LCIOInputAction/LCIO1">
0143        <properties Control="true"
0144            Input="LCIOStdHepReader|/opt/DD4hep/files/NC_bb_tag_2_pythia_events.hep"/>
0145       </action>
0146 -->
0147 <!--
0148                 /afs/.cern.ch/project/lhec/users/pythia-files
0149                 /opt/DD4hep/files/
0150                     input="LCIOFileReader|/opt/DD4hep/files/test03092013.slcio"/>
0151 -->
0152     </sequence>
0153 
0154     <sequence sd="SiVertexBarrel" type="Geant4SensDetActionSequence">
0155       <properties Control="true"/>
0156        <filter name="GeantinoRejector"/>
0157        <filter name="EnergyDepositMinimumCut"/>
0158       <action name="Geant4SimpleTrackerAction/SiVertexBarrelHandler">
0159        <properties Control="true"/>
0160       </action>
0161     </sequence>    
0162     <sequence sd="SiTrackerBarrel" type="Geant4SensDetActionSequence">
0163        <properties Control="true"/>
0164       <filter name="GeantinoRejector"/>
0165       <filter name="EnergyDepositMinimumCut"/>
0166       <action name="Geant4SimpleTrackerAction/SiTrackerBarrelHandler"/>
0167     </sequence>
0168     <sequence sd="SiTrackerForward" type="Geant4SensDetActionSequence">
0169       <properties Control="true"/>
0170       <filter name="GeantinoRejector"/>
0171       <filter name="EnergyDepositMinimumCut"/>
0172       <action name="Geant4SimpleTrackerAction/SiTrackerForwardHandler"/>
0173     </sequence>
0174     <sequence sd="SiTrackerBackward" type="Geant4SensDetActionSequence">
0175       <properties Control="true"/>
0176       <filter name="GeantinoRejector"/>
0177       <filter name="EnergyDepositMinimumCut"/>
0178       <action name="Geant4SimpleTrackerAction/SiTrackerBackwardHandler"/>
0179     </sequence>    
0180 
0181     <sequence sd="EcalBarrel" type="Geant4SensDetActionSequence">
0182       <properties Control="true"/>
0183       <action name="Geant4SimpleCalorimeterAction/EcalBarrelHandler"/>
0184     </sequence>
0185     <sequence sd="EcalEndcap_fwd" type="Geant4SensDetActionSequence">
0186       <properties Control="true"/>
0187       <action name="Geant4SimpleCalorimeterAction/EcalEndCap_fwdpHandler"/>
0188     </sequence>
0189     <sequence sd="EcalEndcap_bwd" type="Geant4SensDetActionSequence">
0190       <properties Control="true"/>
0191       <action name="Geant4SimpleCalorimeterAction/EcalEndCap_bwdHandler"/>
0192     </sequence>
0193 
0194     <sequence sd="HcalBarrel" type="Geant4SensDetActionSequence">
0195           <filter name="OpticalPhotonSelector"/>
0196       <action name="Geant4SimpleOpticalCalorimeterAction/HcalBarrelHandler">
0197        <properties Control="true"/>
0198       </action>
0199     </sequence>
0200     <sequence sd="HcalEndcap_fwd" type="Geant4SensDetActionSequence">
0201           <filter name="OpticalPhotonSelector"/>
0202       <action name="Geant4SimpleOpticalCalorimeterAction/HcalEndcap_fwdHandler">
0203        <properties Control="true"/>
0204       </action>
0205     </sequence>    
0206     <sequence sd="HcalEndcap_bwd" type="Geant4SensDetActionSequence">
0207           <filter name="OpticalPhotonSelector"/>
0208       <action name="Geant4SimpleOpticalCalorimeterAction/HcalEndcap_bwdHandler">
0209       <properties Control="true"/>
0210       </action>
0211     </sequence>     
0212     <sequence sd="HcalPlug_fwd" type="Geant4SensDetActionSequence">
0213           <filter name="OpticalPhotonSelector"/>
0214       <action name="Geant4SimpleCalorimeterAction/HcalPlug_fwdHandler"/>
0215       <properties Control="true"/>
0216     </sequence>
0217     <sequence sd="HcalPlug_bwd" type="Geant4SensDetActionSequence">
0218           <filter name="OpticalPhotonSelector"/>
0219           <action name="Geant4SimpleCalorimeterAction/HcalPlug_bwdHandler"/>
0220       <properties Control="true"/>
0221     </sequence>
0222         
0223     <sequence sd="MuonBarrel" type="Geant4SensDetActionSequence">
0224       <action name="Geant4SimpleCalorimeterAction/MuonBarrelHandler"/>
0225     </sequence>
0226     <sequence sd="MuonEndcap_fwd1" type="Geant4SensDetActionSequence">
0227       <action name="Geant4SimpleCalorimeterAction/MuonEndcap_fwd1Handler"/>
0228     </sequence>
0229     <sequence sd="MuonEndcap_fwd2" type="Geant4SensDetActionSequence">
0230       <action name="Geant4SimpleCalorimeterAction/MuonEndcap_fwd2Handler"/>
0231     </sequence>
0232     <sequence sd="MuonEndcap_bwd1" type="Geant4SensDetActionSequence">
0233       <action name="Geant4SimpleCalorimeterAction/MuonEndcap_bwd1Handler"/>
0234     </sequence>
0235     <sequence sd="MuonEndcap_bwd2" type="Geant4SensDetActionSequence">
0236       <action name="Geant4SimpleCalorimeterAction/MuonEndcap_bwd2Handler"/>
0237     </sequence>
0238 
0239   </sequences>
0240 
0241 </geant4_setup>