CMS 3D CMS Logo

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

◆ DynamicScale()

float DynamicScale ( int  EtaStamp)

Definition at line 64 of file RCTMonitor.cc.

64  {
65  // This function weights bin elements according to spatial extent of
66  // calorimeter tower.
67  if (EtaStamp >= 6 && EtaStamp <= 15) {
68  return ScaleINNER;
69  } else if (EtaStamp == 5 || EtaStamp == 16) {
70  return ScaleIN;
71  } else if (EtaStamp == 4 || EtaStamp == 17) {
72  return ScaleOUT;
73  } else {
74  return 0.000000;
75  }
76 }

References ScaleIN, ScaleINNER, and ScaleOUT.

Referenced by RCTMonitor::FillRCT().

◆ s_filler__LINE__()

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< RCTMonitor > > s_filler__LINE__ ( "RCTMonitor"  )
static

◆ s_maker__LINE__()

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< RCTMonitor > > s_maker__LINE__ ( "RCTMonitor"  )
static
ScaleOUT
const float ScaleOUT
Definition: somedefinitions.h:41
ScaleINNER
const float ScaleINNER
Definition: somedefinitions.h:40
ScaleIN
const float ScaleIN
Definition: somedefinitions.h:42