ATLAS Offline Software
Loading...
Searching...
No Matches
TrigConf::CTPFiles Class Reference

#include <CTPFiles.h>

Inheritance diagram for TrigConf::CTPFiles:
Collaboration diagram for TrigConf::CTPFiles:

Public Member Functions

 CTPFiles ()
virtual ~CTPFiles () override=default
void setFileSizes (unsigned int run)
const std::vector< uint32_t > & ctpcoreLUT () const
void setCtpcoreLUT (const std::vector< u_int > &vec)
const std::vector< uint32_t > & ctpcoreCAM () const
void setCtpcoreCAM (const std::vector< u_int > &vec)
const std::vector< uint32_t > & ctpinMonSelectorSlot7 () const
void setCtpinMonSelectorSlot7 (const std::vector< u_int > &vec)
const std::vector< uint32_t > & ctpinMonSelectorSlot8 () const
void setCtpinMonSelectorSlot8 (const std::vector< u_int > &vec)
const std::vector< uint32_t > & ctpinMonSelectorSlot9 () const
void setCtpinMonSelectorSlot9 (const std::vector< u_int > &vec)
const std::vector< uint32_t > & ctpmonSelector () const
void setCtpmonSelector (const std::vector< u_int > &vec)
const std::vector< uint32_t > & ctpinMonDecoderSlot7 () const
void setCtpinMonDecoderSlot7 (const std::vector< u_int > &vec)
const std::vector< uint32_t > & ctpinMonDecoderSlot8 () const
void setCtpinMonDecoderSlot8 (const std::vector< u_int > &vec)
const std::vector< uint32_t > & ctpinMonDecoderSlot9 () const
void setCtpinMonDecoderSlot9 (const std::vector< u_int > &vec)
const std::vector< uint32_t > & ctpmonDecoder () const
void setCtpmonDecoder (const std::vector< u_int > &vec)
int lvl1MasterTableId () const
void setLvl1MasterTableId (const int &id)
int smxId () const
void setSmxId (const int &id)
const std::string & smxName () const
void setSmxName (const std::string &str)
const std::string & ctpinSmxVhdlSlot7 () const
const std::string & ctpinSmxVhdlSlot8 () const
const std::string & ctpinSmxVhdlSlot9 () const
const std::string & ctpinSmxSvfiSlot7 () const
const std::string & ctpinSmxSvfiSlot8 () const
const std::string & ctpinSmxSvfiSlot9 () const
const std::string & ctpinSmxOutput () const
void setCtpinSmxVhdlSlot7 (const std::string &str)
void setCtpinSmxVhdlSlot8 (const std::string &str)
void setCtpinSmxVhdlSlot9 (const std::string &str)
void setCtpinSmxSvfiSlot7 (const std::string &str)
void setCtpinSmxSvfiSlot8 (const std::string &str)
void setCtpinSmxSvfiSlot9 (const std::string &str)
void setCtpinSmxOutput (const std::string &str)
bool loadCtpcoreFiles () const
void setLoadCtpcoreFiles (bool flag=true)
bool loadCtpinFiles () const
void setLoadCtpinFiles (bool flag=true)
bool loadCtpmonFiles () const
void setLoadCtpmonFiles (bool flag=true)
virtual void print (const std::string &indent="", unsigned int detail=1) const override
void setLvl1MasterTableId (unsigned int id)
int superMasterTableId () const
unsigned int smk () const
unsigned int id () const
const std::string & name () const
const std::string & comment () const
unsigned int version () const
void setSuperMasterTableId (int id)
void setSMK (int id)
void setId (unsigned int id)
void setName (const std::string &name)
void setVersion (unsigned int version)
void setComment (const std::string &c)
void printNameIdV (const std::string &indent="") const
virtual std::string __str__ () const

Static Public Attributes

static u_int ALL_CTPCORELUT_SIZE ATLAS_THREAD_SAFE
static u_int ALL_CTPCORECAM_SIZE ATLAS_THREAD_SAFE
static u_int ALL_CTPINMONSEL_SIZE ATLAS_THREAD_SAFE
static u_int ALL_CTPINMONDEC_SIZE ATLAS_THREAD_SAFE
static u_int CTPMON_MUX_OUTPUT_NUMBER ATLAS_THREAD_SAFE
static u_int CTPMON_ADDRESS_SELECTOR_NUMBER ATLAS_THREAD_SAFE
static u_int ALL_CTPMONSELECTOR_SIZE ATLAS_THREAD_SAFE
static u_int ALL_CTPMONDECODER_SIZE ATLAS_THREAD_SAFE

Protected Member Functions

std::ostream & indent (std::ostream &o, int lvl, int size) const

Private Attributes

int m_Lvl1MasterTableId
std::vector< uint32_t > m_ctpcoreLUT
std::vector< uint32_t > m_ctpcoreCAM
std::vector< uint32_t > m_ctpinMonSelectorSlot7
std::vector< uint32_t > m_ctpinMonSelectorSlot8
std::vector< uint32_t > m_ctpinMonSelectorSlot9
std::vector< uint32_t > m_ctpmonSelector
std::vector< uint32_t > m_ctpinMonDecoderSlot7
std::vector< uint32_t > m_ctpinMonDecoderSlot8
std::vector< uint32_t > m_ctpinMonDecoderSlot9
std::vector< uint32_t > m_ctpmonDecoder
int m_smxId
std::string m_smxName
std::string m_ctpinSmxVhdlSlot7
std::string m_ctpinSmxVhdlSlot8
std::string m_ctpinSmxVhdlSlot9
std::string m_ctpinSmxSvfiSlot7
std::string m_ctpinSmxSvfiSlot8
std::string m_ctpinSmxSvfiSlot9
std::string m_ctpinSmxOutput
bool m_LoadCtpcoreFiles
bool m_LoadCtpinFiles
bool m_LoadCtpmonFiles
unsigned int m_Lvl1MasterId
unsigned int m_smk
unsigned int m_id
std::string m_name
unsigned int m_version
std::string m_comment

Detailed Description

Definition at line 17 of file CTPFiles.h.

Constructor & Destructor Documentation

◆ CTPFiles()

TrigConf::CTPFiles::CTPFiles ( )

Definition at line 22 of file CTPFiles.cxx.

◆ ~CTPFiles()

virtual TrigConf::CTPFiles::~CTPFiles ( )
overridevirtualdefault

Member Function Documentation

◆ __str__()

string TrigConfData::__str__ ( ) const
virtualinherited

Reimplemented in TrigConf::HLTChain, TrigConf::HLTPrescaleSet, TrigConf::HLTSequence, and TrigConf::TriggerItem.

Definition at line 50 of file TrigConfData.cxx.

50 {
51 stringstream s;
52 s << *this;
53 return s.str();
54}

◆ comment()

const std::string & TrigConf::TrigConfData::comment ( ) const
inlineinherited

Definition at line 23 of file TrigConfData.h.

23{return m_comment;}

◆ ctpcoreCAM()

const std::vector< uint32_t > & TrigConf::CTPFiles::ctpcoreCAM ( ) const

Definition at line 75 of file CTPFiles.cxx.

75 {
76 return m_ctpcoreCAM;
77}
std::vector< uint32_t > m_ctpcoreCAM
Definition CTPFiles.h:114

◆ ctpcoreLUT()

const std::vector< uint32_t > & TrigConf::CTPFiles::ctpcoreLUT ( ) const

Definition at line 62 of file CTPFiles.cxx.

62 {
63 return m_ctpcoreLUT;
64}
std::vector< uint32_t > m_ctpcoreLUT
Definition CTPFiles.h:113

◆ ctpinMonDecoderSlot7()

const std::vector< uint32_t > & TrigConf::CTPFiles::ctpinMonDecoderSlot7 ( ) const

Definition at line 140 of file CTPFiles.cxx.

140 {
142}
std::vector< uint32_t > m_ctpinMonDecoderSlot7
Definition CTPFiles.h:119

◆ ctpinMonDecoderSlot8()

const std::vector< uint32_t > & TrigConf::CTPFiles::ctpinMonDecoderSlot8 ( ) const

Definition at line 151 of file CTPFiles.cxx.

151 {
153}
std::vector< uint32_t > m_ctpinMonDecoderSlot8
Definition CTPFiles.h:120

◆ ctpinMonDecoderSlot9()

const std::vector< uint32_t > & TrigConf::CTPFiles::ctpinMonDecoderSlot9 ( ) const

Definition at line 164 of file CTPFiles.cxx.

164 {
166}
std::vector< uint32_t > m_ctpinMonDecoderSlot9
Definition CTPFiles.h:121

◆ ctpinMonSelectorSlot7()

const std::vector< uint32_t > & TrigConf::CTPFiles::ctpinMonSelectorSlot7 ( ) const

Definition at line 88 of file CTPFiles.cxx.

88 {
90}
std::vector< uint32_t > m_ctpinMonSelectorSlot7
Definition CTPFiles.h:115

◆ ctpinMonSelectorSlot8()

const std::vector< uint32_t > & TrigConf::CTPFiles::ctpinMonSelectorSlot8 ( ) const

Definition at line 100 of file CTPFiles.cxx.

100 {
102}
std::vector< uint32_t > m_ctpinMonSelectorSlot8
Definition CTPFiles.h:116

◆ ctpinMonSelectorSlot9()

const std::vector< uint32_t > & TrigConf::CTPFiles::ctpinMonSelectorSlot9 ( ) const

Definition at line 113 of file CTPFiles.cxx.

113 {
115}
std::vector< uint32_t > m_ctpinMonSelectorSlot9
Definition CTPFiles.h:117

◆ ctpinSmxOutput()

const std::string & TrigConf::CTPFiles::ctpinSmxOutput ( ) const
inline

Definition at line 92 of file CTPFiles.h.

92{ return m_ctpinSmxOutput; }
std::string m_ctpinSmxOutput
Definition CTPFiles.h:132

◆ ctpinSmxSvfiSlot7()

const std::string & TrigConf::CTPFiles::ctpinSmxSvfiSlot7 ( ) const
inline

Definition at line 89 of file CTPFiles.h.

89{ return m_ctpinSmxSvfiSlot7; }
std::string m_ctpinSmxSvfiSlot7
Definition CTPFiles.h:129

◆ ctpinSmxSvfiSlot8()

const std::string & TrigConf::CTPFiles::ctpinSmxSvfiSlot8 ( ) const
inline

Definition at line 90 of file CTPFiles.h.

90{ return m_ctpinSmxSvfiSlot8; }
std::string m_ctpinSmxSvfiSlot8
Definition CTPFiles.h:130

◆ ctpinSmxSvfiSlot9()

const std::string & TrigConf::CTPFiles::ctpinSmxSvfiSlot9 ( ) const
inline

Definition at line 91 of file CTPFiles.h.

91{ return m_ctpinSmxSvfiSlot9; }
std::string m_ctpinSmxSvfiSlot9
Definition CTPFiles.h:131

◆ ctpinSmxVhdlSlot7()

const std::string & TrigConf::CTPFiles::ctpinSmxVhdlSlot7 ( ) const
inline

Definition at line 86 of file CTPFiles.h.

86{ return m_ctpinSmxVhdlSlot7; }
std::string m_ctpinSmxVhdlSlot7
Definition CTPFiles.h:126

◆ ctpinSmxVhdlSlot8()

const std::string & TrigConf::CTPFiles::ctpinSmxVhdlSlot8 ( ) const
inline

Definition at line 87 of file CTPFiles.h.

87{ return m_ctpinSmxVhdlSlot8; }
std::string m_ctpinSmxVhdlSlot8
Definition CTPFiles.h:127

◆ ctpinSmxVhdlSlot9()

const std::string & TrigConf::CTPFiles::ctpinSmxVhdlSlot9 ( ) const
inline

Definition at line 88 of file CTPFiles.h.

88{ return m_ctpinSmxVhdlSlot9; }
std::string m_ctpinSmxVhdlSlot9
Definition CTPFiles.h:128

◆ ctpmonDecoder()

const std::vector< uint32_t > & TrigConf::CTPFiles::ctpmonDecoder ( ) const

Definition at line 176 of file CTPFiles.cxx.

176 {
177 return m_ctpmonDecoder;
178}
std::vector< uint32_t > m_ctpmonDecoder
Definition CTPFiles.h:122

◆ ctpmonSelector()

const std::vector< uint32_t > & TrigConf::CTPFiles::ctpmonSelector ( ) const

Definition at line 126 of file CTPFiles.cxx.

126 {
127 return m_ctpmonSelector;
128}
std::vector< uint32_t > m_ctpmonSelector
Definition CTPFiles.h:118

◆ id()

unsigned int TrigConf::TrigConfData::id ( ) const
inlineinherited

Definition at line 21 of file TrigConfData.h.

21{return m_id;}

◆ indent()

std::ostream & TrigConfData::indent ( std::ostream & o,
int lvl,
int size ) const
protectedinherited

Definition at line 23 of file TrigConfData.cxx.

23 {
24 int width = lvl*size;
25 if(width==0) return o;
26 o << setw(lvl*size) << " ";
27 return o;
28}
const double width

◆ loadCtpcoreFiles()

bool TrigConf::CTPFiles::loadCtpcoreFiles ( ) const
inline

Definition at line 102 of file CTPFiles.h.

102{return m_LoadCtpcoreFiles;}

◆ loadCtpinFiles()

bool TrigConf::CTPFiles::loadCtpinFiles ( ) const
inline

Definition at line 104 of file CTPFiles.h.

104{return m_LoadCtpinFiles;}

◆ loadCtpmonFiles()

bool TrigConf::CTPFiles::loadCtpmonFiles ( ) const
inline

Definition at line 106 of file CTPFiles.h.

106{return m_LoadCtpmonFiles;}

◆ lvl1MasterTableId()

int TrigConf::CTPFiles::lvl1MasterTableId ( ) const
inline

Definition at line 77 of file CTPFiles.h.

77{return m_Lvl1MasterTableId;}

◆ name()

const std::string & TrigConf::TrigConfData::name ( ) const
inlineinherited

Definition at line 22 of file TrigConfData.h.

22{return m_name;}

◆ print()

void TrigConf::CTPFiles::print ( const std::string & indent = "",
unsigned int detail = 1 ) const
overridevirtual

Implements TrigConf::TrigConfData.

Definition at line 191 of file CTPFiles.cxx.

191 {
192 cout << indent << "CTPFiles: " << endl;
193 cout << indent << "id:\t\t\t" << id() << endl;
194 cout << indent << "Name: \t\t\t" << name() << endl;
195 cout << indent << "Version: \t\t" << version() << endl;
196 cout << indent << "Print the LUT" << endl;
197
198 for (unsigned int i=0; i<(ALL_CTPCORELUT_SIZE); i++)
199 cout << indent << i << "\t:t0x" << setw(8) << setfill('0')
200 << hex << m_ctpcoreLUT[i] << dec << endl;
201
202 cout << indent << "Print the CAM" << endl;
203 for (unsigned int i=0; i<(ALL_CTPCORECAM_SIZE); i++)
204 cout << indent << i << "\t:\t0x" << setw(8) << setfill('0')
205 << hex << m_ctpcoreCAM[i] << dec << endl;
206
207 cout << indent << "Print the CTPIN mon decoders slot 7" << endl;
208 for (unsigned int i=0; i<(ALL_CTPINMONDEC_SIZE); i++)
209 cout << indent << i << "\t:\t0x" << setw(8) << setfill('0')
210 << hex << m_ctpinMonDecoderSlot7[i] << dec << endl;
211 cout << indent << "Print the CTPIN mon decoders slot 8" << endl;
212 for (unsigned int i=0; i<(ALL_CTPINMONDEC_SIZE); i++)
213 cout << indent << i << "\t:\t0x" << setw(8) << setfill('0')
214 << hex << m_ctpinMonDecoderSlot8[i] << dec << endl;
215 cout << indent << "Print the CTPIN mon decoders slot 9" << endl;
216 for (unsigned int i=0; i<(ALL_CTPINMONDEC_SIZE); i++)
217 cout << indent << i << "\t:\t0x" << setw(8) << setfill('0')
218 << hex << m_ctpinMonDecoderSlot9[i] << dec << endl;
219
220 cout << indent << "Print the CTPIN mon selectors slot 7" << endl;
221 for (unsigned int i=0; i<(ALL_CTPINMONSEL_SIZE); i++)
222 cout << indent << i << "\t:\t0x" << setw(8) << setfill('0')
223 << hex << m_ctpinMonSelectorSlot7[i] << dec << endl;
224 cout << indent << "Print the CTPIN mon selectors slot 8" << endl;
225 for (unsigned int i=0; i<(ALL_CTPINMONSEL_SIZE); i++)
226 cout << indent << i << "\t:\t0x" << setw(8) << setfill('0')
227 << hex << m_ctpinMonSelectorSlot8[i] << dec << endl;
228 cout << indent << "Print the CTPIN mon selectors slot 9" << endl;
229 for (unsigned int i=0; i<(ALL_CTPINMONSEL_SIZE); i++)
230 cout << indent << i << "\t:\t0x" << setw(8) << setfill('0')
231 << hex << m_ctpinMonSelectorSlot9[i] << dec << endl;
232
233 cout << indent << "Print the CTPMON selector" << endl;
234 for (unsigned int i=0; i < ALL_CTPMONSELECTOR_SIZE; i++)
235 cout << indent << i << "\t:\t" << setw(2) << setfill(' ')
236 << m_ctpmonSelector[i] << endl;
237 cout << indent << "Print the CTPMON decoder" << endl;
238 for (unsigned int i=0; i < ALL_CTPMONDECODER_SIZE; i++)
239 cout << indent << i << "\t:\t0x" << setw(8) << setfill('0')
240 << hex << m_ctpmonDecoder[i] << dec << endl;
241
242 cout << indent << "SMX no " << m_smxId << " '" << m_smxName << "'" << endl;
243 cout << indent << "VHDL slot 7 : " << endl;
244 cout << m_ctpinSmxVhdlSlot7 << endl;
245 cout << indent << "VHDL slot 8 : " << endl;
246 cout << m_ctpinSmxVhdlSlot8 << endl;
247 cout << indent << "VHDL slot 9 : " << endl;
248 cout << m_ctpinSmxVhdlSlot9 << endl;
249
250 cout << indent << "SVFI slot 7 : " << endl;
251 cout << m_ctpinSmxSvfiSlot7 << endl;
252 cout << indent << "SVFI slot 8 : " << endl;
253 cout << m_ctpinSmxSvfiSlot8 << endl;
254 cout << indent << "SVFI slot 9 : " << endl;
255 cout << m_ctpinSmxSvfiSlot9 << endl;
256
257 cout << indent << "SMX Output file: " << endl;
258 cout << m_ctpinSmxOutput << endl;
259}
std::string m_smxName
Definition CTPFiles.h:125
unsigned int id() const
std::ostream & indent(std::ostream &o, int lvl, int size) const
const std::string & name() const
unsigned int version() const

◆ printNameIdV()

void TrigConfData::printNameIdV ( const std::string & indent = "") const
inherited

Definition at line 31 of file TrigConfData.cxx.

31 {
32 cout << indent << name();
33 if(id()>0 || version()>0)
34 cout << " (id=" << id() << "/v=" << version() << ")";
35 cout << endl;
36 if(comment()!="")
37 cout << indent << "Comment: " << comment() << endl;
38}
const std::string & comment() const

◆ setComment()

void TrigConf::TrigConfData::setComment ( const std::string & c)
inlineinherited

Definition at line 32 of file TrigConfData.h.

◆ setCtpcoreCAM()

void TrigConf::CTPFiles::setCtpcoreCAM ( const std::vector< u_int > & vec)

Definition at line 80 of file CTPFiles.cxx.

80 {
81 if(vec.size() != ALL_CTPCORECAM_SIZE)
82 throw std::runtime_error( "CTPFiles: CAM size incorrect" );
84}
std::vector< size_t > vec

◆ setCtpcoreLUT()

void TrigConf::CTPFiles::setCtpcoreLUT ( const std::vector< u_int > & vec)

Definition at line 67 of file CTPFiles.cxx.

68{
69 if(vec.size() != ALL_CTPCORELUT_SIZE)
70 throw std::runtime_error( "CTPFiles: LUT size incorrect" );
72}

◆ setCtpinMonDecoderSlot7()

void TrigConf::CTPFiles::setCtpinMonDecoderSlot7 ( const std::vector< u_int > & vec)

Definition at line 144 of file CTPFiles.cxx.

144 {
145 if(vec.size() != ALL_CTPINMONDEC_SIZE)
146 throw std::runtime_error( "CTPFiles: MonSel size slot 7 incorrect" );
148}

◆ setCtpinMonDecoderSlot8()

void TrigConf::CTPFiles::setCtpinMonDecoderSlot8 ( const std::vector< u_int > & vec)

Definition at line 156 of file CTPFiles.cxx.

156 {
157 if(vec.size() != ALL_CTPINMONDEC_SIZE)
158 throw std::runtime_error( "CTPFiles: MonSel size slot 8 incorrect" );
160}

◆ setCtpinMonDecoderSlot9()

void TrigConf::CTPFiles::setCtpinMonDecoderSlot9 ( const std::vector< u_int > & vec)

Definition at line 169 of file CTPFiles.cxx.

169 {
170 if(vec.size() != ALL_CTPINMONDEC_SIZE)
171 throw std::runtime_error( "CTPFiles: MonSel size slot 9 incorrect" );
173}

◆ setCtpinMonSelectorSlot7()

void TrigConf::CTPFiles::setCtpinMonSelectorSlot7 ( const std::vector< u_int > & vec)

Definition at line 93 of file CTPFiles.cxx.

93 {
94 if(vec.size() != ALL_CTPINMONSEL_SIZE)
95 throw std::runtime_error( "CTPFiles: MonSel size slot 7 incorrect" );
97}

◆ setCtpinMonSelectorSlot8()

void TrigConf::CTPFiles::setCtpinMonSelectorSlot8 ( const std::vector< u_int > & vec)

Definition at line 105 of file CTPFiles.cxx.

105 {
106 if(vec.size() != ALL_CTPINMONSEL_SIZE)
107 throw std::runtime_error( "CTPFiles: MonSel size slot 8 incorrect" );
109}

◆ setCtpinMonSelectorSlot9()

void TrigConf::CTPFiles::setCtpinMonSelectorSlot9 ( const std::vector< u_int > & vec)

Definition at line 118 of file CTPFiles.cxx.

118 {
119 if(vec.size() != ALL_CTPINMONSEL_SIZE)
120 throw std::runtime_error( "CTPFiles: MonSel size slot 9 incorrect" );
122}

◆ setCtpinSmxOutput()

void TrigConf::CTPFiles::setCtpinSmxOutput ( const std::string & str)
inline

◆ setCtpinSmxSvfiSlot7()

void TrigConf::CTPFiles::setCtpinSmxSvfiSlot7 ( const std::string & str)
inline

Definition at line 97 of file CTPFiles.h.

◆ setCtpinSmxSvfiSlot8()

void TrigConf::CTPFiles::setCtpinSmxSvfiSlot8 ( const std::string & str)
inline

Definition at line 98 of file CTPFiles.h.

◆ setCtpinSmxSvfiSlot9()

void TrigConf::CTPFiles::setCtpinSmxSvfiSlot9 ( const std::string & str)
inline

Definition at line 99 of file CTPFiles.h.

◆ setCtpinSmxVhdlSlot7()

void TrigConf::CTPFiles::setCtpinSmxVhdlSlot7 ( const std::string & str)
inline

Definition at line 94 of file CTPFiles.h.

◆ setCtpinSmxVhdlSlot8()

void TrigConf::CTPFiles::setCtpinSmxVhdlSlot8 ( const std::string & str)
inline

Definition at line 95 of file CTPFiles.h.

◆ setCtpinSmxVhdlSlot9()

void TrigConf::CTPFiles::setCtpinSmxVhdlSlot9 ( const std::string & str)
inline

Definition at line 96 of file CTPFiles.h.

◆ setCtpmonDecoder()

void TrigConf::CTPFiles::setCtpmonDecoder ( const std::vector< u_int > & vec)

Definition at line 182 of file CTPFiles.cxx.

182 {
183 if(vec.size() != ALL_CTPMONDECODER_SIZE)
184 throw std::runtime_error( "CTPFiles: CTPMON Decoder size incorrect" );
186}

◆ setCtpmonSelector()

void TrigConf::CTPFiles::setCtpmonSelector ( const std::vector< u_int > & vec)

Definition at line 132 of file CTPFiles.cxx.

132 {
133 if(vec.size() != ALL_CTPMONSELECTOR_SIZE)
134 throw std::runtime_error( "CTPFiles: CTPMON Selector size incorrect" );
136}

◆ setFileSizes()

void TrigConf::CTPFiles::setFileSizes ( unsigned int run)

Definition at line 32 of file CTPFiles.cxx.

32 {
33 if(run==1) {
34 ALL_CTPCORELUT_SIZE = 49664;
35 ALL_CTPCORECAM_SIZE = 8192;
36
37 ALL_CTPINMONSEL_SIZE = 124;
38 ALL_CTPINMONDEC_SIZE = 4096;
39
40 CTPMON_MUX_OUTPUT_NUMBER = 9;
41 CTPMON_ADDRESS_SELECTOR_NUMBER = 24;
42 ALL_CTPMONSELECTOR_SIZE = CTPMON_MUX_OUTPUT_NUMBER * CTPMON_ADDRESS_SELECTOR_NUMBER;
43 ALL_CTPMONDECODER_SIZE = 6656;
44 } else {
45 // https://svnweb.cern.ch/trac/atlastdaq/browser/LVL1/ctp/CtpcorePlusModule/trunk/CtpcorePlusModule/CtpcorePlusModule.h
46 ALL_CTPCORELUT_SIZE = 725248; // 0xb1100
47 ALL_CTPCORECAM_SIZE = 55296;
48
49 ALL_CTPINMONSEL_SIZE = 124;
50 ALL_CTPINMONDEC_SIZE = 4096;
51
52 CTPMON_MUX_OUTPUT_NUMBER = 9;
53 CTPMON_ADDRESS_SELECTOR_NUMBER = 24;
54 ALL_CTPMONSELECTOR_SIZE = CTPMON_MUX_OUTPUT_NUMBER * CTPMON_ADDRESS_SELECTOR_NUMBER;
55 ALL_CTPMONDECODER_SIZE = 6656;
56 }
57}

◆ setId()

void TrigConf::TrigConfData::setId ( unsigned int id)
inlineinherited

Definition at line 29 of file TrigConfData.h.

29{ m_id=id; }

◆ setLoadCtpcoreFiles()

void TrigConf::CTPFiles::setLoadCtpcoreFiles ( bool flag = true)
inline

Definition at line 103 of file CTPFiles.h.

bool flag
Definition master.py:29

◆ setLoadCtpinFiles()

void TrigConf::CTPFiles::setLoadCtpinFiles ( bool flag = true)
inline

Definition at line 105 of file CTPFiles.h.

◆ setLoadCtpmonFiles()

void TrigConf::CTPFiles::setLoadCtpmonFiles ( bool flag = true)
inline

Definition at line 107 of file CTPFiles.h.

◆ setLvl1MasterTableId() [1/2]

void TrigConf::CTPFiles::setLvl1MasterTableId ( const int & id)
inline

Definition at line 78 of file CTPFiles.h.

◆ setLvl1MasterTableId() [2/2]

void TrigConf::L1DataBaseclass::setLvl1MasterTableId ( unsigned int id)
inlineinherited

Definition at line 31 of file L1DataBaseclass.h.

◆ setName()

void TrigConf::TrigConfData::setName ( const std::string & name)
inlineinherited

Definition at line 30 of file TrigConfData.h.

30{ m_name = name;}

◆ setSMK()

void TrigConf::TrigConfData::setSMK ( int id)
inlineinherited

Definition at line 28 of file TrigConfData.h.

28{m_smk=id;}

◆ setSmxId()

void TrigConf::CTPFiles::setSmxId ( const int & id)
inline

Definition at line 81 of file CTPFiles.h.

81{m_smxId=id;}

◆ setSmxName()

void TrigConf::CTPFiles::setSmxName ( const std::string & str)
inline

Definition at line 84 of file CTPFiles.h.

84{m_smxName = str;}

◆ setSuperMasterTableId()

void TrigConf::TrigConfData::setSuperMasterTableId ( int id)
inlineinherited

Definition at line 27 of file TrigConfData.h.

27{m_smk=id;}

◆ setVersion()

void TrigConf::TrigConfData::setVersion ( unsigned int version)
inlineinherited

Definition at line 31 of file TrigConfData.h.

◆ smk()

unsigned int TrigConf::TrigConfData::smk ( ) const
inlineinherited

Definition at line 20 of file TrigConfData.h.

20{return m_smk;}

◆ smxId()

int TrigConf::CTPFiles::smxId ( ) const
inline

Definition at line 80 of file CTPFiles.h.

80{return m_smxId;}

◆ smxName()

const std::string & TrigConf::CTPFiles::smxName ( ) const
inline

Definition at line 83 of file CTPFiles.h.

83{return m_smxName;}

◆ superMasterTableId()

int TrigConf::TrigConfData::superMasterTableId ( ) const
inlineinherited

Definition at line 19 of file TrigConfData.h.

19{return (int)m_smk;}

◆ version()

unsigned int TrigConf::TrigConfData::version ( ) const
inlineinherited

Definition at line 24 of file TrigConfData.h.

24{return m_version;}

Member Data Documentation

◆ ATLAS_THREAD_SAFE [1/8]

u_int ALL_CTPCORELUT_SIZE TrigConf::CTPFiles::ATLAS_THREAD_SAFE
static

Definition at line 21 of file CTPFiles.h.

◆ ATLAS_THREAD_SAFE [2/8]

u_int ALL_CTPCORECAM_SIZE TrigConf::CTPFiles::ATLAS_THREAD_SAFE
static

Definition at line 22 of file CTPFiles.h.

◆ ATLAS_THREAD_SAFE [3/8]

u_int ALL_CTPINMONSEL_SIZE TrigConf::CTPFiles::ATLAS_THREAD_SAFE
static

Definition at line 24 of file CTPFiles.h.

◆ ATLAS_THREAD_SAFE [4/8]

u_int ALL_CTPINMONDEC_SIZE TrigConf::CTPFiles::ATLAS_THREAD_SAFE
static

Definition at line 25 of file CTPFiles.h.

◆ ATLAS_THREAD_SAFE [5/8]

u_int CTPMON_MUX_OUTPUT_NUMBER TrigConf::CTPFiles::ATLAS_THREAD_SAFE
static

Definition at line 27 of file CTPFiles.h.

◆ ATLAS_THREAD_SAFE [6/8]

u_int CTPMON_ADDRESS_SELECTOR_NUMBER TrigConf::CTPFiles::ATLAS_THREAD_SAFE
static

Definition at line 28 of file CTPFiles.h.

◆ ATLAS_THREAD_SAFE [7/8]

u_int ALL_CTPMONSELECTOR_SIZE TrigConf::CTPFiles::ATLAS_THREAD_SAFE
static

Definition at line 29 of file CTPFiles.h.

◆ ATLAS_THREAD_SAFE [8/8]

u_int ALL_CTPMONDECODER_SIZE TrigConf::CTPFiles::ATLAS_THREAD_SAFE
static

Definition at line 30 of file CTPFiles.h.

◆ m_comment

std::string TrigConf::TrigConfData::m_comment
privateinherited

Definition at line 48 of file TrigConfData.h.

◆ m_ctpcoreCAM

std::vector<uint32_t> TrigConf::CTPFiles::m_ctpcoreCAM
private

Definition at line 114 of file CTPFiles.h.

◆ m_ctpcoreLUT

std::vector<uint32_t> TrigConf::CTPFiles::m_ctpcoreLUT
private

Definition at line 113 of file CTPFiles.h.

◆ m_ctpinMonDecoderSlot7

std::vector<uint32_t> TrigConf::CTPFiles::m_ctpinMonDecoderSlot7
private

Definition at line 119 of file CTPFiles.h.

◆ m_ctpinMonDecoderSlot8

std::vector<uint32_t> TrigConf::CTPFiles::m_ctpinMonDecoderSlot8
private

Definition at line 120 of file CTPFiles.h.

◆ m_ctpinMonDecoderSlot9

std::vector<uint32_t> TrigConf::CTPFiles::m_ctpinMonDecoderSlot9
private

Definition at line 121 of file CTPFiles.h.

◆ m_ctpinMonSelectorSlot7

std::vector<uint32_t> TrigConf::CTPFiles::m_ctpinMonSelectorSlot7
private

Definition at line 115 of file CTPFiles.h.

◆ m_ctpinMonSelectorSlot8

std::vector<uint32_t> TrigConf::CTPFiles::m_ctpinMonSelectorSlot8
private

Definition at line 116 of file CTPFiles.h.

◆ m_ctpinMonSelectorSlot9

std::vector<uint32_t> TrigConf::CTPFiles::m_ctpinMonSelectorSlot9
private

Definition at line 117 of file CTPFiles.h.

◆ m_ctpinSmxOutput

std::string TrigConf::CTPFiles::m_ctpinSmxOutput
private

Definition at line 132 of file CTPFiles.h.

◆ m_ctpinSmxSvfiSlot7

std::string TrigConf::CTPFiles::m_ctpinSmxSvfiSlot7
private

Definition at line 129 of file CTPFiles.h.

◆ m_ctpinSmxSvfiSlot8

std::string TrigConf::CTPFiles::m_ctpinSmxSvfiSlot8
private

Definition at line 130 of file CTPFiles.h.

◆ m_ctpinSmxSvfiSlot9

std::string TrigConf::CTPFiles::m_ctpinSmxSvfiSlot9
private

Definition at line 131 of file CTPFiles.h.

◆ m_ctpinSmxVhdlSlot7

std::string TrigConf::CTPFiles::m_ctpinSmxVhdlSlot7
private

Definition at line 126 of file CTPFiles.h.

◆ m_ctpinSmxVhdlSlot8

std::string TrigConf::CTPFiles::m_ctpinSmxVhdlSlot8
private

Definition at line 127 of file CTPFiles.h.

◆ m_ctpinSmxVhdlSlot9

std::string TrigConf::CTPFiles::m_ctpinSmxVhdlSlot9
private

Definition at line 128 of file CTPFiles.h.

◆ m_ctpmonDecoder

std::vector<uint32_t> TrigConf::CTPFiles::m_ctpmonDecoder
private

Definition at line 122 of file CTPFiles.h.

◆ m_ctpmonSelector

std::vector<uint32_t> TrigConf::CTPFiles::m_ctpmonSelector
private

Definition at line 118 of file CTPFiles.h.

◆ m_id

unsigned int TrigConf::TrigConfData::m_id
privateinherited

Definition at line 45 of file TrigConfData.h.

◆ m_LoadCtpcoreFiles

bool TrigConf::CTPFiles::m_LoadCtpcoreFiles
private

Definition at line 134 of file CTPFiles.h.

◆ m_LoadCtpinFiles

bool TrigConf::CTPFiles::m_LoadCtpinFiles
private

Definition at line 135 of file CTPFiles.h.

◆ m_LoadCtpmonFiles

bool TrigConf::CTPFiles::m_LoadCtpmonFiles
private

Definition at line 136 of file CTPFiles.h.

◆ m_Lvl1MasterId

unsigned int TrigConf::L1DataBaseclass::m_Lvl1MasterId
privateinherited

Definition at line 35 of file L1DataBaseclass.h.

◆ m_Lvl1MasterTableId

int TrigConf::CTPFiles::m_Lvl1MasterTableId
private

Definition at line 112 of file CTPFiles.h.

◆ m_name

std::string TrigConf::TrigConfData::m_name
privateinherited

Definition at line 46 of file TrigConfData.h.

◆ m_smk

unsigned int TrigConf::TrigConfData::m_smk
privateinherited

Definition at line 44 of file TrigConfData.h.

◆ m_smxId

int TrigConf::CTPFiles::m_smxId
private

Definition at line 124 of file CTPFiles.h.

◆ m_smxName

std::string TrigConf::CTPFiles::m_smxName
private

Definition at line 125 of file CTPFiles.h.

◆ m_version

unsigned int TrigConf::TrigConfData::m_version
privateinherited

Definition at line 47 of file TrigConfData.h.


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