ATLAS Offline Software
Loading...
Searching...
No Matches
python.TrigInDetArtSteps.TrigInDetCompStep Class Reference
Inheritance diagram for python.TrigInDetArtSteps.TrigInDetCompStep:
Collaboration diagram for python.TrigInDetArtSteps.TrigInDetCompStep:

Public Member Functions

 __init__ (self, name='TrigInDetComp', slice=None, args=None, file=None)
 configure (self, test)

Public Attributes

 input_file = file
 slice = slice
bool auto_report_result = True
bool required = True
str args = args
str executable = 'TIDAcomparitor'
 chains = json_chains( self.slice )

Detailed Description

Execute TIDAcomparitor for data.root files.

Definition at line 283 of file TrigInDetArtSteps.py.

Constructor & Destructor Documentation

◆ __init__()

python.TrigInDetArtSteps.TrigInDetCompStep.__init__ ( self,
name = 'TrigInDetComp',
slice = None,
args = None,
file = None )

Definition at line 287 of file TrigInDetArtSteps.py.

287 def __init__( self, name='TrigInDetComp', slice=None, args=None, file=None ):
288 super(TrigInDetCompStep, self).__init__(name)
289
290 self.input_file = file
291 self.slice = slice
292 self.auto_report_result = True
293 self.required = True
294 self.args = args
295 self.executable = 'TIDAcomparitor'
296 os.system( 'get_files -data TIDAhisto-panel.dat &> /dev/null' )
297 os.system( 'get_files -data TIDAhisto-panel-vtx.dat &> /dev/null' )
298 os.system( 'get_files -data TIDAhistos-vtx.dat &> /dev/null' )
299 os.system( 'get_files -data TIDAhisto-panel-TnP.dat &> /dev/null' )
300 os.system( 'get_files -data TIDAhisto-tier0.dat &> /dev/null' )
301 os.system( 'get_files -data TIDAhisto-tier0-vtx.dat &> /dev/null' )
302 os.system( 'get_files -data TIDAhisto-tier0-TnP.dat &> /dev/null' )
303

Member Function Documentation

◆ configure()

python.TrigInDetArtSteps.TrigInDetCompStep.configure ( self,
test )

Definition at line 304 of file TrigInDetArtSteps.py.

304 def configure(self, test):
305 RefComparisonStep.configure(self, test)
306 if self.reference is None :
307 self.args = self.args + " " + self.input_file + " " + self.input_file + " --noref --oldrms "
308 else:
309 self.args = self.args + " " + self.input_file + " " + self.reference + " --oldrms "
310 self.chains = json_chains( self.slice )
311 self.args += " " + self.chains
312 print( "\033[0;32mTIDAcomparitor "+self.args+" \033[0m" )
313 Step.configure(self, test)
314
315
316
317
void print(char *figname, TCanvas *c1)
bool configure(asg::AnaToolHandle< ITrigGlobalEfficiencyCorrectionTool > &tool, ToolHandleArray< IAsgElectronEfficiencyCorrectionTool > &electronEffToolsHandles, ToolHandleArray< IAsgElectronEfficiencyCorrectionTool > &electronSFToolsHandles, ToolHandleArray< CP::IMuonTriggerScaleFactors > &muonToolsHandles, ToolHandleArray< IAsgPhotonEfficiencyCorrectionTool > &photonEffToolsHandles, ToolHandleArray< IAsgPhotonEfficiencyCorrectionTool > &photonSFToolsHandles, const std::string &triggers, const std::map< std::string, std::string > &legsPerTool, unsigned long nToys, bool debug)

Member Data Documentation

◆ args

str python.TrigInDetArtSteps.TrigInDetCompStep.args = args

Definition at line 294 of file TrigInDetArtSteps.py.

◆ auto_report_result

bool python.TrigInDetArtSteps.TrigInDetCompStep.auto_report_result = True

Definition at line 292 of file TrigInDetArtSteps.py.

◆ chains

python.TrigInDetArtSteps.TrigInDetCompStep.chains = json_chains( self.slice )

Definition at line 310 of file TrigInDetArtSteps.py.

◆ executable

str python.TrigInDetArtSteps.TrigInDetCompStep.executable = 'TIDAcomparitor'

Definition at line 295 of file TrigInDetArtSteps.py.

◆ input_file

python.TrigInDetArtSteps.TrigInDetCompStep.input_file = file

Definition at line 290 of file TrigInDetArtSteps.py.

◆ required

bool python.TrigInDetArtSteps.TrigInDetCompStep.required = True

Definition at line 293 of file TrigInDetArtSteps.py.

◆ slice

python.TrigInDetArtSteps.TrigInDetCompStep.slice = slice

Definition at line 291 of file TrigInDetArtSteps.py.


The documentation for this class was generated from the following file: