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

note: the declarations must be placed in the "good" order, otherwise the definitions of the SystematicVariations will be different than those obtained with readFromROOT()

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