Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions | Variables
FPGATrackSimLayerStudyAlg.cxx File Reference
#include "FPGATrackSimLayerStudyAlg.h"
#include "FPGATrackSimObjects/FPGATrackSimCluster.h"
#include "FPGATrackSimObjects/FPGATrackSimHit.h"
#include "FPGATrackSimObjects/FPGATrackSimDataFlowInfo.h"
#include "FPGATrackSimObjects/FPGATrackSimRoad.h"
#include "FPGATrackSimObjects/FPGATrackSimTrack.h"
#include "FPGATrackSimObjects/FPGATrackSimLogicalEventOutputHeader.h"
#include "FPGATrackSimObjects/FPGATrackSimLogicalEventInputHeader.h"
#include "FPGATrackSimObjects/FPGATrackSimTrackPars.h"
#include "FPGATrackSimAlgorithms/FPGATrackSimNNTrackTool.h"
#include "FPGATrackSimAlgorithms/FPGATrackSimOverlapRemovalTool.h"
#include "FPGATrackSimAlgorithms/FPGATrackSimTrackFitterTool.h"
#include "FPGATrackSimConfTools/FPGATrackSimRegionSlices.h"
#include "FPGATrackSimInput/FPGATrackSimRawToLogicalHitsTool.h"
#include "FPGATrackSimInput/FPGATrackSimReadRawRandomHitsTool.h"
#include "FPGATrackSimMaps/FPGATrackSimRegionMap.h"
#include "GaudiKernel/IEventProcessor.h"

Go to the source code of this file.

Functions

StatusCode FPGATrackSimLayerStudyAlg::initialize ATLAS_NOT_THREAD_SAFE ()
 Install fatal handler with default options. More...
 

Variables

constexpr bool enableBenchmark
 

Function Documentation

◆ ATLAS_NOT_THREAD_SAFE()

StatusCode FPGATrackSimLayerStudyAlg::initialize 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

now add branches and leaves to the tree

now add branches and leaves to the tree

Definition at line 43 of file FPGATrackSimLayerStudyAlg.cxx.

44 {
45  std::stringstream ss(m_description);
46  std::string line;
47  ATH_MSG_INFO("Tag config:");
48  if (!m_description.empty()) {
49  while (std::getline(ss, line, '\n')) {
50  ATH_MSG_INFO('\t' << line);
51  }
52  }
53 
54  ATH_CHECK(m_hitBinningTool.retrieve());
55  ATH_CHECK(m_binMonitoring.retrieve());
56  ATH_CHECK(m_FPGATrackSimMapping.retrieve());
57  ATH_CHECK(m_evtSel.retrieve());
58 
59  // TODO add this here
60  ATH_MSG_DEBUG("initialize() Instantiating output layer study tree");
61 
62  // Setup layer configuration if not already set from layerMap
63  if (m_hitBinningTool->getNLayers()==0) {
64  m_hitBinningTool->setNLayers(m_FPGATrackSimMapping->PlaneMap_1st(0)->getNLogiLayers());
65  }
66 
67  // Set up the histograms. Use the event selection service to test whether or not this is single particle.
68  // It may be better to not use a separate tool for this, and just fold it into this algorithm.
69  // The reason to keep a separate tool would be is if we eventually want to migrate *all* of GenScanMonitoring -> BinMonitoring,
70  // but that can't happen until GenScan is fully converted to use the new binning.
71  ATH_CHECK(m_binMonitoring->registerHistograms(m_hitBinningTool.get(), (m_evtSel->getSampleType() == SampleType::skipTruth)));
72 
73  // Retrieve truth tracks.
74  ATH_CHECK(m_FPGAHitKey.initialize());
75  ATH_CHECK(m_FPGATruthTrackKey.initialize());
76 
77  ATH_CHECK(m_chrono.retrieve());
78  ATH_MSG_DEBUG("initialize() Finished");
79 
80  return StatusCode::SUCCESS;
81 }

Variable Documentation

◆ enableBenchmark

constexpr bool enableBenchmark
constexpr
Initial value:
=
false

Definition at line 27 of file FPGATrackSimLayerStudyAlg.cxx.

PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
collListGuids.line
string line
Definition: collListGuids.py:77
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
SampleType::skipTruth
@ skipTruth