File indexing completed on 2024-04-06 12:19:34
0001
0002 #ifndef jhugon_TFTrack_h
0003 #define jhugon_TFTrack_h
0004
0005 #include <vector>
0006 #include <string>
0007
0008 #include <FWCore/Framework/interface/EventSetup.h>
0009
0010 #include <L1Trigger/CSCTrackFinder/interface/CSCTrackFinderDataTypes.h>
0011
0012 #include "DataFormats/L1CSCTrackFinder/interface/TrackStub.h"
0013 #include <DataFormats/L1GlobalMuonTrigger/interface/L1MuGMTExtendedCand.h>
0014 #include <DataFormats/MuonDetId/interface/CSCDetId.h>
0015 #include <DataFormats/L1GlobalMuonTrigger/interface/L1MuRegionalCand.h>
0016 #include <DataFormats/L1CSCTrackFinder/interface/L1CSCTrackCollection.h>
0017
0018 #include <L1Trigger/CSCTrackFinder/test/src/Track.h>
0019
0020 namespace csctf_analysis
0021 {
0022 class TFTrack : public Track
0023 {
0024 public:
0025 TFTrack();
0026 TFTrack(const L1MuRegionalCand& track);
0027 TFTrack(const L1CSCTrack& track, const edm::EventSetup& iSetup );
0028 TFTrack(L1MuGMTExtendedCand track);
0029
0030 void print();
0031 double getPt() const {return Pt;};
0032 double getPhi() const {return Phi;};
0033 double getEta() const {return Eta;};
0034 double getTFPt() const {return Pt;};
0035 double getRank() const {return Rank;};
0036 int getMode() const {return Mode;};
0037 int getPtPacked() const {return PtPacked;};
0038 int getEtaPacked() const {return EtaPacked;};
0039 int getPhiPacked() const {return PhiPacked;};
0040 int getChargePacked() const {return ChargePacked;};
0041 int getFR() const {return FR;};
0042 int getBX() const {return Bx;};
0043 int getLUTAddress() const {return LUTAddress;}
0044 int getEndcap() const {if(isEndcap1==true){return 1;} else{return 2;}}
0045
0046 private:
0047 float Pt;
0048 double Phi;
0049 double Eta;
0050 int PtPacked;
0051 int EtaPacked;
0052 int PhiPacked;
0053 int ChargePacked;
0054 int Bx;
0055 int Charge;
0056 int Halo;
0057 int Mode;
0058 int Rank;
0059 int FR;
0060 int LUTAddress;
0061 bool isEndcap1;
0062 };
0063 }
0064 #endif