ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
cmpExerciser.FastReductionLabeledCompTests Class Reference
Inheritance diagram for cmpExerciser.FastReductionLabeledCompTests:
Collaboration diagram for cmpExerciser.FastReductionLabeledCompTests:

Public Member Functions

def __init__ (self, label, fn_frag, mult_string)
 
def make_helper_tools (self)
 
def make_chain_dict (self)
 
def make_helper_tool (self)
 
def logfile_name (self)
 

Public Attributes

 chain_name
 
 chain_label
 
 logname
 

Detailed Description

Definition at line 78 of file cmpExerciser.py.

Constructor & Destructor Documentation

◆ __init__()

def cmpExerciser.FastReductionLabeledCompTests.__init__ (   self,
  label,
  fn_frag,
  mult_string 
)

Definition at line 80 of file cmpExerciser.py.

80  def __init__(self,
81  label,
82  fn_frag,
83  mult_string):
84 
85  CombinationsTests.__init__(self)
86  self.chain_name = 'HLT_' + fn_frag
87  self.chain_label = label
88  self.logname = self.chain_name + mult_string + '.log'
89 

Member Function Documentation

◆ logfile_name()

def cmpExerciser.CombinationsTests.logfile_name (   self)
inherited

Definition at line 74 of file cmpExerciser.py.

74  def logfile_name(self):
75  return self.chain_name + '_b' + str(self.n_bkgd) + '_combs.log'
76 

◆ make_chain_dict()

def cmpExerciser.CombinationsTests.make_chain_dict (   self)
inherited
ChainDict to excercise modifications to CombinationsHelperTool

Definition at line 53 of file cmpExerciser.py.

53  def make_chain_dict(self):
54  """ChainDict to excercise modifications to CombinationsHelperTool"""
55 
56  chainNameDecoder = DictFromChainName.DictFromChainName()
57 
58  #make a chain dict to be perverted:
59  # its hypoScenario will be overwritten by the value
60  # 'combinationsTest'. This will result in a hardwired chain label
61  # being used.
62  chain_dict = chainNameDecoder.getChainDict(self.chain_name)
63  assert len(chain_dict['chainParts']) == 1
64 
65  chain_dict['chainParts'][0]['hypoScenario'] = 'combinationsTest'
66 
67  return chain_dict
68 

◆ make_helper_tool()

def cmpExerciser.CombinationsTests.make_helper_tool (   self)
inherited

Definition at line 69 of file cmpExerciser.py.

69  def make_helper_tool(self):
70  chain_dict = self._make_chain_dict()
71  print(chain_dict['chainParts'][0])
72  return trigJetHypoToolHelperFromDict(chain_dict)
73 

◆ make_helper_tools()

def cmpExerciser.FastReductionLabeledCompTests.make_helper_tools (   self)

Definition at line 90 of file cmpExerciser.py.

90  def make_helper_tools(self):
91 
92  setter1 = ConditionsToolSetterTree('dummyChainName')
93  helper1 = trigJetHypoToolHelperFromDict_(self.chain_label,
94  self.chain_name,
95  setter1)
96 
97  # setter1 = ConditionsToolSetterTree('treeConditionsTreeSetter')
98  # helper1 = trigJetHypoToolHelperFromDict_(self.chain_label,
99  # self.chain_name,
100  # setter1)
101 
102  # setter0 = ConditionsToolSetterFastReduction('frConditionsTreeSetter')
103  # helper0 = trigJetHypoToolHelperFromDict_(self.chain_label,
104  # self.chain_name,
105  # setter0)
106 
107  helper0 = AlwaysSameHelperTool()
108  helper0.passflag = False
109 
110  setter0 = ConditionsToolSetterFastReduction('dummyChainName')
111  helper0 = trigJetHypoToolHelperFromDict_(self.chain_label,
112  self.chain_name,
113  setter0)
114 
115  # helper0 = AlwaysSameHelperTool()
116  # helper0.passflag = False
117 
118  # helper1 = AlwaysSameHelperTool()
119  # helper1.passflag = True
120 
121  return (helper0, helper1)
122 
123 

Member Data Documentation

◆ chain_label

cmpExerciser.FastReductionLabeledCompTests.chain_label

Definition at line 84 of file cmpExerciser.py.

◆ chain_name

cmpExerciser.FastReductionLabeledCompTests.chain_name

Definition at line 83 of file cmpExerciser.py.

◆ logname

cmpExerciser.FastReductionLabeledCompTests.logname

Definition at line 85 of file cmpExerciser.py.


The documentation for this class was generated from the following file:
AlwaysSameHelperTool
Definition: AlwaysSameHelperTool.h:28
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18
Muon::print
std::string print(const MuPatSegment &)
Definition: MuonTrackSteering.cxx:28
str
Definition: BTagTrackIpAccessor.cxx:11