1 #ifndef RecoHI_HiTracking_HITrackingRegionProducer_H
2 #define RecoHI_HiTracking_HITrackingRegionProducer_H
32 double xDir = regionPSet.
getParameter<
double>(
"directionXCoord");
33 double yDir = regionPSet.
getParameter<
double>(
"directionYCoord");
34 double zDir = regionPSet.
getParameter<
double>(
"directionZCoord");
53 recHitIdIterator != recHitIdIteratorEnd; recHitIdIterator++) {
56 unsigned int detType=detId.
det();
61 if(detType==1 && subid==1 && layer==1) {
62 numRecHits += hits.
size();
73 float aa = 1.90935e-04;
74 float bb = -2.90167e-01;
75 float cc = 3.86125e+02;
77 float estTracks = aa*estMult*estMult+bb*estMult+cc;
79 LogTrace(
"heavyIonHLTVertexing")<<
"[HIVertexing]";
80 LogTrace(
"heavyIonHLTVertexing")<<
" [HIVertexing: hits in the 1. layer:" << estMult <<
"]";
81 LogTrace(
"heavyIonHLTVertexing")<<
" [HIVertexing: estimated number of tracks:" << estTracks <<
"]";
83 float regTracking = 400.;
87 float decEta = estTracks/600.;
90 if(estTracks>regTracking) {
91 LogTrace(
"heavyIonHLTVertexing")<<
" [HIVertexing: Regional Tracking]";
92 LogTrace(
"heavyIonHLTVertexing")<<
" [Regional Tracking: eta range: -" << etaB <<
", "<< etaB <<
"]";
93 LogTrace(
"heavyIonHLTVertexing")<<
" [Regional Tracking: phi range: -" << phiB <<
", "<< phiB <<
"]";
94 LogTrace(
"heavyIonHLTVertexing")<<
" [Regional Tracking: factor of decrease: " << decEta*2. <<
"]";
98 std::vector<TrackingRegion* >
result;
99 if(estTracks>regTracking) {
103 LogTrace(
"heavyIonHLTVertexing")<<
" [HIVertexing: Global Tracking]";
T getParameter(std::string const &) const
int estimateMultiplicity(const edm::Event &ev, const edm::EventSetup &es) const
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
HITrackingRegionProducer(const edm::ParameterSet &cfg)
Global3DPoint GlobalPoint
virtual ~HITrackingRegionProducer()
GlobalVector theDirection
unsigned int layer() const
layer id
std::string theSiPixelRecHits
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
double theOriginHalfLength
Detector det() const
get the detector field from this detid
virtual std::vector< TrackingRegion * > regions(const edm::Event &ev, const edm::EventSetup &es) const
Global3DVector GlobalVector