ATLAS Offline Software
StripData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef STRIPDATA_H
6 #define STRIPDATA_H
7 
8 
9 // local includes
10 #include <stdint.h>
11 #include <ostream>
12 
13 
14 class Identifier;
15 // namespace for the NSW LVL1 related classes
16 namespace NSWL1 {
17 
30  class StripData {
31 
32  public:
33  StripData();
34  virtual ~StripData();
35 
37  virtual uint32_t id() const = 0;
38  virtual Identifier Identity() const = 0;
39  virtual int trig_BCID() const = 0;
40  virtual float strip_charge() const = 0;
41  virtual int strip_charge_6bit() const = 0;
42  virtual int strip_charge_10bit() const = 0;
43  virtual int bandId() const = 0;
44  virtual void setBandId(int band_id)= 0;
45  virtual void setPhiId(int band_id)= 0;
46  virtual int phiId() const = 0;
47  virtual bool readStrip() const = 0;
48  virtual void set_readStrip(bool readStrip) = 0;
50  virtual int sectorType() const =0;
51  virtual int sideId() const = 0;
52  virtual int isSmall() const = 0;
53  virtual int moduleId() const = 0;
54  virtual int sectorId() const = 0;
55  virtual int wedge() const = 0;
56  virtual int layer() const = 0;
57  virtual int channelId() const = 0;
58 
59  virtual char type() const = 0;
60  virtual std::string stationName() const = 0;
61  // for checking BC
62  virtual float time() const = 0;
63  virtual float globX() const = 0;
65  virtual float globY() const = 0;
66  virtual float etaCenter() const =0; // in ATLAS global
67  virtual float globZ() const = 0;
68  virtual float locX() const = 0;
69  virtual float locY() const = 0;
70  virtual float locZ() const = 0;
71 
72 
73  }; // end of StripData class
74 
76 
78 
79 } // namespace NSWL1
80 
81 #endif
NSWL1::StripData::readStrip
virtual bool readStrip() const =0
NSWL1::StripData::id
virtual uint32_t id() const =0
methods for retrieving the bare data
NSWL1::StripData::trig_BCID
virtual int trig_BCID() const =0
get the trigger BCID
NSWL1::StripData::locX
virtual float locX() const =0
local X pos
NSWL1::StripData::sectorType
virtual int sectorType() const =0
helper methods decoding the hit fragment position within the NSW detector
NSWL1::StripData::sectorId
virtual int sectorId() const =0
get the sector (ranging from 0 to 15)
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
NSWL1::StripData::globY
virtual float globY() const =0
global Y pos
NSWL1::StripData::setPhiId
virtual void setPhiId(int band_id)=0
get the band id
NSWL1::StripData::wedge
virtual int wedge() const =0
get the multiplet (ranging from 0 to 1, 1 is at lowest |z|)
NSWL1::StripData::globX
virtual float globX() const =0
Use this for clustering.
NSWL1::StripData::moduleId
virtual int moduleId() const =0
get the physics module (ranging from 0 at lowest R to 3 at highest R)
NSWL1::StripData::time
virtual float time() const =0
global X pos
NSWL1::StripData::StripData
StripData()
Definition: StripData.h:75
NSWL1::StripData
abstract class to interface the data hit fragment output from the Strip TDS
Definition: StripData.h:30
NSWL1::StripData::channelId
virtual int channelId() const =0
get the channel
NSWL1::StripData::isSmall
virtual int isSmall() const =0
get the side (0==sideC, 1==sideA)
NSWL1::StripData::locZ
virtual float locZ() const =0
local Z pos
NSWL1::StripData::etaCenter
virtual float etaCenter() const =0
NSWL1::StripData::globZ
virtual float globZ() const =0
globzl Z pos
NSWL1::StripData::strip_charge_6bit
virtual int strip_charge_6bit() const =0
get the strip charge in 6 bit
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
NSWL1::StripData::strip_charge
virtual float strip_charge() const =0
get the strip charge
NSWL1::StripData::bandId
virtual int bandId() const =0
get the band id
NSWL1::StripData::Identity
virtual Identifier Identity() const =0
get the 32 bit word identifing the fragment
NSWL1::StripData::sideId
virtual int sideId() const =0
get the side (0==sideC, 1==sideA)
NSWL1::StripData::set_readStrip
virtual void set_readStrip(bool readStrip)=0
NSWL1::StripData::~StripData
virtual ~StripData()
Definition: StripData.h:77
NSWL1::StripData::layer
virtual int layer() const =0
get the gas gap (ranging from 0 to 3, 1 is at lowest |z|)
NSWL1::StripData::strip_charge_10bit
virtual int strip_charge_10bit() const =0
get the strip charge in 10 bit
NSWL1::StripData::type
virtual char type() const =0
NSWL1::StripData::locY
virtual float locY() const =0
local Y pos
NSWL1::StripData::stationName
virtual std::string stationName() const =0
NSWL1::StripData::phiId
virtual int phiId() const =0
get the phi id
NSWL1
A trigger trigger candidate for a stgc sector.
Definition: NSWL1Simulation.cxx:9
NSWL1::StripData::setBandId
virtual void setBandId(int band_id)=0
get the band id