/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Static Public Attributes
SimSequencer::RunIBD::ConfigureSubSequencer Class Reference

List of all members.

Public Member Functions

def __init__
def configure

Static Public Attributes

tuple gtc = GenTools.Configure()
tuple detsim = DetSim.Configure(physlist = DetSim.physics_list_basic+DetSim.physics_list_nuclear, use_sim_subseq = True)
 ds_Alg = detsim.giga_sequence
tuple elecsim = ElecSim.Configure(False)
tuple es_Alg = ElecSimConf.EsFrontEndAlg("ElecAlg")
tuple ts_Alg = TrigSimConf.TsTriggerAlg("TriggerAlg")
tuple ro_Alg = ReadoutSimConf.ROsReadoutAlg("ReadoutAlg")
tuple sim_sq = SimSequencer.Configure()
 sim_sequence = sim_sq.simSequencer
 sim_robuff = sim_sq.sim_robuffer
 sim_control = sim_sq.sim_controller
tuple theApp = ApplicationMgr()

Detailed Description

Configure a Full Chain of pull simulations.

Definition at line 14 of file __init__.py.


Constructor & Destructor Documentation

def SimSequencer::RunIBD::ConfigureSubSequencer::__init__ (   self,
  argv 
)

Definition at line 20 of file __init__.py.

00021                            :
00022         #self.parse_args(argv)
00023         #self.configure()
00024         return
    

Member Function Documentation

def SimSequencer::RunIBD::ConfigureSubSequencer::configure (   self)
Configure Kinematics

Definition at line 25 of file __init__.py.

00026                        :
00027         
00028         """Configure Kinematics"""
00029         
00030         import sys, getopt
00031         from time import localtime, gmtime, mktime, strftime, strptime, timezone
00032         #opts,args = getopt.getopt(argv,"p:w:s:n:v:")
00033         wallTime = 0
00034         gammaE = 1.0
00035         seed = "42"
00036         nevts = "10000"
00037         pmtDataPath = None
00038         volume = "/dd/Structure/Sites/db-rock/db-ows/db-curtain/db-iws/db-ade1/db-sst1/db-oil1/db-oav1/db-lso1/db-iav1/db-gds1"
00039         #for opt,arg in opts:
00040         #    if opt == "-s":
00041         #        seed = arg
00042         #    if opt == "-n":
00043         #        nevts = arg
00044         #    if opt == "-v":
00045         #        volume = arg
00046         #    if opt == "-p":
00047         #        pmtDataPath = arg
00048         #    if opt == "-w":
00049         #        if -1 != arg.find('T'):
00050         #            wallTime = int(mktime(strptime(arg,DATETIME_FORMAT)) - timezone)
00051         #    else:
00052         #        wallTime = int(arg)
00053   
00054         print "======================================================"
00055         print "Begin JOB TIME = ", strftime(DATETIME_FORMAT,
00056                                               gmtime())
00057         print "IBD random seed: ", seed
00058         print "Number of IBD events: ", nevts
00059         print "Target volume: ", volume
00060         print "======================================================"
00061             
00062         import GenTools
00063         import GaudiKernel.SystemOfUnits as units
00064    
00065         #GenTools
00066         #ibd = "InverseBeta.exe -seed " + seed + " -n " + nevts + " |"
00067         print "InverseBeta.exe -n " + nevts + " -seed " + seed + " |"
00068         ibd = "InverseBeta.exe -n " + nevts + " -seed " + seed + " |"
00069         from GenTools.Helpers import HepEVT
00070         he = HepEVT(hepEvtDataSource = ibd)
00071         he.positioner.Volume = volume
00072         he.positioner.Strategy = "FullVolume"
        he.positioner.Mode = "Uniform"

Member Data Documentation

Definition at line 79 of file __init__.py.

tuple SimSequencer::RunIBD::ConfigureSubSequencer::detsim = DetSim.Configure(physlist = DetSim.physics_list_basic+DetSim.physics_list_nuclear, use_sim_subseq = True) [static]

Definition at line 86 of file __init__.py.

SimSequencer::RunIBD::ConfigureSubSequencer::ds_Alg = detsim.giga_sequence [static]

Definition at line 88 of file __init__.py.

Definition at line 94 of file __init__.py.

tuple SimSequencer::RunIBD::ConfigureSubSequencer::es_Alg = ElecSimConf.EsFrontEndAlg("ElecAlg") [static]

Definition at line 100 of file __init__.py.

tuple SimSequencer::RunIBD::ConfigureSubSequencer::ts_Alg = TrigSimConf.TsTriggerAlg("TriggerAlg") [static]

Definition at line 105 of file __init__.py.

tuple SimSequencer::RunIBD::ConfigureSubSequencer::ro_Alg = ReadoutSimConf.ROsReadoutAlg("ReadoutAlg") [static]

Definition at line 110 of file __init__.py.

Definition at line 113 of file __init__.py.

Definition at line 114 of file __init__.py.

Definition at line 115 of file __init__.py.

Definition at line 116 of file __init__.py.

tuple SimSequencer::RunIBD::ConfigureSubSequencer::theApp = ApplicationMgr() [static]

Definition at line 124 of file __init__.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:14:31 for SimSequencer by doxygen 1.7.4