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

int BX ()
 
 ConvertedHit ()
 
int Id ()
 
int Pattern ()
 
int Ph_hit ()
 
int Phi ()
 
int Phzvl ()
 
int Quality ()
 
void SetId (int id)
 
void SetNull ()
 
void SetStrip (int strip)
 
void SetTheta (int theta)
 
void SetTP (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 SetZoneContribution (std::vector< int > zonecontribution)
 
int Station ()
 
int Strip ()
 
int Sub ()
 
int Theta ()
 
TriggerPrimitive TP ()
 
int Wire ()
 
int Zhit ()
 
std::vector< int > ZoneContribution ()
 

Private Attributes

int _bx
 
int _id
 
int _patt
 
int _ph
 
int _phit
 
int _phzvl
 
int _qual
 
int _sta
 
int _strip
 
int _sub
 
int _th
 
TriggerPrimitive _tp
 
int _wire
 
int _zhit
 
std::vector< int > _zonecont
 

Detailed Description

Definition at line 16 of file EmulatorClasses.h.

Constructor & Destructor Documentation

ConvertedHit::ConvertedHit ( )
inline

Definition at line 20 of file EmulatorClasses.h.

20 { SetNull();}

Member Function Documentation

int ConvertedHit::BX ( )
inline

Definition at line 68 of file EmulatorClasses.h.

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

Definition at line 62 of file EmulatorClasses.h.

62 {return _id;};
int ConvertedHit::Pattern ( )
inline

Definition at line 64 of file EmulatorClasses.h.

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

Definition at line 58 of file EmulatorClasses.h.

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

Definition at line 56 of file EmulatorClasses.h.

Referenced by PrimConv().

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

Definition at line 59 of file EmulatorClasses.h.

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

Definition at line 63 of file EmulatorClasses.h.

63 {return _qual;};
void ConvertedHit::SetId ( int  id)
inline

Definition at line 36 of file EmulatorClasses.h.

36  {
37 
38  _id = id;
39  };
void ConvertedHit::SetNull ( )
inline

Definition at line 29 of file EmulatorClasses.h.

Referenced by PhiMatching().

29  {
30 
31  _ph = -999;_th = -999;_phit = -999;_phzvl = -999;_sta = -999;_sub = -999;_id = -999;_qual = -999;_patt = 0;
32  _wire = -999;_strip = -999;_zhit = -999;
33  };
void ConvertedHit::SetStrip ( int  strip)
inline

Definition at line 42 of file EmulatorClasses.h.

42  {
43 
44  _strip = strip;
45  };
void ConvertedHit::SetTheta ( int  theta)
inline

Definition at line 49 of file EmulatorClasses.h.

References theta().

49 {_th = theta;};
Geom::Theta< T > theta() const
void ConvertedHit::SetTP ( TriggerPrimitive  tp)
inline

Definition at line 51 of file EmulatorClasses.h.

Referenced by PrimConv().

51 {_tp = tp;};
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 22 of file EmulatorClasses.h.

References rpcdqm::BX, listBenchmarks::pattern, HLT_FULL_cff::quality, relativeConstraints::station, and theta().

Referenced by PrimConv().

22  {
23 
24  _ph = phi;_th = theta;_phit = ph_hit;_phzvl = phzvl;_sta = station;_sub = sub;_id = id;_qual = quality;_patt = pattern;
25  _wire = wire;_strip = strip;_zhit = -999;_bx = BX;
26 
27  };
Geom::Theta< T > theta() const
void ConvertedHit::SetZhit ( int  zhit)
inline

Definition at line 47 of file EmulatorClasses.h.

Referenced by PrimConv().

47 {_zhit = zhit;};
void ConvertedHit::SetZoneContribution ( std::vector< int >  zonecontribution)
inline

Definition at line 53 of file EmulatorClasses.h.

Referenced by PrimConv().

53 {_zonecont = zonecontribution;};
std::vector< int > _zonecont
int ConvertedHit::Station ( )
inline

Definition at line 60 of file EmulatorClasses.h.

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

Definition at line 66 of file EmulatorClasses.h.

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

Definition at line 61 of file EmulatorClasses.h.

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

Definition at line 57 of file EmulatorClasses.h.

Referenced by PrimConv().

57 {return _th;};
TriggerPrimitive ConvertedHit::TP ( )
inline

Definition at line 69 of file EmulatorClasses.h.

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

Definition at line 65 of file EmulatorClasses.h.

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

Definition at line 67 of file EmulatorClasses.h.

67 {return _zhit;};
std::vector<int> ConvertedHit::ZoneContribution ( )
inline

Definition at line 70 of file EmulatorClasses.h.

70 {return _zonecont;};
std::vector< int > _zonecont

Member Data Documentation

int ConvertedHit::_bx
private

Definition at line 70 of file EmulatorClasses.h.

int ConvertedHit::_id
private

Definition at line 70 of file EmulatorClasses.h.

int ConvertedHit::_patt
private

Definition at line 70 of file EmulatorClasses.h.

int ConvertedHit::_ph
private

Definition at line 70 of file EmulatorClasses.h.

int ConvertedHit::_phit
private

Definition at line 70 of file EmulatorClasses.h.

int ConvertedHit::_phzvl
private

Definition at line 70 of file EmulatorClasses.h.

int ConvertedHit::_qual
private

Definition at line 70 of file EmulatorClasses.h.

int ConvertedHit::_sta
private

Definition at line 70 of file EmulatorClasses.h.

int ConvertedHit::_strip
private

Definition at line 70 of file EmulatorClasses.h.

int ConvertedHit::_sub
private

Definition at line 70 of file EmulatorClasses.h.

int ConvertedHit::_th
private

Definition at line 70 of file EmulatorClasses.h.

TriggerPrimitive ConvertedHit::_tp
private

Definition at line 76 of file EmulatorClasses.h.

int ConvertedHit::_wire
private

Definition at line 70 of file EmulatorClasses.h.

int ConvertedHit::_zhit
private

Definition at line 70 of file EmulatorClasses.h.

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

Definition at line 77 of file EmulatorClasses.h.