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

float DynamicScale (int EtaStamp)
 
static
edm::ParameterSetDescriptionFillerPluginFactory::PMaker
< edm::ParameterSetDescriptionFiller
< RCTMonitor > > 
s_filler__LINE__ ("RCTMonitor")
 
static
edm::MakerPluginFactory::PMaker
< edm::WorkerMaker< RCTMonitor > > 
s_maker__LINE__ ("RCTMonitor")
 

Function Documentation

float DynamicScale ( int  EtaStamp)

Definition at line 56 of file RCTMonitor.cc.

References ScaleIN, ScaleINNER, and ScaleOUT.

Referenced by RCTMonitor::FillRCT().

57 {
58  //This function weights bin elements according to spatial extent of calorimeter tower.
59  if(EtaStamp >= 6 && EtaStamp <= 15) {return ScaleINNER;}
60  else if(EtaStamp==5 || EtaStamp==16) {return ScaleIN;}
61  else if(EtaStamp == 4 || EtaStamp == 17) {return ScaleOUT;}
62  else {return 0.000000;}
63 }
const float ScaleINNER
const float ScaleOUT
const float ScaleIN
static edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< RCTMonitor > > s_filler__LINE__ ( "RCTMonitor"  )
static
static edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< RCTMonitor > > s_maker__LINE__ ( "RCTMonitor"  )
static