ATLAS Offline Software
Loading...
Searching...
No Matches
LATOMEMapping Class Reference

Tool to get LATOME SC and SCID mapping file and fill std::map variable with it. More...

#include <LATOMEMapping.h>

Collaboration diagram for LATOMEMapping:

Static Public Member Functions

static void fill (std::map< int, HWIdentifier > *toFill, std::string inputfile)

Detailed Description

Tool to get LATOME SC and SCID mapping file and fill std::map variable with it.

Definition at line 18 of file LATOMEMapping.h.

Member Function Documentation

◆ fill()

void LATOMEMapping::fill ( std::map< int, HWIdentifier > * toFill,
std::string inputfile )
static

Definition at line 16 of file LATOMEMapping.cxx.

16 {
17 std::ifstream ifs(inputfile);
18 if (ifs.fail()) std::cout << "Fail to read" << inputfile << std::endl;
19 int value, key;
20 while (ifs >> value >> key) {
21 if (value != -999) add_to_map(toFill, value, key);
22 }
23}
void add_to_map(latome_map *map, int value, int key)

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