@@ -443,46 +443,65 @@ template <>
443443inline void IPProducer<reco::TrackRefVector, reco::JTATagInfo, IPProducerHelpers::FromJTA>::fillDescriptions(
444444 edm::ConfigurationDescriptions& descriptions) {
445445 edm::ParameterSetDescription desc;
446- desc.add <double >(" maximumTransverseImpactParameter" , 0.2 );
447- desc.add <int >(" minimumNumberOfHits" , 8 );
448- desc.add <double >(" minimumTransverseMomentum" , 1.0 );
449- desc.add <edm::InputTag>(" primaryVertex" , edm::InputTag (" offlinePrimaryVertices" ));
450- desc.add <double >(" maximumLongitudinalImpactParameter" , 17.0 );
451- desc.add <bool >(" computeGhostTrack" , true );
452- desc.add <double >(" ghostTrackPriorDeltaR" , 0.03 );
453- desc.add <edm::InputTag>(" jetTracks" , edm::InputTag (" ak4JetTracksAssociatorAtVertexPF" ));
454- desc.add <bool >(" jetDirectionUsingGhostTrack" , false );
455- desc.add <int >(" minimumNumberOfPixelHits" , 2 );
456- desc.add <bool >(" jetDirectionUsingTracks" , false );
457- desc.add <bool >(" computeProbabilities" , true );
458- desc.add <bool >(" useTrackQuality" , false );
459- desc.add <double >(" maximumChiSquared" , 5.0 );
460- descriptions.addDefault (desc);
446+ desc.add <double >(" maximumTransverseImpactParameter" , 0.2 )
447+ ->setComment (" Set upper threshold for the track transverse impact parameter." );
448+ desc.add <int >(" minimumNumberOfHits" , 8 )->setComment (" Set lower threshold for the number of valid hits per track." );
449+ desc.add <double >(" minimumTransverseMomentum" , 1.0 )
450+ ->setComment (" Set lower threshold for the minimum track transverse momentum." );
451+ desc.add <edm::InputTag>(" primaryVertex" , edm::InputTag (" offlinePrimaryVertices" ))
452+ ->setComment (" InputTag for the primary vertex collection." );
453+ desc.add <double >(" maximumLongitudinalImpactParameter" , 17.0 )
454+ ->setComment (" Set upper threshold for the track transverse impact parameter." );
455+ desc.add <bool >(" computeGhostTrack" , true )->setComment (" Flag to produce ghost track collection." );
456+ desc.add <double >(" ghostTrackPriorDeltaR" , 0.03 )->setComment (" Set cone radius for the ghost track fit." );
457+ desc.add <edm::InputTag>(" jetTracks" , edm::InputTag (" ak4JetTracksAssociatorAtVertexPF" ))
458+ ->setComment (" InputTag for the jet-track association collection." );
459+ desc.add <bool >(" jetDirectionUsingGhostTrack" , false )
460+ ->setComment (" Flag to build the jet momentum using ghost tracks." );
461+ desc.add <int >(" minimumNumberOfPixelHits" , 2 )
462+ ->setComment (" Set lower threshold for the number of valid pixel hits per track." );
463+ desc.add <bool >(" jetDirectionUsingTracks" , false )
464+ ->setComment (" Flag to include the track momentum into the jet momentum." );
465+ desc.add <bool >(" computeProbabilities" , true )
466+ ->setComment (" Flag to produce output probabilities for the tracks to originate from the PV." );
467+ desc.add <bool >(" useTrackQuality" , false )->setComment (" Flag to use the track quality in the probability calculation." );
468+ desc.add <double >(" maximumChiSquared" , 5.0 )->setComment (" Set upper threshold for the track normalized chi2." );
469+ descriptions.addWithDefaultLabel (desc);
461470}
462471
463472template <>
464473inline void
465474IPProducer<std::vector<reco::CandidatePtr>, reco::JetTagInfo, IPProducerHelpers::FromJetAndCands>::fillDescriptions(
466475 edm::ConfigurationDescriptions& descriptions) {
467476 edm::ParameterSetDescription desc;
468- desc.add <double >(" maximumTransverseImpactParameter" , 0.2 );
469- desc.add <int >(" minimumNumberOfHits" , 8 );
470- desc.add <double >(" minimumTransverseMomentum" , 1.0 );
471- desc.add <edm::InputTag>(" primaryVertex" , edm::InputTag (" offlinePrimaryVertices" ));
472- desc.add <double >(" maximumLongitudinalImpactParameter" , 17.0 );
473- desc.add <bool >(" computeGhostTrack" , true );
474- desc.add <double >(" maxDeltaR" , 0.4 );
475- desc.add <edm::InputTag>(" candidates" , edm::InputTag (" particleFlow" ));
476- desc.add <bool >(" jetDirectionUsingGhostTrack" , false );
477- desc.add <int >(" minimumNumberOfPixelHits" , 2 );
478- desc.add <bool >(" jetDirectionUsingTracks" , false );
479- desc.add <bool >(" computeProbabilities" , true );
480- desc.add <bool >(" useTrackQuality" , false );
481- desc.add <edm::InputTag>(" jets" , edm::InputTag (" ak4PFJetsCHS" ));
482- desc.add <double >(" ghostTrackPriorDeltaR" , 0.03 );
483- desc.add <double >(" maximumChiSquared" , 5.0 );
484- desc.addOptional <bool >(" explicitJTA" , false );
485- descriptions.addDefault (desc);
477+ desc.add <double >(" maximumTransverseImpactParameter" , 0.2 )
478+ ->setComment (" Set upper threshold for the track transverse impact parameter." );
479+ desc.add <int >(" minimumNumberOfHits" , 8 )->setComment (" Set lower threshold for the number of valid hits per track." );
480+ desc.add <double >(" minimumTransverseMomentum" , 1.0 )
481+ ->setComment (" Set lower threshold for the minimum track transverse momentum." );
482+ desc.add <edm::InputTag>(" primaryVertex" , edm::InputTag (" offlinePrimaryVertices" ))
483+ ->setComment (" InputTag for the primary vertex collection." );
484+ desc.add <double >(" maximumLongitudinalImpactParameter" , 17.0 )
485+ ->setComment (" Set upper threshold for the track transverse impact parameter." );
486+ desc.add <bool >(" computeGhostTrack" , true )->setComment (" Flag to produce ghost track collection." );
487+ desc.add <double >(" maxDeltaR" , 0.4 )
488+ ->setComment (" Set upper threshold for the maximum distance between tracks and jets." );
489+ desc.add <edm::InputTag>(" candidates" , edm::InputTag (" particleFlow" ))
490+ ->setComment (" InputTag for the particle flow candidate collection." );
491+ desc.add <bool >(" jetDirectionUsingGhostTrack" , false )
492+ ->setComment (" Flag to build the jet momentum using ghost tracks." );
493+ desc.add <int >(" minimumNumberOfPixelHits" , 2 )
494+ ->setComment (" Set lower threshold for the number of valid pixel hits per track." );
495+ desc.add <bool >(" jetDirectionUsingTracks" , false )
496+ ->setComment (" Flag to include the track momentum into the jet momentum." );
497+ desc.add <bool >(" computeProbabilities" , true )
498+ ->setComment (" Flag to produce output probabilities for the tracks to originate from the PV." );
499+ desc.add <bool >(" useTrackQuality" , false )->setComment (" Flag to use the track quality in the probability calculation." );
500+ desc.add <edm::InputTag>(" jets" , edm::InputTag (" ak4PFJetsCHS" ))->setComment (" InputTag for the jet collection." );
501+ desc.add <double >(" ghostTrackPriorDeltaR" , 0.03 )->setComment (" Set cone radius for the ghost track fit." );
502+ desc.add <double >(" maximumChiSquared" , 5.0 )->setComment (" Set upper threshold for the track normalized chi2." );
503+ desc.addOptional <bool >(" explicitJTA" , false )->setComment (" Flag to explicitly assign jets to tracks." );
504+ descriptions.addWithDefaultLabel (desc);
486505}
487506
488507#endif
0 commit comments