Belle II Software development
toCDCfromEclCKF Class Reference
Inheritance diagram for toCDCfromEclCKF:
TrackingValidationRun BrowseTFileOnTerminateRunMixin ReadOrGenerateTrackedEventsRun PostProcessingRunMixin ReadOrGenerateEventsRun EmptyRun MinimalRun EmptyRun

Static Public Member Functions

def finder_module (path)
 

Static Public Attributes

N_EVENTS n_events = N_EVENTS
 number of events to generate
 
str generator_module = 'generic'
 Generator to be used in the simulation (-so)
 
str root_input_file = '../EvtGenSimNoBkg.root'
 no background overlay
 
dict tracking_coverage
 Define the user parameters for the track-finding module.
 
bool fit_tracks = False
 tracks will be already fitted by the modules above
 
bool use_fit_information = True
 But we need to tell the validation module to use the fit information.
 
bool pulls = True
 Include pulls in the validation output.
 
bool resolution = True
 Include resolution information in the validation output.
 
VALIDATION_OUTPUT_FILE output_file_name = VALIDATION_OUTPUT_FILE
 name of the output ROOT file
 
list non_expert_parameters = []
 define empty list of non expert parameters so that no shifter plots are created (to revert just remove following line)
 

Detailed Description

Validate the ecl seeded ckf

Definition at line 29 of file toCDCfromEclCKFTrackingValidation.py.

Member Function Documentation

◆ finder_module()

def finder_module (   path)
static
Only run the following (necessary) modules

Reimplemented from ReadOrGenerateTrackedEventsRun.

Definition at line 39 of file toCDCfromEclCKFTrackingValidation.py.

39 def finder_module(path):
40 """Only run the following (necessary) modules"""
41 path.add_module('SetupGenfitExtrapolation',
42 energyLossBrems=False, noiseBrems=False)
43
45
46 # needed for truth matching
47 path.add_module('TrackFinderMCTruthRecoTracks',
48 RecoTracksStoreArrayName="MCRecoTracks",
49 WhichParticles=[],
50 UsePXDHits=False,
51 UseSVDHits=False,
52 UseCDCHits=True)
53
54 path.add_module("TFCDC_WireHitPreparer",
55 wirePosition="aligned",
56 useSecondHits=False,
57 flightTimeEstimation="outwards")
58
59 path.add_module("ToCDCFromEclCKF",
60 inputWireHits="CDCWireHitVector",
61 minimalEnRequirementCluster=0.3,
62 eclSeedRecoTrackStoreArrayName='EclSeedRecoTracks',
63 hitFindingDirection="backward",
64 outputRecoTrackStoreArrayName="CKFCDCRecoTracksFromEcl",
65 outputRelationRecoTrackStoreArrayName="EclSeedRecoTracks",
66 writeOutDirection="forward",
67 stateBasicFilterParameters={"maximalHitDistance": 7.5, "maximalHitDistanceEclSeed": 75.0},
68 stateExtrapolationFilterParameters={"direction": "backward"},
69 pathFilter="arc_length_fromEcl",
70 inputECLshowersStoreArrayName="ECLShowers",
71 trackFindingDirection="backward",
72 seedComponent="ECL"
73 )
74
75 path.add_module("ToCDCCKF",
76 inputWireHits="CDCWireHitVector",
77 inputRecoTrackStoreArrayName="CKFCDCRecoTracksFromEcl",
78 relatedRecoTrackStoreArrayName="RecoTracks",
79 relationCheckForDirection="backward",
80 outputRecoTrackStoreArrayName="RecoTracks",
81 outputRelationRecoTrackStoreArrayName="CKFCDCRecoTracksFromEcl",
82 writeOutDirection="backward",
83 stateBasicFilterParameters={"maximalHitDistance": 0.75},
84 stateExtrapolationFilterParameters={"direction": "forward"},
85 pathFilter="arc_length",
86 seedComponent="ECL"
87 )
88
89 path.add_module("DAFRecoFitter", recoTracksStoreArrayName="RecoTracks")
90
91 path.add_module('TrackCreator', recoTrackColName='RecoTracks')
92
93 path.add_module("MCRecoTracksMatcher",
94 mcRecoTracksStoreArrayName="MCRecoTracks",
95 prRecoTracksStoreArrayName="RecoTracks",
96 UseCDCHits=True,
97 UseSVDHits=False,
98 UsePXDHits=False)
99
def add_ecl_modules(path, components=None)

Member Data Documentation

◆ fit_tracks

bool fit_tracks = False
static

tracks will be already fitted by the modules above

Definition at line 109 of file toCDCfromEclCKFTrackingValidation.py.

◆ generator_module

str generator_module = 'generic'
static

Generator to be used in the simulation (-so)

Definition at line 34 of file toCDCfromEclCKFTrackingValidation.py.

◆ n_events

N_EVENTS n_events = N_EVENTS
static

number of events to generate

Definition at line 32 of file toCDCfromEclCKFTrackingValidation.py.

◆ non_expert_parameters

list non_expert_parameters = []
static

define empty list of non expert parameters so that no shifter plots are created (to revert just remove following line)

Definition at line 119 of file toCDCfromEclCKFTrackingValidation.py.

◆ output_file_name

VALIDATION_OUTPUT_FILE output_file_name = VALIDATION_OUTPUT_FILE
static

name of the output ROOT file

Definition at line 117 of file toCDCfromEclCKFTrackingValidation.py.

◆ pulls

bool pulls = True
static

Include pulls in the validation output.

Definition at line 113 of file toCDCfromEclCKFTrackingValidation.py.

◆ resolution

bool resolution = True
static

Include resolution information in the validation output.

Definition at line 115 of file toCDCfromEclCKFTrackingValidation.py.

◆ root_input_file

str root_input_file = '../EvtGenSimNoBkg.root'
static

no background overlay

Definition at line 36 of file toCDCfromEclCKFTrackingValidation.py.

◆ tracking_coverage

dict tracking_coverage
static
Initial value:
= {
'UsePXDHits': False,
'UseSVDHits': False,
'UseCDCHits': True,
'WhichParticles': [],
}

Define the user parameters for the track-finding module.

Definition at line 101 of file toCDCfromEclCKFTrackingValidation.py.

◆ use_fit_information

bool use_fit_information = True
static

But we need to tell the validation module to use the fit information.

Definition at line 111 of file toCDCfromEclCKFTrackingValidation.py.


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