9 :inputsAlreadyIn_(0), shift_(6) {
19 std::cout<<
"ERROR IN INPUT OF AMPLITUDE FILTER"<<std::endl;
30 for(
int i=0;
i<4;
i++)
45 for (
unsigned int i =0;
i<5;
i++){
52 for (
unsigned int i =0;
i<addout.size();
i++){
60 for (
unsigned int i=0 ;
i<(output.size());
i++){
61 if (
i!=output.size()-1){
62 output[
i]=output[
i+1];
63 fgvbOut[
i] = fgvbOut[
i+1];
81 for(
int i=0;
i<5;
i++)
89 if(output<0) output=0;
90 if(output>0X3FFFF) output=0X3FFFF;
100 if (it!=groupmap.end()) {
101 uint32_t weightid =(*it).second;
104 (*itw).second.getValues(params_[0],params_[1],params_[2],params_[3],params_[4]);
109 for (
int i=0;
i<5;++
i){
110 weights_[
i] = (params_[
i] & 0x40) ? (
int)( params_[
i] | 0xffffffc0) : (
int)(params_[
i]);
119 else edm::LogWarning(
"EcalTPG")<<
" could not find EcalTPGGroupsMap entry for "<<raw;
std::map< uint32_t, EcalTPGWeights >::const_iterator EcalTPGWeightMapItr
std::map< uint32_t, uint32_t >::const_iterator EcalTPGGroupsMapItr
static std::string const input
int setInput(int input, int fgvb)
std::map< uint32_t, EcalTPGWeights > EcalTPGWeightMap
EcalFenixAmplitudeFilter()
void setParameters(uint32_t raw, const EcalTPGWeightIdMap *ecaltpgWeightMap, const EcalTPGWeightGroup *ecaltpgWeightGroup)
virtual ~EcalFenixAmplitudeFilter()
std::map< uint32_t, uint32_t > EcalTPGGroupsMap