CMS 3D CMS Logo

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().

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


Generated on Tue Jun 9 17:52:39 2009 for CMSSW by  doxygen 1.5.4