CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
SiStripGainFromAsciiFile::ModuleGain Struct Reference

Public Member Functions

void hard_reset (float val)
 
void soft_reset ()
 

Public Attributes

float apv [6]
 

Detailed Description

Definition at line 22 of file SiStripGainFromAsciiFile.h.

Member Function Documentation

◆ hard_reset()

void SiStripGainFromAsciiFile::ModuleGain::hard_reset ( float  val)
inline

Definition at line 30 of file SiStripGainFromAsciiFile.h.

30  {
31  for (int i = 0; i < 6; ++i)
32  apv[i] = val;
33  }

References apv, mps_fire::i, and heppy_batch::val.

Referenced by SiStripGainFromAsciiFile::getNewObject().

◆ soft_reset()

void SiStripGainFromAsciiFile::ModuleGain::soft_reset ( )
inline

Definition at line 25 of file SiStripGainFromAsciiFile.h.

25  {
26  for (int i = 0; i < 6; ++i)
27  if (apv[i] == -1)
28  apv[i] = 1;
29  }

References apv, and mps_fire::i.

Member Data Documentation

◆ apv

float SiStripGainFromAsciiFile::ModuleGain::apv[6]
mps_fire.i
i
Definition: mps_fire.py:428
heppy_batch.val
val
Definition: heppy_batch.py:351
SiStripGainFromAsciiFile::ModuleGain::apv
float apv[6]
Definition: SiStripGainFromAsciiFile.h:23