45 theTIPMax(iConfig.getParameter<double>(
"tipMax")),
46 theChi2Max(iConfig.getParameter<double>(
"chi2")),
47 thePtMin(iConfig.getParameter<double>(
"ptMin")),
50 produces<PixelTrackFilter>();
58 desc.
add<
double>(
"ptMin", 1.0);
59 desc.
add<
double>(
"tipMax", 1.0);
60 desc.
add<
double>(
"chi2", 1000);
61 desc.
add<
bool>(
"doVariablePtMin",
true);
63 descriptions.
add(
"hiProtoTrackFilter", desc);
76 <<
"[HIProtoTrackFilterProducer] Proto track selection based on beamspot" 77 <<
"\n (x,y,z) = (" << beamSpot->
x0() <<
"," << beamSpot->
y0() <<
"," << beamSpot->
z0() <<
")";
82 <<
"No beamspot found with tag '" << labels.
module <<
"'";
92 std::vector<const TrackingRecHit*> theChosenHits;
94 float estMult = theChosenHits.size();
99 float varPtCutoff = 1500;
100 if(estMult < varPtCutoff) {
101 variablePtMin = 0.075;
102 if(estMult > 0) variablePtMin = (13. - (varPtCutoff/estMult) )/12.;
103 if(variablePtMin<0.075) variablePtMin = 0.075;
105 LogTrace(
"heavyIonHLTVertexing")<<
" [HIProtoTrackFilterProducer: variablePtMin: " << variablePtMin <<
"]";
double z0() const
z coordinate
void copyDetSetRange(DSTV const &dstv, std::vector< T const * > &v, std::pair< A, B > const &sel)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
#define DEFINE_FWK_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
edm::EDGetTokenT< SiPixelRecHitCollection > theSiPixelRecHitsToken
T const * product() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void labelsForToken(EDGetToken iToken, Labels &oLabels) const
double y0() const
y coordinate
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotToken
std::pair< DetId, SameLayerComparator > pxbDetIdLayerComparator(uint32_t layer) const
HIProtoTrackFilterProducer(const edm::ParameterSet &iConfig)
void produce(edm::StreamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
~HIProtoTrackFilterProducer() override
double x0() const
x coordinate