1 #ifndef RecoHGCal_TICL_LinkingAlgoByDirectionGeometric_H__ 2 #define RecoHGCal_TICL_LinkingAlgoByDirectionGeometric_H__ 39 const std::vector<reco::Muon> &,
41 std::vector<TICLCandidate> &,
42 std::vector<TICLCandidate> &)
override;
54 std::array<TICLLayerTile, 2> &tracksterTiles);
57 const std::array<TICLLayerTile, 2> &tracksterTiles,
58 const std::vector<Vector> &tracksterPropPoints,
60 unsigned trackstersSize,
61 std::vector<std::vector<unsigned>> &resultCollection,
68 const float &tkTimeErr,
69 const float &tkTimeQual);
72 const std::vector<Trackster> &tracksters,
74 std::vector<unsigned> &ts_mask,
75 float &energy_in_candidate,
void linkTracksters(const edm::Handle< std::vector< reco::Track >>, const edm::ValueMap< float > &, const edm::ValueMap< float > &, const edm::ValueMap< float > &, const std::vector< reco::Muon > &, const edm::Handle< std::vector< Trackster >>, std::vector< TICLCandidate > &, std::vector< TICLCandidate > &) override
math::XYZVector propagateTrackster(const Trackster &t, const unsigned idx, float zVal, std::array< TICLLayerTile, 2 > &tracksterTiles)
std::once_flag initializeGeometry_
bool timeAndEnergyCompatible(float &total_raw_energy, const reco::Track &track, const Trackster &trackster, const float &tkTime, const float &tkTimeErr, const float &tkTimeQual)
const float del_tk_ts_int_
edm::ESHandle< Propagator > propagator_
hgcal::RecHitTools rhtools_
const float del_ts_em_had_
static void fillPSetDescription(edm::ParameterSetDescription &desc)
const StringCutObjectSelector< reco::Track > cutTk_
void recordTrackster(const unsigned ts, const std::vector< Trackster > &tracksters, const edm::Handle< std::vector< Trackster >> tsH, std::vector< unsigned > &ts_mask, float &energy_in_candidate, TICLCandidate &candidate)
edm::ESHandle< MagneticField > bfield_
void initialize(const HGCalDDDConstants *hgcons, const hgcal::RecHitTools rhtools, const edm::ESHandle< MagneticField > bfieldH, const edm::ESHandle< Propagator > propH) override
const float del_ts_had_had_
LinkingAlgoByDirectionGeometric(const edm::ParameterSet &conf)
const float del_tk_ts_layer1_
void dumpLinksFound(std::vector< std::vector< unsigned >> &resultCollection, const char *label) const
XYZVectorD XYZVector
spatial vector with cartesian internal representation
const float timing_quality_threshold_
void findTrackstersInWindow(const std::vector< std::pair< Vector, unsigned >> &seedingCollection, const std::array< TICLLayerTile, 2 > &tracksterTiles, const std::vector< Vector > &tracksterPropPoints, float delta, unsigned trackstersSize, std::vector< std::vector< unsigned >> &resultCollection, bool useMask)
const HGCalDDDConstants * hgcons_
std::unique_ptr< GeomDet > interfaceDisk_[2]
std::unique_ptr< GeomDet > firstDisk_[2]
~LinkingAlgoByDirectionGeometric() override