14 histSvc = CompFactory.THistSvc(Output=[
"NSWPRDValAlg DATAFILE='NSWPRDValAlg.sim.ntuple.root' OPT='RECREATE'"])
15 result.addService(histSvc)
17 kwargs.setdefault(
"OutputLevel", INFO)
18 kwargs.setdefault(
"doTruth",
True)
19 kwargs.setdefault(
"doMuEntry",
True)
21 kwargs.setdefault(
"doMDTHit",
True)
22 kwargs.setdefault(
"doRPCHit",
True)
23 kwargs.setdefault(
"doTGCHit",
True)
25 kwargs.setdefault(
"doMMHit", flags.Detector.EnableMM)
26 kwargs.setdefault(
"doSTGCHit", flags.Detector.EnablesTGC)
27 kwargs.setdefault(
"doCSCHit", flags.Detector.EnableCSC)
29 if not flags.Detector.EnableCSC:
30 kwargs.setdefault(
"CscRDODecoder",
"")
32 NSWPRDValAlg = CompFactory.NSWPRDValAlg(name, **kwargs)
33 result.addEventAlgo(NSWPRDValAlg)