R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3B::Neuland::TrigIDMappingFinder Class Reference

#include <R3BTrigIDMappingFinder.h>

Public Types

using TrigIDMap = std::unordered_map<unsigned int, std::pair<unsigned int, unsigned int>>
 

Public Member Functions

 TrigIDMappingFinder ()=default
 
void add_id_pair (std::pair< unsigned int, unsigned int > pair, R3B::Side side, unsigned int counts=1)
 
void clear ()
 
void set_trigIDMap (TrigIDMap idMap)
 
auto extract_trigIDMap (bool force_find=false) -> TrigIDMap
 

Private Member Functions

void FindTrigIDMap ()
 

Static Private Member Functions

static void AutoResolve (TrigIDMap &trigIDMap)
 

Private Attributes

std::unordered_map< unsigned int, TrigIDMappingRecorderrecords_
 
TrigIDMap idMap_
 

Detailed Description

Definition at line 24 of file R3BTrigIDMappingFinder.h.

Member Typedef Documentation

◆ TrigIDMap

using R3B::Neuland::TrigIDMappingFinder::TrigIDMap = std::unordered_map<unsigned int, std::pair<unsigned int, unsigned int>>

Definition at line 27 of file R3BTrigIDMappingFinder.h.

Constructor & Destructor Documentation

◆ TrigIDMappingFinder()

R3B::Neuland::TrigIDMappingFinder::TrigIDMappingFinder ( )
default

Member Function Documentation

◆ add_id_pair()

void R3B::Neuland::TrigIDMappingFinder::add_id_pair ( std::pair< unsigned int, unsigned int > pair,
R3B::Side side,
unsigned int counts = 1 )

Definition at line 40 of file R3BTrigIDMappingFinder.cxx.

◆ AutoResolve()

void R3B::Neuland::TrigIDMappingFinder::AutoResolve ( TrigIDMap & trigIDMap)
staticprivate

Definition at line 53 of file R3BTrigIDMappingFinder.cxx.

◆ clear()

void R3B::Neuland::TrigIDMappingFinder::clear ( )
inline

Definition at line 31 of file R3BTrigIDMappingFinder.h.

◆ extract_trigIDMap()

auto R3B::Neuland::TrigIDMappingFinder::extract_trigIDMap ( bool force_find = false) -> TrigIDMap

Definition at line 77 of file R3BTrigIDMappingFinder.cxx.

◆ FindTrigIDMap()

void R3B::Neuland::TrigIDMappingFinder::FindTrigIDMap ( )
private

Definition at line 87 of file R3BTrigIDMappingFinder.cxx.

◆ set_trigIDMap()

void R3B::Neuland::TrigIDMappingFinder::set_trigIDMap ( TrigIDMap idMap)
inline

Definition at line 32 of file R3BTrigIDMappingFinder.h.

Member Data Documentation

◆ idMap_

TrigIDMap R3B::Neuland::TrigIDMappingFinder::idMap_
private

Definition at line 37 of file R3BTrigIDMappingFinder.h.

◆ records_

std::unordered_map<unsigned int, TrigIDMappingRecorder> R3B::Neuland::TrigIDMappingFinder::records_
private

Definition at line 36 of file R3BTrigIDMappingFinder.h.


The documentation for this class was generated from the following files: