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.

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

Referenced by SiStripGainFromAsciiFile::getNewObject().

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

◆ soft_reset()

void SiStripGainFromAsciiFile::ModuleGain::soft_reset ( )
inline

Definition at line 25 of file SiStripGainFromAsciiFile.h.

References apv, and mps_fire::i.

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

Member Data Documentation

◆ apv

float SiStripGainFromAsciiFile::ModuleGain::apv[6]