ATLAS Offline Software
TIP.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "TrigConfL1Data/TIP.h"
6 
7 #include <stdexcept>
8 #include <iostream>
9 #include <iomanip>
10 
11 using namespace std;
12 
14  L1DataBaseclass(),
15  m_ThresholdName(""),
16  m_Slot(0),
17  m_Connector(0),
18  m_TipNumber(0),
19  m_ThresholdBit(0),
20  m_CableBit(0),
21  m_TmToTtId(0),
22  m_TriggerThresholdId(0),
23  m_ThresholdActive(0),
24  m_ThresholdMapping(0),
25  m_IsDirect(false),
26  m_Clock(0)
27 {}
28 
29 void
30 TrigConf::TIP::print(const std::string& indent, unsigned int /*detail*/) const {
31  cout << indent << "TIP " << setw(3) << m_TipNumber;
32  cout << (m_IsDirect ? " (direct) " : " (PIT) ");
33  cout << ": phase " << m_Clock;
34  cout << " slot " << setw(2) << m_Slot;
35  cout << " cable bit " << setw(2) << m_CableBit;
36  cout << " connector " << m_Connector;
37  cout << " threshold bit " << m_ThresholdBit;
38  cout << " threshold " << m_ThresholdName;
39  cout << endl;
40 }
41 
TrigConf::TIP::TIP
TIP()
Definition: TIP.cxx:13
geometry_dat_to_json.indent
indent
Definition: geometry_dat_to_json.py:18
TIP.h
TrigConf::TIP::print
virtual void print(const std::string &indent="", unsigned int detail=1) const override
Definition: TIP.cxx:30
TrigConf::L1DataBaseclass
Definition: L1DataBaseclass.h:22