Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:20:54

0001 #ifndef L1TMuonEndCap_AngleCalculation_h
0002 #define L1TMuonEndCap_AngleCalculation_h
0003 
0004 #include "L1Trigger/L1TMuonEndCap/interface/Common.h"
0005 
0006 class AngleCalculation {
0007 public:
0008   void configure(int verbose,
0009                  int endcap,
0010                  int sector,
0011                  int bx,
0012                  int bxWindow,
0013                  int thetaWindow,
0014                  int thetaWindowZone0,
0015                  bool bugME11Dupes,
0016                  bool bugAmbigThetaWin,
0017                  bool twoStationSameBX);
0018 
0019   void process(emtf::zone_array<EMTFTrackCollection>& zone_tracks) const;
0020 
0021   void calculate_angles(EMTFTrack& track, const int izone) const;
0022 
0023   void calculate_bx(EMTFTrack& track) const;
0024 
0025   void erase_tracks(EMTFTrackCollection& tracks) const;
0026 
0027 private:
0028   int verbose_, endcap_, sector_, bx_;
0029 
0030   int bxWindow_;
0031   int thetaWindow_, thetaWindowZone0_;
0032   bool bugME11Dupes_, bugAmbigThetaWin_, twoStationSameBX_;
0033 };
0034 
0035 #endif