CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
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 59 of file RCTMonitor.cc.

References ScaleIN, ScaleINNER, and ScaleOUT.

Referenced by RCTMonitor::FillRCT().

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