1 #ifndef __EmulatorClasses_
2 #define __EmulatorClasses_
7 using namespace L1TMuon;
10 typedef std::vector<std::vector<int>>
Code;
11 typedef std::vector<std::vector<std::vector<int>>>
BXHold;
22 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){
25 _wire = wire;_strip = strip;_zhit = -999;_bx =
BX;
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;
56 int Phi(){
return _ph;};
61 int Sub(){
return _sub;};
62 int Id(){
return _id;};
68 int BX(){
return _bx;};
75 int _ph,_th,_phit,_phzvl,_sta,_sub,_id,_qual,_patt,_wire,_strip,_zhit,_bx;
83 std::vector<PhiMemoryImage>
zone;
99 std::vector<ConvertedHit>
hits;
141 void SetHits(std::vector<ConvertedHit> hits){_hits = hits;};
142 void SetWinners(std::vector<std::vector<Winner>> winners){_winners = winners;};
143 void SetValues(std::vector<std::vector<Winner>> winners, std::vector<ConvertedHit> hits){_winners = winners;_hits = hits;};
145 std::vector<ConvertedHit>
Hits(){
return _hits;};
146 std::vector<std::vector<Winner>>
Winners(){
return _winners;};
151 std::vector<ConvertedHit> _hits;
157 typedef std::vector<std::vector<std::vector<std::vector<ConvertedHit>>>>
ThOutput;
158 typedef std::vector<std::vector<std::vector<ConvertedHit>>>
PhOutput;
163 void SetHits(std::vector<ConvertedHit> hits){_hits = hits;};
164 void SetWinners(std::vector<std::vector<Winner>> winners){_winners = winners;};
167 void SetSegment(std::vector<int> segment){_segment = segment;};
168 void SetValues(
ThOutput th_output,
PhOutput ph_output,std::vector<ConvertedHit> hits,std::vector<std::vector<Winner>> winners,std::vector<int> segment){
170 _th_output = th_output;
171 _ph_output = ph_output;
179 std::vector<ConvertedHit>
Hits(){
return _hits;};
180 std::vector<std::vector<Winner>>
Winners(){
return _winners;};
188 std::vector<ConvertedHit> _hits;
204 _Mout = Mout;_Deltas =
Deltas;_Phi =
Phi; _Theta = Theta;_winner = winner;
208 std::vector<std::vector<int>>
Deltas(){
return _Deltas;};
DeltaOutput Deltas(MatchingOutput Mout, int zone, int winner)
MatchingOutput GetMatchOut()
void SetPhOut(PhOutput ph_output)
std::vector< std::vector< Winner > > Winners()
std::vector< std::vector< int > > Code
void SetZoneContribution(std::vector< int > zonecontribution)
Geom::Theta< T > theta() const
void SetSegment(std::vector< int > segment)
std::vector< int > _zonecont
std::vector< ConvertedHit > Hits()
std::vector< std::vector< Winner > > Winners()
std::vector< std::vector< int > > deltas
void SetValues(ThOutput th_output, PhOutput ph_output, std::vector< ConvertedHit > hits, std::vector< std::vector< Winner >> winners, std::vector< int > segment)
void SetValues(std::vector< std::vector< Winner >> winners, std::vector< ConvertedHit > hits)
std::vector< PhiMemoryImage > zone
std::vector< std::vector< std::vector< int > > > BXHold
std::vector< ConvertedHit > convertedhits
std::vector< ConvertedHit > AHits
std::vector< std::vector< std::vector< std::vector< ConvertedHit > > > > ThOutput
std::vector< std::vector< int > > _Deltas
std::vector< int > _segment
void SetValues(MatchingOutput Mout, std::vector< std::vector< int >> Deltas, int Phi, int Theta, Winner winner)
void SetHits(std::vector< ConvertedHit > hits)
void SetWinners(std::vector< std::vector< Winner >> winners)
std::vector< std::vector< Winner > > _winners
std::vector< int > ZoneContribution()
std::vector< int > Segment()
Geom::Phi< T > phi() const
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)
std::vector< std::vector< int > > Deltas()
void SetWinners(std::vector< std::vector< Winner >> winners)
std::vector< std::vector< std::vector< ConvertedHit > > > PhOutput
void SetHits(std::vector< ConvertedHit > hits)
void SetThOut(ThOutput th_output)
std::vector< ConvertedHit > Hits()
void SetTP(TriggerPrimitive tp)
std::vector< ConvertedHit > hits
std::vector< std::vector< Winner > > _winners
void SetValues(int rank, int strip)
std::vector< std::vector< PhiMemoryImage > > ImageCollector