20from trackfindingcdc.run.training
import TrainingRunMixin
24 """Run for recording facets encountered at the filter"""
29 generator_module = "generic"
36 truth =
"truth_positive"
40 """Database identifier of the filter being trained"""
41 return "trackfindingcdc_FacetRelationFilter.xml"
43 def create_path(self):
44 """Setup the recording path after the simulation"""
45 path = super().create_path()
141 self.
groupby = [
"",
"superlayer_id"]
147 path.add_module(
"TFCDC_WireHitPreparer",
148 flightTimeEstimation=
"outwards",
151 path.add_module(
"TFCDC_ClusterPreparer")
153 path.add_module(
"TFCDC_SegmentFinderFacetAutomaton",
154 FacetRelationFilter=
"unionrecording",
155 FacetRelationFilterParameters={
156 "rootFileName": self.sample_file_name,
164 """Execute the facet relation recording"""
166 run.configure_and_execute_from_commandline()
169if __name__ ==
"__main__":
171 logging.basicConfig(stream=sys.stdout, level=logging.INFO, format=
'%(levelname)s:%(message)s')
str task
Default task set to explore.
variables
Signal some variables to select in the classification analysis.
groupby
group output by superlayer_id
task
Post-process events according to the user's desired task (train, eval, explore)
auxiliaries
auxiliary histograms