Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:19:34

0001 
0002 #ifndef jhugon_Track_h
0003 #define jhugon_Track_h
0004 // system include files
0005 #include <vector>
0006 #include <string>
0007 
0008 #include "L1Trigger/CSCTrackFinder/test/src/TrackHistogramList.h"
0009 
0010 namespace csctf_analysis
0011 {
0012   class Track
0013   {
0014     public:
0015     Track();
0016     virtual ~Track();
0017     Track(const Track& track);
0018         virtual void print() {};
0019     virtual void matchedTo(int i, double newR);
0020         virtual void unMatch();
0021     virtual void setHistList(TrackHistogramList* histolist)
0022         {
0023             histlist=histolist;
0024         };
0025     virtual void fillHist();
0026     virtual void fillMatchHist();
0027     //virtual void ghostMatchedTo(int i, double newR);
0028     virtual bool getGhost() const {return ghost;};
0029     virtual void loseBestGhostCand(std::string param);
0030     virtual std::vector<unsigned int>* ghostMatchedIndecies()const
0031         {
0032             return ghostMatchedToIndex;
0033         };
0034     virtual void fillGhostHist();
0035     virtual double getPt() const {return 0;};
0036     virtual double getPhi() const {return 0;};
0037     virtual double getEta() const {return 0;};
0038     virtual int getQuality() const {return Quality;};
0039     virtual double getP() const {return 0;};
0040     virtual double getPz() const {return 0;};
0041     virtual double getRadius() const {return 0;};
0042     virtual bool getMatched() const {return matched;};
0043     virtual bool getMatchedIndex() const {return matchedIndex;};
0044     virtual double getR() const {return R;};
0045     virtual double getTFPt() const {return TFPt;};
0046     virtual void setTFPt(const double Pt)  {TFPt=Pt;};
0047     virtual void setQuality(const int Q) {Quality=Q;};
0048     virtual int getMode() const {return -1;};//Added by nathaniel
0049     virtual double getRank() const {return -1;};
0050     virtual int getPtPacked() const {return -1;};
0051     virtual int getEtaPacked() const {return -1;};
0052     virtual int getPhiPacked() const {return -1;};
0053     virtual int getChargePacked() const {return -1;};
0054     virtual int getFR() const {return -1;};
0055     virtual int getBX() const {return -1;};
0056     virtual int getLUTAddress() const {return -1;};
0057     virtual void fillSimvTFHist(const Track& simtrack, const Track& tftrack) const;
0058     virtual void fillRateHist();
0059 
0060     private:
0061     TrackHistogramList* histlist;
0062     protected:
0063     int matchedIndex;
0064     double R;
0065     bool matched;
0066     int Quality;
0067     double TFPt;
0068     bool ghost;
0069     std::vector<unsigned int>* ghostMatchedToIndex;
0070     std::vector<double>* ghostR;
0071     std::vector<double>* ghostQ;
0072   };
0073 }
0074 #endif