Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

TMBL2Track.hpp

Go to the documentation of this file.
00001 #ifndef L2TRACK_H_
00002 #define L2TRACK_H_
00003 
00005 //
00006 //   Purpose: This is the header file that defines a class to help fill the 
00007 //            tuple correctly with L2 preprocessor tracks.  
00008 //
00009 //   Author: Yann Coadou
00010 //   Date:   19-Apr-2004
00011 //
00013 
00014 
00015 #include "TObject.h"
00016 #include <cmath>
00017 
00022 class TMBL2Track : public TObject {
00023 public:
00024   TMBL2Track(); //constructor
00025   TMBL2Track(const TMBL2Track&); //copy constructor
00026   
00027   ~TMBL2Track() {;} //destructor
00028   
00029   // setters
00030   void CTTiPhi0 (int x) {cttiphi0 = x;}
00031   void CTTiPhiEM3 (int x) {cttiphiem3 = x;}
00032   void CTTPt (float x) {cttpt = x;}
00033   void CTTSign (int x) {cttsign = x;}
00034   void CTTL2Iso (int x) {cttl2iso = x;}
00035   void CTTIso (int x) {cttiso = x;}
00036   void CTTPreshower (int x) {cttpreshower = x;}
00037   void STTiPhi (int x) {sttiphi = x;}
00038   void STTPt (float x) {sttpt = x;}
00039   void STTSign (int x) {sttsign = x;}
00040   void DEdx (int x) {dedx = x;}
00041   void Barrel (int x) {barrel = x;}
00042   void Chi2 (float x) {chi2 = x;}
00043   void FitStatus (int x) {fitstatus = x;}
00044   void TruncLayers (int x) {trunclayers = x;}
00045   void Topology (int x) {topology = x;}
00046   void SkippedLayer (int x) {skippedlayer = x;}
00047   void IPSig (int x) {ipsig = x;}
00048   void ImpParam (int x) {impparam = x;}
00049   void FinePhi (int x) {finephi = x;}
00050   void TwoPassFit(bool x) {twopassfit = x;}
00051 
00052   // accessors
00053   int CTTiPhi0() const {return cttiphi0;}
00054   int CTTiPhiEM3() const {return cttiphiem3;}
00055   float CTTPt() const {return cttpt;}
00056   float CTTPhi() const {return (0.5+cttiphi0)*M_PI/80.;}
00057   float CTTPhiEM3() const {return (0.5+cttiphiem3)*M_PI/80.;}
00058   int CTTSign() const {return cttsign;}
00059   int CTTL2Iso() const {return cttl2iso;}
00060   int CTTIso() const {return cttiso;}
00061   int CTTPreshower() const {return cttpreshower;}
00062   int STTiPhi() const {return sttiphi;}
00063   float STTPhi() const {return (0.5+sttiphi+finephi/16.)*M_PI/80.;}
00064   float STTPt() const {return sttpt;}
00065   int STTSign() const {return sttsign;}
00066   int DEdx() const {return dedx;}
00067   int Barrel() const {return barrel;}
00068   float Chi2() const {return chi2;}
00069   int FitStatus() const {return fitstatus;}
00070   int TruncLayers() const {return trunclayers;}
00071   int Topology() const {return topology;}
00072   int SkippedLayer() const {return skippedlayer;}
00073   int IPSig() const {return ipsig;}
00074   int ImpParam() const {return impparam;}
00075   int FinePhi() const {return finephi;}
00076   bool TwoPassFit() const {return twopassfit;}
00077 
00078 private:
00079   int cttiphi0;
00080   int cttiphiem3;
00081   float cttpt;
00082   int cttsign;
00083   int cttl2iso;
00084   int cttiso;
00085   int cttpreshower;
00086   int sttiphi;
00087   float sttpt;
00088   int sttsign;
00089   int dedx;
00090   int barrel;
00091   float chi2;
00092   int fitstatus;
00093   int trunclayers;
00094   int topology;
00095   int skippedlayer;
00096   int ipsig;
00097   int impparam;
00098   int finephi;
00099   bool twopassfit;
00100 
00101   ClassDef(TMBL2Track,2)
00102 
00103 }; //end of class TMBL2Track
00104 #endif // L2TRACK_H_

Generated on Tue Mar 28 10:13:05 2006 for CAF by doxygen 1.3.4