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 const
edm::ParameterSetDescriptionFillerPluginFactory::PMaker
< edm::ParameterSetDescriptionFiller
< RCTMonitor > > 
s_filler__LINE__ ("RCTMonitor")
 
static const
edm::MakerPluginFactory::PMaker
< edm::WorkerMaker< RCTMonitor > > 
s_maker__LINE__ ("RCTMonitor")
 

Function Documentation

float DynamicScale ( int  EtaStamp)

Definition at line 89 of file RCTMonitor.cc.

References ScaleIN, ScaleINNER, and ScaleOUT.

Referenced by RCTMonitor::FillRCT().

89  {
90  // This function weights bin elements according to spatial extent of
91  // calorimeter tower.
92  if (EtaStamp >= 6 && EtaStamp <= 15) {
93  return ScaleINNER;
94  } else if (EtaStamp == 5 || EtaStamp == 16) {
95  return ScaleIN;
96  } else if (EtaStamp == 4 || EtaStamp == 17) {
97  return ScaleOUT;
98  } else {
99  return 0.000000;
100  }
101 }
const float ScaleINNER
const float ScaleOUT
const float ScaleIN
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< RCTMonitor > > s_filler__LINE__ ( "RCTMonitor"  )
static
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< RCTMonitor > > s_maker__LINE__ ( "RCTMonitor"  )
static