CMS 3D CMS Logo

VectorHitBuilderAlgorithmBase.h
Go to the documentation of this file.
1 #ifndef RecoLocalTracker_SiPhase2VectorHitBuilder_VectorHitBuilderAlgorithmBase_H
2 #define RecoLocalTracker_SiPhase2VectorHitBuilder_VectorHitBuilderAlgorithmBase_H
3 
17 
19 public:
24  typedef std::pair<StackGeomDet, std::vector<Phase2TrackerCluster1D>> StackClusters;
25 
27  const TrackerGeometry*,
28  const TrackerTopology*,
31 
32  //FIXME::ERICA::this should be template, return different collection for different algo used!!
34  VectorHitCollection& vhAcc,
35  VectorHitCollection& vhRej,
37  edmNew::DetSetVector<Phase2TrackerCluster1D>& clustersRej) const = 0;
38 
39  virtual void buildVectorHits(VectorHitCollection& vhAcc,
40  VectorHitCollection& vhRej,
41  DetId detIdStack,
42  const StackGeomDet* stack,
44  const Detset& DSVinner,
45  const Detset& DSVouter,
46  const std::vector<bool>& phase2OTClustersToSkip = std::vector<bool>()) const = 0;
47 
51 
54  const PixelGeomDetUnit*,
55  const Point3DBase<float, LocalTag>&) const;
56 
58  void printCluster(const GeomDet* geomDetUnit, const Phase2TrackerCluster1D* cluster) const;
59 
63  unsigned int nMaxVHforeachStack_;
64  std::vector<double> barrelCut_;
65  std::vector<double> endcapCut_;
66 
67 private:
69 };
70 
71 #endif
Handle.h
edm::ESInputTag
Definition: ESInputTag.h:87
TrackerGeometry.h
GeomDet
Definition: GeomDet.h:27
Phase2TrackerCluster1D
Definition: Phase2TrackerCluster1D.h:10
ESHandle.h
VectorHitBuilderAlgorithmBase::tkTopo_
const TrackerTopology * tkTopo_
Definition: VectorHitBuilderAlgorithmBase.h:61
TrackerTopology
Definition: TrackerTopology.h:16
VectorHitBuilderAlgorithmBase::~VectorHitBuilderAlgorithmBase
virtual ~VectorHitBuilderAlgorithmBase()
Definition: VectorHitBuilderAlgorithmBase.h:30
VectorHitBuilderAlgorithmBase::cpe_
const ClusterParameterEstimator< Phase2TrackerCluster1D > * cpe_
Definition: VectorHitBuilderAlgorithmBase.h:62
VectorHitBuilderAlgorithmBase::buildVectorHits
virtual void buildVectorHits(VectorHitCollection &vhAcc, VectorHitCollection &vhRej, DetId detIdStack, const StackGeomDet *stack, edm::Handle< edmNew::DetSetVector< Phase2TrackerCluster1D >> clusters, const Detset &DSVinner, const Detset &DSVouter, const std::vector< bool > &phase2OTClustersToSkip=std::vector< bool >()) const =0
VectorHitBuilderAlgorithmBase::VectorHitBuilderAlgorithmBase
VectorHitBuilderAlgorithmBase(const edm::ParameterSet &, const TrackerGeometry *, const TrackerTopology *, const ClusterParameterEstimator< Phase2TrackerCluster1D > *)
Definition: VectorHitBuilderAlgorithmBase.cc:10
edm::Handle
Definition: AssociativeIterator.h:50
edm::Ref
Definition: AssociativeIterator.h:58
DetId
Definition: DetId.h:17
TrackerTopology.h
VectorHitBuilderAlgorithmBase
Definition: VectorHitBuilderAlgorithmBase.h:18
PixelGeomDetUnit
Definition: PixelGeomDetUnit.h:15
edmNew::DetSet
Definition: DetSetNew.h:22
Phase2StripCPE.h
Point3DBase< float, LocalTag >
ClusterParameterEstimator< Phase2TrackerCluster1D >
VectorHitBuilderAlgorithmBase::printCluster
void printCluster(const GeomDet *geomDetUnit, const Phase2TrackerCluster1D *cluster) const
Definition: VectorHitBuilderAlgorithmBase.cc:65
VectorHitBuilderAlgorithmBase::run
virtual void run(edm::Handle< edmNew::DetSetVector< Phase2TrackerCluster1D >> clusters, VectorHitCollection &vhAcc, VectorHitCollection &vhRej, edmNew::DetSetVector< Phase2TrackerCluster1D > &clustersAcc, edmNew::DetSetVector< Phase2TrackerCluster1D > &clustersRej) const =0
VectorHitBuilderAlgorithmBase::Phase2TrackerCluster1DRef
edm::Ref< edmNew::DetSetVector< Phase2TrackerCluster1D >, Phase2TrackerCluster1D > Phase2TrackerCluster1DRef
Definition: VectorHitBuilderAlgorithmBase.h:20
bsc_activity_cfg.clusters
clusters
Definition: bsc_activity_cfg.py:36
svgfig.stack
stack
Definition: svgfig.py:559
VectorHitBuilderAlgorithmBase::nMaxVHforeachStack_
unsigned int nMaxVHforeachStack_
Definition: VectorHitBuilderAlgorithmBase.h:63
edm::ParameterSet
Definition: ParameterSet.h:47
VectorHitBuilderAlgorithmBase::const_iterator
Detset::const_iterator const_iterator
Definition: VectorHitBuilderAlgorithmBase.h:22
FrameworkfwdMostUsed.h
VectorHitBuilderAlgorithmBase::computeParallaxCorrection
double computeParallaxCorrection(const PixelGeomDetUnit *, const Point3DBase< float, LocalTag > &, const PixelGeomDetUnit *, const Point3DBase< float, LocalTag > &) const
Definition: VectorHitBuilderAlgorithmBase.cc:23
DetSetVector.h
VectorHitBuilderAlgorithmBase::tkGeom_
const TrackerGeometry * tkGeom_
Definition: VectorHitBuilderAlgorithmBase.h:60
StackGeomDet.h
VectorHitBuilderAlgorithmBase::Detset
edmNew::DetSet< Phase2TrackerCluster1D > Detset
Definition: VectorHitBuilderAlgorithmBase.h:21
VectorHitBuilderAlgorithmBase::output_t
edmNew::DetSetVector< VectorHit > output_t
Definition: VectorHitBuilderAlgorithmBase.h:23
VectorHit
Definition: VectorHit.h:28
VectorHitBuilderAlgorithmBase::StackClusters
std::pair< StackGeomDet, std::vector< Phase2TrackerCluster1D > > StackClusters
Definition: VectorHitBuilderAlgorithmBase.h:24
edmNew::DetSetVector
Definition: DetSetNew.h:13
StackGeomDet
Definition: StackGeomDet.h:7
VectorHitBuilderAlgorithmBase::barrelCut_
std::vector< double > barrelCut_
Definition: VectorHitBuilderAlgorithmBase.h:64
Phase2TrackerCluster1D.h
VectorHitBuilderAlgorithmBase::printClusters
void printClusters(const edmNew::DetSetVector< Phase2TrackerCluster1D > &clusters) const
Definition: VectorHitBuilderAlgorithmBase.cc:47
PixelGeomDetUnit.h
pileupCalc.upper
upper
Definition: pileupCalc.py:214
ParameterSet.h
VectorHitBuilderAlgorithmBase::endcapCut_
std::vector< double > endcapCut_
Definition: VectorHitBuilderAlgorithmBase.h:65
VectorHitBuilderAlgorithmBase::cpeTag_
edm::ESInputTag cpeTag_
Definition: VectorHitBuilderAlgorithmBase.h:68
DetSetVectorNew.h
VectorHit.h
TrackerGeometry
Definition: TrackerGeometry.h:14
edmNew::DetSet::const_iterator
const data_type * const_iterator
Definition: DetSetNew.h:31
VectorHitBuilderAlgorithmBase::buildVectorHit
virtual VectorHit buildVectorHit(const StackGeomDet *stack, Phase2TrackerCluster1DRef lower, Phase2TrackerCluster1DRef upper) const =0