ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCalibCscTruthHit.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 MuonCalibCscTruthHit_h
10#define MuonCalibCscTruthHit_h
11
12#include <iostream>
13
15
16namespace MuonCalib {
25 public:
30
32
33 std::ostream &dump(std::ostream &stream) const;
34
35 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::MuonCalibCscTruthHit &truth);
52
53#endif // MuonCalibCscTruth_h
std::ostream & operator<<(std::ostream &stream, const MuonCalib::MuonCalibCscTruthHit &truth)
Class with truth information of a RPC hit, containing:
MuonCalibCscTruthHit & operator=(const MuonCalibCscTruthHit &rhs)=default
assignment operator
MuonCalibCscTruthHit()=default
default constructor
void setTime(double time)
sets the time
~MuonCalibCscTruthHit()=default
destructor
double time() const
retrieve the time
MuonFixedId identify() const
retrieve the MuonFixedId
int barCode() const
retrieve the barcode
void setBarCode(int barCode)
sets the barcode
MuonCalibCscTruthHit(const MuonCalibCscTruthHit &truth)=default
copy constructor
void setIdentifier(MuonFixedId id)
sets the MuonFixedId
MuonFixedId m_ID
identifier of the truth hit, (a MuonFixedId, not an Identifier)
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