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 268 of file TrigInDetArtSteps.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 272 of file TrigInDetArtSteps.py.

272 def __init__( self, name='TrigInDetComp', slice=None, args=None, file=None ):
273 super(TrigInDetCompStep, self).__init__(name)
274
275 self.input_file = file
276 self.slice = slice
277 self.auto_report_result = True
278 self.required = True
279 self.args = args
280 self.executable = 'TIDAcomparitor'
281 os.system( 'get_files -data TIDAhisto-panel.dat &> /dev/null' )
282 os.system( 'get_files -data TIDAhisto-panel-vtx.dat &> /dev/null' )
283 os.system( 'get_files -data TIDAhistos-vtx.dat &> /dev/null' )
284 os.system( 'get_files -data TIDAhisto-panel-TnP.dat &> /dev/null' )
285 os.system( 'get_files -data TIDAhisto-tier0.dat &> /dev/null' )
286 os.system( 'get_files -data TIDAhisto-tier0-vtx.dat &> /dev/null' )
287 os.system( 'get_files -data TIDAhisto-tier0-TnP.dat &> /dev/null' )
288

Member Function Documentation

◆ configure()

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

Definition at line 289 of file TrigInDetArtSteps.py.

289 def configure(self, test):
290 RefComparisonStep.configure(self, test)
291 if self.reference is None :
292 self.args = self.args + " " + self.input_file + " " + self.input_file + " --noref --oldrms "
293 else:
294 self.args = self.args + " " + self.input_file + " " + self.reference + " --oldrms "
295 self.chains = json_chains( self.slice )
296 self.args += " " + self.chains
297 print( "\033[0;32mTIDAcomparitor "+self.args+" \033[0m" )
298 Step.configure(self, test)
299
300
301
302
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 279 of file TrigInDetArtSteps.py.

◆ auto_report_result

bool python.TrigInDetArtSteps.TrigInDetCompStep.auto_report_result = True

Definition at line 277 of file TrigInDetArtSteps.py.

◆ chains

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

Definition at line 295 of file TrigInDetArtSteps.py.

◆ executable

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

Definition at line 280 of file TrigInDetArtSteps.py.

◆ input_file

python.TrigInDetArtSteps.TrigInDetCompStep.input_file = file

Definition at line 275 of file TrigInDetArtSteps.py.

◆ required

bool python.TrigInDetArtSteps.TrigInDetCompStep.required = True

Definition at line 278 of file TrigInDetArtSteps.py.

◆ slice

python.TrigInDetArtSteps.TrigInDetCompStep.slice = slice

Definition at line 276 of file TrigInDetArtSteps.py.


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