13 <contact>simon.kurz@desy.de</contact>
14 <input>EvtGenSimNoBkg.root</input>
15 <output>toCDCfromEclCKFTrackingValidation_onlyEclSeed.root</output>
16 <description>This module validates toCDCfromEclCKF module using Y(4S) runs.</description>
21from tracking.validation.run import TrackingValidationRun
24VALIDATION_OUTPUT_FILE = 'toCDCfromEclCKFTrackingValidation_onlyEclSeed.root'
29class toCDCfromEclCKF(TrackingValidationRun):
30 """Validate the ecl seeded ckf"""
34 generator_module =
'generic'
36 root_input_file =
'../EvtGenSimNoBkg.root'
40 """Only run the following (necessary) modules"""
41 path.add_module(
'SetupGenfitExtrapolation',
42 energyLossBrems=
False, noiseBrems=
False)
47 path.add_module(
'TrackFinderMCTruthRecoTracks',
48 RecoTracksStoreArrayName=
"MCRecoTracks",
55 path.add_module(
"TFCDC_WireHitPreparer",
56 wirePosition=
"aligned",
58 flightTimeEstimation=
"outwards")
60 path.add_module(
"ToCDCFromEclCKF",
61 inputWireHits=
"CDCWireHitVector",
62 minimalEnRequirementCluster=0.3,
63 eclSeedRecoTrackStoreArrayName=
'EclSeedRecoTracks',
64 hitFindingDirection=
"backward",
65 outputRecoTrackStoreArrayName=
"RecoTracks",
66 outputRelationRecoTrackStoreArrayName=
"EclSeedRecoTracks",
67 writeOutDirection=
"forward",
68 stateBasicFilterParameters={
"maximalHitDistance": 7.5,
"maximalHitDistanceEclSeed": 75.0},
69 stateExtrapolationFilterParameters={
"direction":
"backward"},
70 pathFilter=
"arc_length_fromEcl",
71 inputECLshowersStoreArrayName=
"ECLShowers",
72 trackFindingDirection=
"backward",
76 path.add_module(
"DAFRecoFitter", recoTracksStoreArrayName=
"RecoTracks")
78 path.add_module(
'TrackCreator', recoTrackColName=
'RecoTracks')
80 path.add_module(
"MCRecoTracksMatcher",
81 mcRecoTracksStoreArrayName=
"MCRecoTracks",
82 prRecoTracksStoreArrayName=
"RecoTracks",
98 use_fit_information =
True
104 output_file_name = VALIDATION_OUTPUT_FILE
106 non_expert_parameters = []
110 basf2.set_random_seed(1337)
112 validation_run.configure_and_execute_from_commandline()
115if __name__ ==
'__main__':
116 logging.basicConfig(level=logging.INFO)
121 print(
"This validation deactivated and thus basf2 is not executed.\n"
122 "If you want to run this validation, please set the 'ACTIVE' flag above to 'True'.\n"
None finder_module
Name of the finder module to be used - can be everything that is accepted by tracking....
def add_ecl_modules(path, components=None)