38 theTIPMax( iConfig.getParameter<double>(
"tipMax") ),
40 theLIPMax( iConfig.getParameter<double>(
"lipMax") ),
42 theChi2Max( iConfig.getParameter<double>(
"chi2") ),
43 thePtMin( iConfig.getParameter<double>(
"ptMin") ),
44 thePtMax( iConfig.getParameter<double>(
"ptMax") ),
47 produces<PixelTrackFilter>();
55 desc.
add<
double>(
"ptMin", 1.5);
56 desc.
add<
double>(
"ptMax", 999999.);
57 desc.
add<
double>(
"tipMax", 0);
58 desc.
add<
double>(
"nSigmaTipMaxTolerance", 6.0);
59 desc.
add<
double>(
"lipMax", 0.3);
60 desc.
add<
double>(
"nSigmaLipMaxTolerance", 0);
61 desc.
add<
double>(
"chi2", 1000);
62 desc.
add<
bool>(
"useClusterShape",
false);
64 descriptions.
add(
"hiPixelTrackFilter", desc);
77 if(!vertices->empty()) {
79 <<
"[HIPixelTrackFilterProducer] Pixel track selection based on best vertex" 80 <<
"\n vz = " << vertices->begin()->z()
81 <<
"\n vz sigma = " << vertices->begin()->zError();
87 <<
"No vertex found in collection '" << labels.
module <<
"'";
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< reco::VertexCollection > theVertexCollectionToken
std::vector< Vertex > VertexCollection
collection of Vertex objects
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
void produce(edm::StreamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
HIPixelTrackFilterProducer(const edm::ParameterSet &iConfig)
#define DEFINE_FWK_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
T const * product() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void labelsForToken(EDGetToken iToken, Labels &oLabels) const
edm::EDGetTokenT< SiPixelClusterShapeCache > theClusterShapeCacheToken
double theNSigmaTipMaxTolerance
~HIPixelTrackFilterProducer() override
double theNSigmaLipMaxTolerance