ATLAS Offline Software
MdtTwinPrepData.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 
8 #include "GaudiKernel/MsgStream.h"
9 
10 namespace Muon
11 {
12 
13 
14  // Constructor with parameters:
16  const Amg::Vector2D& driftRadiusXTwin,
17  const Amg::MatrixX& errDriftRadiusXTwin,
18  const MuonGM::MdtReadoutElement* detEl,
19  const int tdc, const int adc,
20  const int tdcTwin, const int adcTwin,
22  MdtPrepData(id, driftRadiusXTwin, errDriftRadiusXTwin, detEl, tdc, adc, status), //call base class constructor
23  m_tdcTwin(tdcTwin),
24  m_adcTwin(adcTwin) {}
25 
26 
27  MsgStream& MdtTwinPrepData::dump( MsgStream& stream) const
28  {
29  stream << MSG::INFO<<"MdtTwinPrepData {"<<std::endl;
30 
32 
33  //MdtTwinPrepData methods
34  stream <<"TDC TWIN = "<<tdcTwin()<<", ";
35  stream <<"ADC TWIN= "<<adcTwin()<<", ";
36  stream<<"} End MdtTwinPrepData"<<endmsg;
37 
38  return stream;
39  }
40 
41  std::ostream& MdtTwinPrepData::dump( std::ostream& stream) const
42  {
43  stream << "MdtTwinPrepData {"<<std::endl;
44 
46 
47  //MdtTwinPrepData methods
48  stream <<"TDC TWIN = "<<tdcTwin()<<", ";
49  stream <<"ADC TWIN = "<<adcTwin()<<", ";
50  stream<<"} End MdtTwinPrepData"<<std::endl;
51  return stream;
52  }
53 
54 
55 
56 }//end of ns
57 
58 
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition: EventPrimitives.h:27
Amg::Vector2D
Eigen::Matrix< double, 2, 1 > Vector2D
Definition: GeoPrimitives.h:48
Muon::MdtTwinPrepData::MdtTwinPrepData
MdtTwinPrepData()=default
Muon::MdtDriftCircleStatus
MdtDriftCircleStatus
Enum to represent the 'status' of Mdt measurements e.g.
Definition: MdtDriftCircleStatus.h:25
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:45
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
MdtTwinPrepData.h
MuonGM::MdtReadoutElement
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MdtReadoutElement.h:51
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
Muon::MdtTwinPrepData::tdcTwin
int tdcTwin() const
Returns the TDC of twin tube(typically range is 0 to 2500).
Definition: MdtTwinPrepData.h:99
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:220
Muon::MdtPrepData
Class to represent measurements from the Monitored Drift Tubes.
Definition: MdtPrepData.h:33
ReadFloatFromCool.adc
adc
Definition: ReadFloatFromCool.py:48
Muon::MdtPrepData::dump
virtual MsgStream & dump(MsgStream &stream) const override
Dumps information about the PRD.
Definition: MdtPrepData.cxx:87
Muon::MdtTwinPrepData::adcTwin
int adcTwin() const
Returns the ADC of twin tube(typically range is 0 to 250)
Definition: MdtTwinPrepData.h:100
merge.status
status
Definition: merge.py:17
Muon::MdtTwinPrepData::dump
virtual MsgStream & dump(MsgStream &stream) const
Dumps information about the PRD.
Definition: MdtTwinPrepData.cxx:27
Identifier
Definition: IdentifierFieldParser.cxx:14