19 if (phi > phiBins / 2)
20 return (phi - phiBins);
21 else if (phi < -phiBins / 2)
22 return (phi + phiBins);
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;
Log< level::Info, true > LogVerbatim
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
virtual ~ProcConfigurationBase()
T getParameter(std::string const &) const
virtual int foldPhi(int phi) const
virtual void setRpcMaxClusterCnt(unsigned int rpcMaxClusterCnt=2)
virtual void setRpcDropAllClustersIfMoreThanMax(bool rpcDropAllClustersIfMoreThanMax=true)