CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ConvertedHit Class Reference

#include <EmulatorClasses.h>

Public Member Functions

void AddTheta (int theta)
 
std::vector< int > AllThetas ()
 
int BX ()
 
int Id ()
 
int IsNeighbor ()
 
int Pattern ()
 
int Ph_hit ()
 
int Phi ()
 
int Phzvl ()
 
int Quality ()
 
int SectorIndex ()
 
void SetId (int id)
 
void SetNeighbor (int neighbor)
 
void SetNull ()
 
void SetSectorIndex (int sectorIndex)
 
void SetStrip (int strip)
 
void SetTheta (int theta)
 
void SetTheta2 (int theta2)
 
void SetTP (L1TMuon::TriggerPrimitive tp)
 
void SetValues (int phi, int theta, int ph_hit, int phzvl, int station, int sub, int id, int quality, int pattern, int wire, int strip, int BX)
 
void SetZhit (int zhit)
 
void SetZoneWord (int zword)
 
int Station ()
 
int Strip ()
 
int Sub ()
 
int Theta ()
 
int Theta2 ()
 
L1TMuon::TriggerPrimitive TP ()
 
int Wire ()
 
int Zhit ()
 
int ZoneWord ()
 

Private Attributes

int _bx
 
int _id
 
int _isNeighbor
 
int _patt
 
int _ph
 
int _phit
 
int _phzvl
 
int _qual
 
int _sectorIndex
 
int _sta
 
int _strip
 
int _sub
 
int _th
 
int _th2
 
std::vector< int > _thetas
 
L1TMuon::TriggerPrimitive _tp
 
int _wire
 
int _zhit
 
int _ZoneWord
 

Detailed Description

Definition at line 14 of file EmulatorClasses.h.

Member Function Documentation

void ConvertedHit::AddTheta ( int  theta)
inline

Definition at line 42 of file EmulatorClasses.h.

References _thetas.

Referenced by PrimitiveConverter::convert().

42 {_thetas.push_back(theta);};
std::vector< int > _thetas
Geom::Theta< T > theta() const
std::vector<int> ConvertedHit::AllThetas ( )
inline

Definition at line 62 of file EmulatorClasses.h.

References _thetas.

Referenced by Deltas().

62 {return _thetas;};
std::vector< int > _thetas
int ConvertedHit::BX ( )
inline

Definition at line 58 of file EmulatorClasses.h.

References _bx.

Referenced by PhiMatching(), and SetValues().

58 {return _bx;};
int ConvertedHit::Id ( )
inline

Definition at line 52 of file EmulatorClasses.h.

References _id.

Referenced by BestTracks(), and PhiMatching().

52 {return _id;};
int ConvertedHit::IsNeighbor ( )
inline

Definition at line 60 of file EmulatorClasses.h.

References _isNeighbor.

Referenced by PhiMatching().

60 {return _isNeighbor;};
int ConvertedHit::Pattern ( )
inline

Definition at line 54 of file EmulatorClasses.h.

References _patt.

Referenced by BestTracks().

54 {return _patt;};
int ConvertedHit::Ph_hit ( )
inline

Definition at line 48 of file EmulatorClasses.h.

References _phit.

48 {return _phit;};
int ConvertedHit::Phi ( )
inline

Definition at line 45 of file EmulatorClasses.h.

References _ph.

Referenced by BestTracks(), PrimitiveConverter::convert(), Deltas(), PhiMatching(), PrimConv(), and DeltaOutput::SetValues().

45 {return _ph;};
int ConvertedHit::Phzvl ( )
inline

Definition at line 49 of file EmulatorClasses.h.

References _phzvl.

49 {return _phzvl;};
int ConvertedHit::Quality ( )
inline

Definition at line 53 of file EmulatorClasses.h.

References _qual.

53 {return _qual;};
int ConvertedHit::SectorIndex ( )
inline

Definition at line 59 of file EmulatorClasses.h.

References _sectorIndex.

59 {return _sectorIndex;};
void ConvertedHit::SetId ( int  id)
inline

Definition at line 28 of file EmulatorClasses.h.

References _id, and hcalTTPDigis_cfi::id.

28  {
29  _id = id;
30  };
void ConvertedHit::SetNeighbor ( int  neighbor)
inline

Definition at line 41 of file EmulatorClasses.h.

References _isNeighbor, and neighbor().

Referenced by PrimitiveConverter::convert(), PrimitiveConverterRPC::fillConvHits(), and PrimConv().

bool neighbor(int endcap, int sector, int SectIndex, int id, int sub, int station)
void ConvertedHit::SetNull ( )
inline

Definition at line 23 of file EmulatorClasses.h.

References _id, _patt, _ph, _phit, _phzvl, _qual, _sta, _strip, _sub, _th, _th2, _wire, and _zhit.

Referenced by PhiMatching().

23  {
24  _ph = -999;_th = -999;_th2 = -999;_phit = -999;_phzvl = -999;_sta = -999;_sub = -999;_id = -999;_qual = -999;_patt = 0;
25  _wire = -999;_strip = -999;_zhit = -999;
26  };
void ConvertedHit::SetSectorIndex ( int  sectorIndex)
inline

Definition at line 40 of file EmulatorClasses.h.

References _sectorIndex.

Referenced by PrimitiveConverter::convert(), PrimitiveConverterRPC::fillConvHits(), and PrimConv().

40 {_sectorIndex = sectorIndex;};
void ConvertedHit::SetStrip ( int  strip)
inline

Definition at line 32 of file EmulatorClasses.h.

References _strip, and digi_MixPreMix_cfi::strip.

32  {
33  _strip = strip;
34  };
void ConvertedHit::SetTheta ( int  theta)
inline

Definition at line 37 of file EmulatorClasses.h.

References _th, and theta().

37 {_th = theta;};
Geom::Theta< T > theta() const
void ConvertedHit::SetTheta2 ( int  theta2)
inline

Definition at line 38 of file EmulatorClasses.h.

References _th2.

38 {_th2 = theta2;};
void ConvertedHit::SetTP ( L1TMuon::TriggerPrimitive  tp)
inline

Definition at line 39 of file EmulatorClasses.h.

References _tp.

Referenced by PrimitiveConverter::convert(), PrimitiveConverterRPC::fillConvHits(), and PrimConv().

39 {_tp = tp;};
L1TMuon::TriggerPrimitive _tp
void ConvertedHit::SetValues ( int  phi,
int  theta,
int  ph_hit,
int  phzvl,
int  station,
int  sub,
int  id,
int  quality,
int  pattern,
int  wire,
int  strip,
int  BX 
)
inline

Definition at line 18 of file EmulatorClasses.h.

References _bx, _id, _patt, _ph, _phit, _phzvl, _qual, _sta, _strip, _sub, _th, _th2, _wire, _zhit, BX(), hcalTTPDigis_cfi::id, listBenchmarks::pattern, phi, btvTracks_cfi::quality, relativeConstraints::station, digi_MixPreMix_cfi::strip, and theta().

Referenced by PrimitiveConverter::convert(), PrimitiveConverterRPC::fillConvHits(), and PrimConv().

void ConvertedHit::SetZhit ( int  zhit)
inline

Definition at line 36 of file EmulatorClasses.h.

References _zhit.

Referenced by PrimitiveConverter::convert(), PrimitiveConverterRPC::fillConvHits(), and PrimConv().

36 {_zhit = zhit;};
void ConvertedHit::SetZoneWord ( int  zword)
inline

Definition at line 43 of file EmulatorClasses.h.

References _ZoneWord.

Referenced by PrimitiveConverter::convert().

43 {_ZoneWord = zword;};
int ConvertedHit::Station ( )
inline

Definition at line 50 of file EmulatorClasses.h.

References _sta.

50 {return _sta;};
int ConvertedHit::Strip ( )
inline

Definition at line 56 of file EmulatorClasses.h.

References _strip.

56 {return _strip;};
int ConvertedHit::Sub ( )
inline

Definition at line 51 of file EmulatorClasses.h.

References _sub.

51 {return _sub;};
int ConvertedHit::Theta ( )
inline

Definition at line 46 of file EmulatorClasses.h.

References _th.

Referenced by BestTracks(), PrimitiveConverter::convert(), PrimConv(), and DeltaOutput::SetValues().

46 {return _th;};
int ConvertedHit::Theta2 ( )
inline

Definition at line 47 of file EmulatorClasses.h.

References _th2.

47 {return _th2;};
L1TMuon::TriggerPrimitive ConvertedHit::TP ( )
inline

Definition at line 61 of file EmulatorClasses.h.

References _tp.

61 {return _tp;};
L1TMuon::TriggerPrimitive _tp
int ConvertedHit::Wire ( )
inline

Definition at line 55 of file EmulatorClasses.h.

References _wire.

55 {return _wire;};
int ConvertedHit::Zhit ( )
inline

Definition at line 57 of file EmulatorClasses.h.

References _zhit.

57 {return _zhit;};
int ConvertedHit::ZoneWord ( )
inline

Definition at line 63 of file EmulatorClasses.h.

References _bx, _id, _isNeighbor, _patt, _ph, _phit, _phzvl, _qual, _sectorIndex, _sta, _strip, _sub, _th, _th2, _wire, _zhit, and _ZoneWord.

63 {return _ZoneWord;};

Member Data Documentation

int ConvertedHit::_bx
private

Definition at line 63 of file EmulatorClasses.h.

Referenced by BX(), SetValues(), and ZoneWord().

int ConvertedHit::_id
private

Definition at line 63 of file EmulatorClasses.h.

Referenced by Id(), SetId(), SetNull(), SetValues(), and ZoneWord().

int ConvertedHit::_isNeighbor
private

Definition at line 63 of file EmulatorClasses.h.

Referenced by IsNeighbor(), SetNeighbor(), and ZoneWord().

int ConvertedHit::_patt
private

Definition at line 63 of file EmulatorClasses.h.

Referenced by Pattern(), SetNull(), SetValues(), and ZoneWord().

int ConvertedHit::_ph
private

Definition at line 63 of file EmulatorClasses.h.

Referenced by Phi(), SetNull(), SetValues(), and ZoneWord().

int ConvertedHit::_phit
private

Definition at line 63 of file EmulatorClasses.h.

Referenced by Ph_hit(), SetNull(), SetValues(), and ZoneWord().

int ConvertedHit::_phzvl
private

Definition at line 63 of file EmulatorClasses.h.

Referenced by Phzvl(), SetNull(), SetValues(), and ZoneWord().

int ConvertedHit::_qual
private

Definition at line 63 of file EmulatorClasses.h.

Referenced by Quality(), SetNull(), SetValues(), and ZoneWord().

int ConvertedHit::_sectorIndex
private

Definition at line 63 of file EmulatorClasses.h.

Referenced by SectorIndex(), SetSectorIndex(), and ZoneWord().

int ConvertedHit::_sta
private

Definition at line 63 of file EmulatorClasses.h.

Referenced by SetNull(), SetValues(), Station(), and ZoneWord().

int ConvertedHit::_strip
private
int ConvertedHit::_sub
private

Definition at line 63 of file EmulatorClasses.h.

Referenced by SetNull(), SetValues(), Sub(), and ZoneWord().

int ConvertedHit::_th
private

Definition at line 63 of file EmulatorClasses.h.

Referenced by SetNull(), SetTheta(), SetValues(), Theta(), and ZoneWord().

int ConvertedHit::_th2
private

Definition at line 63 of file EmulatorClasses.h.

Referenced by SetNull(), SetTheta2(), SetValues(), Theta2(), and ZoneWord().

std::vector<int> ConvertedHit::_thetas
private

Definition at line 68 of file EmulatorClasses.h.

Referenced by AddTheta(), and AllThetas().

L1TMuon::TriggerPrimitive ConvertedHit::_tp
private

Definition at line 67 of file EmulatorClasses.h.

Referenced by SetTP(), and TP().

int ConvertedHit::_wire
private

Definition at line 63 of file EmulatorClasses.h.

Referenced by SetNull(), SetValues(), Wire(), and ZoneWord().

int ConvertedHit::_zhit
private

Definition at line 63 of file EmulatorClasses.h.

Referenced by SetNull(), SetValues(), SetZhit(), Zhit(), and ZoneWord().

int ConvertedHit::_ZoneWord
private

Definition at line 63 of file EmulatorClasses.h.

Referenced by SetZoneWord(), and ZoneWord().