ATLAS Offline Software
Functions
TrigMonConfig.cxx File Reference
#include <algorithm>
#include <sstream>
#include "AthenaKernel/errorcheck.h"
#include "TrigMonitoringEvent/TrigMonConfig.h"
Include dependency graph for TrigMonConfig.cxx:

Go to the source code of this file.

Functions

void TrigMonConfig::processConfig ATLAS_NOT_THREAD_SAFE ()
 Install fatal handler with default options. More...
 

Function Documentation

◆ ATLAS_NOT_THREAD_SAFE()

void TrigMonConfig::processConfig ATLAS_NOT_THREAD_SAFE ( )
inline

Install fatal handler with default options.

This is meant to be easy to call from python via ctypes.

Install fatal handler with default options.

getLorentzAngle() Read LorentzAngle from HIST and write out into local DB

getBSErrors() Read BSErrors from Monitoring HIST and write out into local DB

getEfficiency() Read Efficiency from Monitoring HIST and write out into local DB

getRawOccupancy() Read RawOccupancy from Monitoring HIST and write out into local DB

getNoiseOccupancy() Read NoiseOccupancy from HIST and write out into local DB

getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats

Install fatal handler with default options.

called at the end of each athena event (can be used for eg.

called at the beginning of each athena event (can be used for eg.

return the simulation service ID

resetting dynamic selectors)

beginning of the loop of channels

bad bit newly found

known bad bit

for low noisy cells

for high noisy cells

0.01 is used to scale "PER" to the same order of magnitude to "SIG"

smaller deviation: distorted

checking TmaxAmp, Not mixed with MaxAmp and Width

channel information output

Only dead or distorted, or short known BCs are considered below.

index of bc

getCoefficientMap(label, EigenIdxList)

input value:

  1. label: falvor label in std::string format, could be one of B, C, T, Light
  2. EigenIdxList is user defined vector containing all eigenvector index that user interested in. output: Map of format map<string, map<string, float>> containing decomposition coefficient of the list of eigenvectors defined by EigenIdxList.

getCoefficients(label, evIdx)

input value:

  1. label: falvor label in std::string format, could be one of B, C, T, Light
  2. evIdx: The index of eigenvector user interested in. output value: vector of coefficient values. The order is the same as output given by getListOfOriginalNuisanceParameters()

getListOfOriginalNuisanceParameters(label)

input value:

  1. label: falvor label in std::string format, could be one of B, C, T, Light output value: List of original nuisance parameter names.

getNumEigenVectors(label)

input value:

  1. label: falvor label in std::string format, could be one of B, C, T, Light return value: number of eigen vectors used for chosen label. Return 0 if error occured.

now add branches and leaves to the tree

now add branches and leaves to the tree

Definition at line 60 of file TrigMonConfig.cxx.

61 {
62  //
63  // Sync TrigConfVar with global static vector in TrigConfVar.cxx file
64  //
65 
66  // First, save global vector
67  const std::vector<TrigConfVar> var_vec = Trig::GetCurrentTrigConfVarVector();
68 
69  // Add our own configuration
70  if(m_var_name.size() == m_var_id.size()) {
71  for(unsigned int i = 0; i < m_var_id.size(); ++i) {
72  Trig::ReserveVarId(m_var_name[i], m_var_id[i]);
73  }
74  }
75 
76  // Save global data
77  for(unsigned int i = 0; i < var_vec.size(); ++i) {
78  if(std::find(m_var_name.begin(), m_var_name.end(), var_vec[i]) == m_var_name.end()) {
79  add<TrigConfVar>(var_vec[i]);
80  }
81  }
82 }
find
std::string find(const std::string &s)
return a remapped string
Definition: hcg.cxx:135
lumiFormat.i
int i
Definition: lumiFormat.py:85