28 if (edmParameterSet.
exists(
"rpcMaxClusterSize")) {
31 <<
"rpcMaxClusterSize: " << edmParameterSet.
getParameter<
int>(
"rpcMaxClusterSize") << std::endl;
34 if (edmParameterSet.
exists(
"rpcMaxClusterCnt")) {
37 <<
"rpcMaxClusterCnt: " << edmParameterSet.
getParameter<
int>(
"rpcMaxClusterCnt") << std::endl;
40 if (edmParameterSet.
exists(
"rpcDropAllClustersIfMoreThanMax")) {
43 <<
"rpcDropAllClustersIfMoreThanMax: " << edmParameterSet.
getParameter<
bool>(
"rpcDropAllClustersIfMoreThanMax")
47 if (edmParameterSet.
exists(
"lctCentralBx")) {
50 <<
"lctCentralBx: " << edmParameterSet.
getParameter<
int>(
"lctCentralBx") << std::endl;
53 if (edmParameterSet.
exists(
"minDtPhiQuality")) {
56 <<
"minDtPhiQuality: " << edmParameterSet.
getParameter<
int>(
"minDtPhiQuality") << std::endl;
59 if (edmParameterSet.
exists(
"minDtPhiBQuality")) {
62 <<
"minDtPhiBQuality: " << edmParameterSet.
getParameter<
int>(
"minDtPhiBQuality") << std::endl;
65 if (edmParameterSet.
exists(
"stubEtaEncoding")) {
67 if (stubEtaEncodingStr ==
"bits")
69 else if (stubEtaEncodingStr ==
"valueP1Scale")
73 stubEtaEncodingStr +
"is not correct");
76 <<
"stubEtaEncoding: " <<
static_cast<int>(
stubEtaEncoding) <<
" = " << stubEtaEncodingStr << std::endl;
79 if (edmParameterSet.
exists(
"dtPhiBUnitsRad")) {
Log< level::Info, true > LogVerbatim
T getParameter(std::string const &) const
virtual void setRpcMaxClusterSize(unsigned int rpcMaxClusterSize=4)
virtual void configureFromEdmParameterSet(const edm::ParameterSet &edmParameterSet)
bool exists(std::string const ¶meterName) const
checks if a parameter exists
virtual unsigned int nPhiBins() const =0
StubEtaEncoding stubEtaEncoding
virtual ~ProcConfigurationBase()
virtual int foldPhi(int phi) const
virtual void setRpcMaxClusterCnt(unsigned int rpcMaxClusterCnt=2)
virtual void setRpcDropAllClustersIfMoreThanMax(bool rpcDropAllClustersIfMoreThanMax=true)