ATLAS Offline Software
SCTRawHitValidation_v1.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef XAODTRACKING_VERSIONS_SCTRAWHITVALIDATION_V1_H
8 #define XAODTRACKING_VERSIONS_SCTRAWHITVALIDATION_V1_H
9 
10 // System include(s):
11 #include <vector>
12 
13 // Core include(s):
15 
16 namespace xAOD {
17 
23  public:
25 
27  void setIdentifier(uint64_t new_identifier);
28 
31 
33  void setWord(uint32_t new_word);
34 
38  uint32_t getWord() const;
40 
42  int getGroupSize() const;
43 
45  int getStrip() const;
46 
52  int getTimeBin() const;
53 
55  int getErrors() const;
56 
58  bool OnTime() const;
59 
61  bool FirstHitError() const;
62 
64  bool SecondHitError() const;
66 
68  void setBec(int new_bec);
69 
71  int bec() const;
72 
74  void setLayer(int new_layer);
75 
77  int layer() const;
78 
80  void setEta_module(int new_eta_module);
81 
83  int eta_module() const;
84 
86  void setPhi_module(int new_phi_module);
87 
89  int phi_module() const;
90 
92  void setSide(int new_side);
93 
95  int side() const;
96 
97  }; // end of the SCTRawHitValidation_v1 class definition
98 
99 } // end of the xAOD namespace
100 
101 #endif // XAODTRACKING_VERSIONS_SCTRAWHITVALIDATION_V1_H
xAOD::SCTRawHitValidation_v1::phi_module
int phi_module() const
get phi_module of this RDO
xAOD::SCTRawHitValidation_v1::setEta_module
void setEta_module(int new_eta_module)
set eta_module of this RDO
xAOD::SCTRawHitValidation_v1::setPhi_module
void setPhi_module(int new_phi_module)
set phi_module of this RDO
xAOD::SCTRawHitValidation_v1::SCTRawHitValidation_v1
SCTRawHitValidation_v1()
Definition: SCTRawHitValidation_v1.cxx:11
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:446
xAOD::SCTRawHitValidation_v1::getGroupSize
int getGroupSize() const
return number of strips in this RDO (typically just 1)
Definition: SCTRawHitValidation_v1.cxx:30
xAOD::SCTRawHitValidation_v1::setWord
void setWord(uint32_t new_word)
set data word of this RDO
Definition: SCTRawHitValidation_v1.cxx:21
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::SCTRawHitValidation_v1::getErrors
int getErrors() const
return bitmask representing hit errors
Definition: SCTRawHitValidation_v1.cxx:45
xAOD::SCTRawHitValidation_v1::getWord
uint32_t getWord() const
access data word of this RDO and properties encoded therein
Definition: SCTRawHitValidation_v1.cxx:25
xAOD::SCTRawHitValidation_v1
Class describing an SCT Raw Data Object (RDO).
Definition: SCTRawHitValidation_v1.h:22
xAOD::SCTRawHitValidation_v1::getStrip
int getStrip() const
return ID of (first) strip
Definition: SCTRawHitValidation_v1.cxx:35
xAOD::SCTRawHitValidation_v1::OnTime
bool OnTime() const
check if the time bin corresponding to the present BC is on
Definition: SCTRawHitValidation_v1.cxx:50
xAOD::SCTRawHitValidation_v1::setBec
void setBec(int new_bec)
set bec of this RDO
xAOD::uint64_t
uint64_t
Definition: EventInfo_v1.cxx:123
xAOD::SCTRawHitValidation_v1::setIdentifier
void setIdentifier(uint64_t new_identifier)
set identifier of this RDO
xAOD::SCTRawHitValidation_v1::SecondHitError
bool SecondHitError() const
check if there is an error in the second hit's data
Definition: SCTRawHitValidation_v1.cxx:60
xAOD::SCTRawHitValidation_v1::bec
int bec() const
get bec of this RDO
xAOD::SCTRawHitValidation_v1::eta_module
int eta_module() const
get eta_module of this RDO
xAOD::SCTRawHitValidation_v1::setSide
void setSide(int new_side)
set side of this RDO
xAOD::SCTRawHitValidation_v1::identifier
uint64_t identifier() const
return identifier of this RDO
xAOD::SCTRawHitValidation_v1::FirstHitError
bool FirstHitError() const
check if there is an error in the first hit's data
Definition: SCTRawHitValidation_v1.cxx:55
xAOD::SCTRawHitValidation_v1::side
int side() const
get side of this RDO
xAOD::SCTRawHitValidation_v1::getTimeBin
int getTimeBin() const
Decode time bin information for the 3 consecutive bunch crossings.
Definition: SCTRawHitValidation_v1.cxx:40
xAOD::SCTRawHitValidation_v1::setLayer
void setLayer(int new_layer)
set layer of this RDO
AuxElement.h
Base class for elements of a container that can have aux data.
xAOD::SCTRawHitValidation_v1::layer
int layer() const
get layer of this RDO