CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_3_4/src/DQM/RCTMonitor/src/RCTMonitor.cc File Reference

#include "DQM/RCTMonitor/interface/RCTMonitor.h"
#include "DQM/RCTMonitor/interface/somedefinitions.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include <iostream>

Go to the source code of this file.

Functions

 DEFINE_FWK_MODULE (RCTMonitor)
float DynamicScale (int EtaStamp)

Function Documentation

DEFINE_FWK_MODULE ( RCTMonitor  )
float DynamicScale ( int  EtaStamp)

Definition at line 56 of file RCTMonitor.cc.

References ScaleIN, ScaleINNER, and ScaleOUT.

Referenced by RCTMonitor::FillRCT().

{
   //This function weights bin elements according to spatial extent of calorimeter tower.
   if(EtaStamp >= 6 && EtaStamp <= 15) {return ScaleINNER;}
   else if(EtaStamp==5 || EtaStamp==16) {return ScaleIN;}
   else if(EtaStamp == 4 || EtaStamp == 17) {return ScaleOUT;}
   else {return 0.000000;}
}