1 #ifndef DataFormats_Alignment_TkLasBeam_h
2 #define DataFormats_Alignment_TkLasBeam_h
26 const std::vector<SiStripLaserRecHit2D>&
getData(
void)
const {
return data; }
29 std::vector<SiStripLaserRecHit2D>::const_iterator
begin(
void)
const {
return data.begin(); }
32 std::vector<SiStripLaserRecHit2D>::const_iterator
end(
void)
const {
return data.end(); }
51 std::vector<SiStripLaserRecHit2D>
data;
std::vector< SiStripLaserRecHit2D > data
bool isRing6(void) const
true if this beam hits TEC R6 (last digit of beamId)
bool isTecInternal(int side=0) const
true if this is a TEC internal beam (from 10^2 digit of beamId). side parameter: -1 = ask if TEC-...
unsigned int getBeamNumber(void) const
returns the beam number (10^1 digit of beamId)
void push_back(const SiStripLaserRecHit2D &aHit)
insert a hit in the data vector
unsigned int getBeamId(void) const
return the full beam identifier
std::vector< SiStripLaserRecHit2D >::const_iterator end(void) const
access iterator to the collection of hits
std::vector< SiStripLaserRecHit2D >::const_iterator begin(void) const
access iterator to the collection of hits
TkLasBeam(unsigned int aBeamId)
const std::vector< SiStripLaserRecHit2D > & getData(void) const
access the collection of hits
std::vector< SiStripLaserRecHit2D >::const_iterator const_iterator
bool isAlignmentTube(void) const
true if this is an AT beam (from 10^2 digit of beamId)