CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 ()
 
std::vector< int > ZoneContribution ()
 
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
 
std::vector< int > _zonecont
 
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 63 of file EmulatorClasses.h.

References _thetas.

Referenced by Deltas().

63 {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(), and PrimConv().

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.

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.

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(), listBenchmarks::pattern, phi, HLT_25ns10e33_v2_cff::quality, relativeConstraints::station, 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(), and PrimConv().

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;};
std::vector<int> ConvertedHit::ZoneContribution ( )
inline

Definition at line 62 of file EmulatorClasses.h.

References _zonecont.

62 {return _zonecont;};
std::vector< int > _zonecont
int ConvertedHit::ZoneWord ( )
inline

Definition at line 64 of file EmulatorClasses.h.

References _ZoneWord.

64 {return _ZoneWord;};

Member Data Documentation

int ConvertedHit::_bx
private

Definition at line 64 of file EmulatorClasses.h.

Referenced by BX(), and SetValues().

int ConvertedHit::_id
private

Definition at line 64 of file EmulatorClasses.h.

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

int ConvertedHit::_isNeighbor
private

Definition at line 64 of file EmulatorClasses.h.

Referenced by IsNeighbor(), and SetNeighbor().

int ConvertedHit::_patt
private

Definition at line 64 of file EmulatorClasses.h.

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

int ConvertedHit::_ph
private

Definition at line 64 of file EmulatorClasses.h.

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

int ConvertedHit::_phit
private

Definition at line 64 of file EmulatorClasses.h.

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

int ConvertedHit::_phzvl
private

Definition at line 64 of file EmulatorClasses.h.

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

int ConvertedHit::_qual
private

Definition at line 64 of file EmulatorClasses.h.

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

int ConvertedHit::_sectorIndex
private

Definition at line 64 of file EmulatorClasses.h.

Referenced by SectorIndex(), and SetSectorIndex().

int ConvertedHit::_sta
private

Definition at line 64 of file EmulatorClasses.h.

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

int ConvertedHit::_strip
private

Definition at line 64 of file EmulatorClasses.h.

Referenced by SetNull(), SetStrip(), SetValues(), and Strip().

int ConvertedHit::_sub
private

Definition at line 64 of file EmulatorClasses.h.

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

int ConvertedHit::_th
private

Definition at line 64 of file EmulatorClasses.h.

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

int ConvertedHit::_th2
private

Definition at line 64 of file EmulatorClasses.h.

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

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

Definition at line 69 of file EmulatorClasses.h.

Referenced by AddTheta(), and AllThetas().

L1TMuon::TriggerPrimitive ConvertedHit::_tp
private

Definition at line 68 of file EmulatorClasses.h.

Referenced by SetTP(), and TP().

int ConvertedHit::_wire
private

Definition at line 64 of file EmulatorClasses.h.

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

int ConvertedHit::_zhit
private

Definition at line 64 of file EmulatorClasses.h.

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

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

Definition at line 69 of file EmulatorClasses.h.

Referenced by ZoneContribution().

int ConvertedHit::_ZoneWord
private

Definition at line 64 of file EmulatorClasses.h.

Referenced by SetZoneWord(), and ZoneWord().