L1Trigger/L1TTrackMatch/plugins/L1TrackSelectionProducer.cc
// ------------ method fills 'descriptions' with the allowed parameters for the module  ------------
method fills 'descriptions' with the allowed parameters for the module
method fills ' descriptions ' with the allowed parameters for the module
void L1TrackSelectionProducer::fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
  edm::ParameterSetDescription desc;
  desc.add<edm::InputTag>("l1TracksInputTag", edm::InputTag("TTTracksFromTrackletEmulation", "Level1TTTracks"));
  desc.addOptional<edm::InputTag>("l1VerticesInputTag", edm::InputTag("L1VertexFinder", "l1vertices"));
  desc.addOptional<edm::InputTag>("l1VerticesEmulationInputTag",
                                  edm::InputTag("L1VertexFinderEmulator", "l1verticesEmulation"));
  desc.add<std::string>("outputCollectionName", "Level1TTTracksSelected");
  {
    edm::ParameterSetDescription descCutSet;
    descCutSet.add<double>("ptMin", 2.0)->setComment("pt must be greater than this value, [GeV]");
    descCutSet.add<double>("absEtaMax", 2.4)->setComment("absolute value of eta must be less than this value");
    descCutSet.add<double>("absZ0Max", 15.0)->setComment("z0 must be less than this value, [cm]");
    descCutSet.add<int>("nStubsMin", 4)->setComment("number of stubs must be greater than or equal to this value");
    descCutSet.add<int>("nPSStubsMin", 0)
        ->setComment("number of stubs in the PS Modules must be greater than or equal to this value");
    descCutSet.add<double>("reducedBendChi2Max", 2.25)->setComment("bend chi2 must be less than this value");
    descCutSet.add<double>("reducedChi2RZMax", 5.0)->setComment("chi2rz/dof must be less than this value");
    descCutSet.add<double>("reducedChi2RPhiMax", 20.0)->setComment("chi2rphi/dof must be less than this value");
    descCutSet.add<std::vector<double>>("deltaZMaxEtaBounds", {0.0, 0.7, 1.0, 1.2, 1.6, 2.0, 2.4})
        ->setComment("these values define the bin boundaries in |eta|");
    descCutSet.add<std::vector<double>>("deltaZMax", {0.37, 0.50, 0.60, 0.75, 1.00, 1.60})
        ->setComment(
            "delta z must be less than these values, there will be one less value here than in deltaZMaxEtaBounds, "
            "[cm]");
    desc.add<edm::ParameterSetDescription>("cutSet", descCutSet);
  }
  desc.add<double>("useDisplacedTracksDeltaZOverride", -1.0)
      ->setComment("override the deltaZ cut value for displaced tracks");
  desc.add<bool>("processSimulatedTracks", true)
      ->setComment("return selected tracks after cutting on the floating point values");
  desc.add<bool>("processEmulatedTracks", true)
      ->setComment("return selected tracks after cutting on the bitwise emulated values");
  desc.add<int>("debug", 0)->setComment("Verbosity levels: 0, 1, 2, 3");
  descriptions.addWithDefaultLabel(desc);
}
void L1TrackSelectionProducer :: fillDescriptions ( edm :: ConfigurationDescriptions & descriptions ) { edm :: ParameterSetDescription desc ; desc . add < edm :: InputTag > ( " " , edm :: InputTag ( " " , " " ) ) ; desc . addOptional < edm :: InputTag > ( " " , edm :: InputTag ( " " , " " ) ) ; desc . addOptional < edm :: InputTag > ( " " , edm :: InputTag ( " " , " " ) ) ; desc . add < std :: string > ( " " , " " ) ; { edm :: ParameterSetDescription descCutSet ; descCutSet . add < double > ( " " , 2.0 ) -> setComment ( " " ) ; descCutSet . add < double > ( " " , 2.4 ) -> setComment ( " " ) ; descCutSet . add < double > ( " " , 15.0 ) -> setComment ( " " ) ; descCutSet . add < int > ( " " , 4 ) -> setComment ( " " ) ; descCutSet . add < int > ( " " , 0 ) -> setComment ( " " ) ; descCutSet . add < double > ( " " , 2.25 ) -> setComment ( " " ) ; descCutSet . add < double > ( " " , 5.0 ) -> setComment ( " " ) ; descCutSet . add < double > ( " " , 20.0 ) -> setComment ( " " ) ; descCutSet . add < std :: vector < double > > ( " " , { 0.0 , 0.7 , 1.0 , 1.2 , 1.6 , 2.0 , 2.4 } ) -> setComment ( " " ) ; descCutSet . add < std :: vector < double > > ( " " , { 0.37 , 0.50 , 0.60 , 0.75 , 1.00 , 1.60 } ) -> setComment ( " " " " ) ; desc . add < edm :: ParameterSetDescription > ( " " , descCutSet ) ; } desc . add < double > ( " " , -1.0 ) -> setComment ( " " ) ; desc . add < bool > ( " " , true ) -> setComment ( " " ) ; desc . add < bool > ( " " , true ) -> setComment ( " " ) ; desc . add < int > ( " " , 0 ) -> setComment ( " " ) ; descriptions . addWithDefaultLabel ( desc ) ; }
method fills 'descriptions' with the allowed parameters for the module
method fills ' descriptions ' with the allowed parameters for the module
//L1TrackSelectionProducer