1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
#ifndef CondFormats_L1TObjects_L1GtBoardMaps_h
#define CondFormats_L1TObjects_L1GtBoardMaps_h
/**
* \class L1GtBoardMaps
*
*
* Description: map of the L1 GT boards.
*
* Implementation:
* <TODO: enter implementation details>
*
* \author: Vasile Mihai Ghete - HEPHY Vienna
*
* $Date$
* $Revision$
*
*/
// system include files
#include "CondFormats/Serialization/interface/Serializable.h"
#include <vector>
#include <iosfwd>
// user include files
#include "CondFormats/L1TObjects/interface/L1GtFwd.h"
#include "CondFormats/L1TObjects/interface/L1GtBoard.h"
// forward declarations
// class declaration
class L1GtBoardMaps {
public:
// constructor
L1GtBoardMaps();
// destructor
virtual ~L1GtBoardMaps();
public:
/// get / set / print the L1 GT board map
const std::vector<L1GtBoard>& gtBoardMaps() const { return m_gtBoardMaps; }
void setGtBoardMaps(const std::vector<L1GtBoard>&);
void print(std::ostream&) const;
/// output stream operator
friend std::ostream& operator<<(std::ostream&, const L1GtBoardMaps&);
public:
/// print L1 GT DAQ record map
void printGtDaqRecordMap(std::ostream& myCout) const;
/// print L1 GT EVM record map
void printGtEvmRecordMap(std::ostream& myCout) const;
/// print L1 GT active boards map for DAQ record
void printGtDaqActiveBoardsMap(std::ostream& myCout) const;
/// print L1 GT active boards map for EVM record
void printGtEvmActiveBoardsMap(std::ostream& myCout) const;
/// print L1 GT board - slot map
void printGtBoardSlotMap(std::ostream& myCout) const;
/// print L1 GT board name in hw record map
void printGtBoardHexNameMap(std::ostream& myCout) const;
/// print L1 quadruplet (4x16 bits)(cable) to PSB input map
void printGtQuadToPsbMap(std::ostream& myCout) const;
private:
/// L1 GT boards and their mapping
std::vector<L1GtBoard> m_gtBoardMaps;
COND_SERIALIZABLE;
};
#endif /*CondFormats_L1TObjects_L1GtBoardMaps_h*/
|