10 #include <tracking/trackFindingCDC/findlets/base/Findlet.h>
11 #include <tracking/dataobjects/ROIid.h>
12 #include <tracking/dataobjects/PXDIntercept.h>
13 #include <framework/datastore/StoreArray.h>
14 #include <framework/geometry/B2Vector3.h>
24 class ModuleParamList;
25 class SpacePointTrackCand;
27 namespace vxdHoughTracking {
47 void apply(
const std::vector<SpacePointTrackCand>& finalTracks)
override;
140 const double m_const_ladderPhiL1[8] = {0., 0.25 * M_PI, M_PI_2, 0.75 * M_PI, M_PI, -0.75 * M_PI, -M_PI_2, -0.25 * M_PI};
142 const double m_const_ladderPhiL2[12] = {0., 1. / 6. * M_PI, 1. / 3. * M_PI, M_PI_2, 2. / 3. * M_PI, 5. / 6. * M_PI, M_PI, -5. / 6. * M_PI, -2. / 3. * M_PI, -M_PI_2, -1. / 3. * M_PI, -1. / 6. * M_PI};
The Module parameter list class.
Accessor to arrays stored in the data store.
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Interface for an algorithm part that needs to receive the module processing signals.
Findlet for performing the DATCON ROI calculation.
std::string m_param_storePXDInterceptsName
Name of the PXDIntercepts StoreArray.
unsigned short m_param_maximumROISizeV
maximum ROI size in v in pixel
double m_param_tolerancePhi
Allowed tolerance (in radians) phi to create intercepts per sensor.
B2Vector3D m_BeamSpotPosition
B2Vector3D actually contining the BeamSpot position. This will be used as the starting point of the e...
const double m_const_activeSensorWidth
PXD sensors in L1 and L2 have the same size in u direction (=width):
const double m_const_ladderPhiL2[12]
Phi values of the ladders of L2.
const double m_const_activeSensorLength[2]
Length of the active region for L1 and L2.
~ROIFinder()
Default desctructor.
bool m_param_calculateROI
Calculate ROI in this findlet?
std::string m_param_storeROIsName
Name of the ROIs StoreArray.
void initialize() override
Initialize the StoreArrays.
StoreArray< ROIid > m_storeROIs
ROIs StoreArray.
double m_param_cosPhiCorrectionFactor
Correction factor for the cos(phi) modulation.
double m_param_minimumROISizeUL2
Minimum size of ROI in u-direction on L2 in pixel.
const double m_const_centerZShiftLayer1[2]
Shift of the center of the active area of each sensor in a ladder of layer 1 For use of mhp_z > (leng...
void apply(const std::vector< SpacePointTrackCand > &finalTracks) override
Function to call all the sub-findlets.
double m_param_minimumROISizeVL2
Minimum size of ROI in v-direction on L2 in pixel.
double m_param_sinPhiCorrectionFactor
Correction factor for the sin(phi) modulation.
const double m_const_ladderPhiL1[8]
Phi values of the ladders of L1.
double m_param_multiplierVL1
Multiplier term for v-direction on L1.
StoreArray< PXDIntercept > m_storePXDIntercepts
PXDIntercepts StoreArray.
const double m_const_sensorMaxY
Maximum y coordinate if x-axis is perpendicular to the sensor:
double m_param_multiplierUL2
Multiplier term for u-direction on L2.
void beginRun() override
Initialize the BField.
double m_param_minimumROISizeVL1
Minimum size of ROI in v-direction on L1 in pixel.
double m_param_multiplierUL1
Multiplier term in ROI size estimation For u: size = multiplier * 1/R + minimumROISize For v: size = ...
unsigned short m_param_maximumROISizeU
maximum ROI size in u in pixel
void beginEvent() override
Clear the object pools.
double m_bFieldZ
BField in Tesla.
const double m_const_layerRadius[2]
Radius of the two layers.
double m_param_toleranceZ
Allowed tolerance (in cm) in z to create intercepts per sensor.
double m_param_multiplierVL2
Multiplier term for v-direction on L2.
const double m_const_shiftY
Shift of the center position in y if the x-axis is perpendicular to the sensor:
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
ROIFinder()
Constructor for adding the subfindlets.
double m_param_radiusCorrectionFactor
Correction factor for radial bias: factor * charge / radius.
double m_param_minimumROISizeUL1
Minimum size of ROI in u-direction on L1 in pixel.
const double m_const_centerZShiftLayer2[2]
Shift of the center of the active area of each sensor in a ladder of layer 2 For use of mhp_z > (leng...
const double m_const_sensorMinY
PXD is shifted to create the windmill structure.
Abstract base class for different kinds of events.