ATLAS Offline Software
Loading...
Searching...
No Matches
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
10namespace 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
25
26
27 MsgStream& MdtTwinPrepData::dump( MsgStream& stream) const
28 {
29 stream << MSG::INFO<<"MdtTwinPrepData {"<<std::endl;
30
31 MdtPrepData::dump(stream);
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
45 MdtPrepData::dump(stream);
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
#define endmsg
int adc() const
Returns the ADC (typically range is 0 to 250)
MdtDriftCircleStatus status() const
Returns the status of the measurement.
virtual MsgStream & dump(MsgStream &stream) const override
Dumps information about the PRD.
int tdc() const
Returns the TDC (typically range is 0 to 2500).
int m_adcTwin
ADC value of twin tube - typical ADC spectra can go from 0 up to 250.
int m_tdcTwin
TDC value of twin tube - typical TDC spectra can go from 0 up to 2500.
virtual MsgStream & dump(MsgStream &stream) const
Dumps information about the PRD.
int tdcTwin() const
Returns the TDC of twin tube(typically range is 0 to 2500).
int adcTwin() const
Returns the ADC of twin tube(typically range is 0 to 250)
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Eigen::Matrix< double, 2, 1 > Vector2D
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
MdtDriftCircleStatus
Enum to represent the 'status' of Mdt measurements e.g.