ATLAS Offline Software
Functions
python.NSWPRDValAlgSim Namespace Reference

Functions

def NSWPRDValAlgSimCfg (flags, name="NSWPRDValAlg", **kwargs)
 

Function Documentation

◆ NSWPRDValAlgSimCfg()

def python.NSWPRDValAlgSim.NSWPRDValAlgSimCfg (   flags,
  name = "NSWPRDValAlg",
**  kwargs 
)

Definition at line 11 of file NSWPRDValAlgSim.py.

11 def NSWPRDValAlgSimCfg(flags, name = "NSWPRDValAlg", **kwargs):
12  result = ComponentAccumulator()
13 
14  histSvc = CompFactory.THistSvc(Output=["NSWPRDValAlg DATAFILE='NSWPRDValAlg.sim.ntuple.root' OPT='RECREATE'"])
15  result.addService(histSvc)
16 
17  kwargs.setdefault("OutputLevel", INFO)
18  kwargs.setdefault("doTruth", True)
19  kwargs.setdefault("doMuEntry", True)
20 
21  kwargs.setdefault("doMDTHit", True)
22  kwargs.setdefault("doRPCHit", True)
23  kwargs.setdefault("doTGCHit", True)
24 
25  kwargs.setdefault("doMMHit", flags.Detector.EnableMM)
26  kwargs.setdefault("doSTGCHit", flags.Detector.EnablesTGC)
27  kwargs.setdefault("doCSCHit", flags.Detector.EnableCSC)
28 
29  if not flags.Detector.EnableCSC:
30  kwargs.setdefault("CscRDODecoder","") # Remove the tool to prevent initializing CSC calibration tool
31 
32  NSWPRDValAlg = CompFactory.NSWPRDValAlg(name, **kwargs)
33  result.addEventAlgo(NSWPRDValAlg)
34 
35  return result
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.NSWPRDValAlgSim.NSWPRDValAlgSimCfg
def NSWPRDValAlgSimCfg(flags, name="NSWPRDValAlg", **kwargs)
Definition: NSWPRDValAlgSim.py:11