Resources and Procedures

TPhRMSSelVertexMod    TPhVertexFinderMod   TPhFindSpecVertexMod    TPhSpecVertexFinderMod   TPhOctProbabilityVertexMod    TPhFindOctVertexMod   TPhCerenkovVertexMod    TPhT0VertexMod   TPhFindTrgVertexMod

 

TPhRMSSelVertexMod

Cuts and vertex properties are stored in the VtxSelection.root file in $PHATHOME/init directory. This is the default file the module searches for  cuts and calibration data. They are stored in pairs under a common directory which is referenced in the code by name as a "schema". There are now three schemas: DEFAULT, TIGHT_CUTS and LOOSE_CUTS. In order to customize cuts according to new requirements one can either change the contents of these schemas (directories) or introduce new ones, under different names or create a separate file with user data. All this is possible using provided macros vtx_cuts.C and vtx_properties.C found in $PHATHOME/macros/vtxselection directory.

The vtx_properties.C macro needs a file with preprocessed ntuple (tree) containing results from a PRVertexing supermodule used in the PRFullVertexingLoopMC.C macro. Running this macro is the first step and then macro vtx_properties.C macro will generate objects with properties (and histograms) stored, and will write them into the directory named by the requested "schema" name. The histograms of deviations can be easily drawn using the TPhVtxProperty::DrawHistos function.

The vtx_cuts.C contains explicitly all the general cuts that one has deduced from analyzing histograms of vertex properties. In addition one may defines there a set of custom precision requirements, separately for each of the axes. These limits will then turn off those bins of the matrix of properties (separately for each vertexing scheme), which do not fulfill the precision requirements. The turned off bins will prevent a given vertexing from being taken into account during construction of the composite vertex.

In order to define a new "schema" both properties and cuts have to be defined. If some vertex finding schemes are not present in the properties directory, these vertices are not considered. If the cuts for a given vertex have not been created, no cuts will be applied to this vertex.

TPhVertexFinderMod

 

TPhFindSpecVertexMod

 

TPhSpecVertexFinderMod

 

TPhOctProbabilityVertexMod

$PHATHOME/init/TPhOctProbabilityVertexMod.dat produced by $PHATHOME/phatvert/macros/octagonvertexcalibration.C.

TPhFindOctVertexMod

 

TPhCerenkovVertexMod

No - but should get offset from somewhere.

TPhT0VertexMod

 

TPhFindTrgVertexMod