ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCalibTgcTruthHit.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5//*********************************************************//
6// Class to store truth information in //
7//*********************************************************//
8
9#ifndef MuonCalibTgcTruthHit_h
10#define MuonCalibTgcTruthHit_h
11
12#include <iostream>
13
15
16namespace MuonCalib {
25 public:
30
32
33 std::ostream& dump(std::ostream& stream) const;
34
35 const MuonFixedId& identify() const;
36 int barCode() const;
37 double time() const;
38
39 void setIdentifier(MuonFixedId id);
40 void setBarCode(int barCode);
41 void setTime(double time);
42
43 private:
45 int m_barCode{0};
46 double m_time{0.};
47 };
48
49} // namespace MuonCalib
50
51std::ostream& operator<<(std::ostream& stream, const MuonCalib::MuonCalibTgcTruthHit& truth);
52
53#endif // MuonCalibTgcTruth_h
std::ostream & operator<<(std::ostream &stream, const MuonCalib::MuonCalibTgcTruthHit &truth)
Class with truth information of a RPC hit, containing:
void setTime(double time)
sets the time
MuonCalibTgcTruthHit(const MuonCalibTgcTruthHit &truth)=default
copyconstructor
MuonCalibTgcTruthHit()=default
default constructor
MuonCalibTgcTruthHit & operator=(const MuonCalibTgcTruthHit &rhs)=default
assignment operator
const MuonFixedId & identify() const
retrieve the MuonFixedId
double time() const
retrieve the time
MuonFixedId m_ID
identifier of the truth hit, (is a MuonFixedId, not an Identifier)
void setBarCode(int barCode)
sets the barcode
void setIdentifier(MuonFixedId id)
sets the MuonFixedId
~MuonCalibTgcTruthHit()=default
destructor
int barCode() const
retrieve the barcode
Implements fixed identifiers not dependent upon Athena Identifier for internal use in the calibration...
Definition MuonFixedId.h:50
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
-event-from-file