ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/CSCPriEff/interface/TPTrackMuonSys.h
(Generate patch)

Comparing UserCode/CSCPriEff/interface/TPTrackMuonSys.h (file contents):
Revision 1.1 by zhangjin, Thu Dec 20 00:53:09 2012 UTC vs.
Revision 1.2 by zhangjin, Tue Mar 5 09:09:41 2013 UTC

# Line 81 | Line 81
81   #include "DataFormats/TrackReco/interface/Track.h"  // reconstructed tracks that are stored in the AOD and RECO.
82   #include "DataFormats/TrackReco/interface/TrackFwd.h"
83   #include "DataFormats/TrackReco/interface/DeDxData.h"
84 <
84 > #include "PhysicsTools/IsolationAlgos/interface/IsoDepositExtractor.h"//isolation
85 > #include "PhysicsTools/IsolationAlgos/interface/IsoDepositExtractorFactory.h"
86   //Track-detector associator
87   #include "TrackingTools/TrackAssociator/interface/TrackDetectorAssociator.h"
88  
# Line 222 | Line 223 | class TPTrackMuonSys : public edm::EDAna
223    void getCSCSegWkeyHalfStrip(const std::vector<CSCRecHit2D> &theseRecHits, Float_t &cStrp, Float_t &ckWG);
224    
225    Float_t YDistToHVDeadZone(Float_t yLocal, Int_t StationAndRing);
226 <  
226 >
227 >  vector<Float_t> GetEdgeAndDistToGap(reco::TrackRef trackRef, CSCDetId & detid);
228 >
229    reco::MuonCollection::const_iterator matchTTwithMT(reco::TrackCollection::const_iterator &itrack);
230  
231    bool matchTTwithCSCRecHit(bool trackDir,
# Line 290 | Line 293 | class TPTrackMuonSys : public edm::EDAna
293    // Extrapolator to cylinder
294    edm::ESHandle<Propagator> propagatorAlong;
295    edm::ESHandle<Propagator> propagatorOpposite;
296 <
296 >  edm::ParameterSet trackExtractorPSet_;
297    // counters
298    Int_t nEventsAnalyzed;
299    Int_t treeCount;
# Line 371 | Line 374 | class TPTrackMuonSys : public edm::EDAna
374    Float_t tracks_eta, tracks_phi, tracks_dxy, tracks_d0, tracks_dsz, tracks_dz;
375    Float_t tracks_vx, tracks_vy, tracks_vz, tracks_ndof;
376    Float_t tracks_qoverp, tracks_lambda, tracks_quality;
377 +  Float_t tracks_IsoR03Ratio,tracks_IsoR05Ratio;//ratio of track pT
378    Float_t tracks_qoverpError, tracks_ptError, tracks_thetaError, tracks_lambdaError;
379    Float_t tracks_etaError, tracks_phiError, tracks_dxyError, tracks_d0Error , tracks_dszError;
380    Float_t tracks_dzError;
# Line 395 | Line 399 | class TPTrackMuonSys : public edm::EDAna
399    Float_t lctPhiDiff2, lctEtaDiff2, lctDelHStrp2, lctDelWkey2;
400  
401    Float_t MuTagPx, MuTagPy, MuTagPz, MuProbePx, MuProbePy, MuProbePz;
402 <  Int_t MuTagcharge, MuTagHitsMuSys, MuTagHitsTrkSys, MuTagHitsPixSys, MuTagHitsRPCSys;
402 >  Int_t MuTagHitsMuSys, MuTagHitsTrkSys;
403    Float_t MuTagE, MuProbeE;
404 <  Float_t MuTagPhiProj1, MuTagEtaProj1, MuTagPhiProj2, MuTagEtaProj2;
404 >  Float_t MuTagPhiProj1, MuTagEtaProj1, MuTagPhiProj2, MuTagEtaProj2;
405 >  Float_t MuTagIsoR03Ratio,MuTagIsoR05Ratio;//ratio of muon pT
406    Float_t MuTagtracktruth_pt, MuTagtracktruth_p, MuTagtracktruth_id;
407    Bool_t MuTagtracktruth_isPileup;
408    ULong64_t MuTagtracktruth_type;
# Line 407 | Line 412 | class TPTrackMuonSys : public edm::EDAna
412    //
413    Bool_t MuTagCaloL, MuTagCaloT, iSameVtx;
414  
415 <  Int_t mu_found, MuProbenHitsMuSys, MuProbenHitsTrkSys, MuProbenHitsPixSys, MuProbenHitsRPCSys;
415 >  Int_t mu_found, MuProbenHitsMuSys, MuProbenHitsTrkSys, MuProbenHitsPixSys;
416    Int_t MuTagPromt, MuTagnSegTrkArb, MuProbeCharge;
417    Float_t MuProbePt, MuProbeEta, MuProbePhi, MuTagPt, MuTagEta, MuTagPhi, invMass, deltaRTrkMu;      
418    Float_t vtx_r, vtx_z, vtx_rError, vtx_zError, vtx_normChi2;
# Line 420 | Line 425 | class TPTrackMuonSys : public edm::EDAna
425    Bool_t CSCChBad[4];
426    
427    /*Extrapolated Tracks on CSC Chamber Candidates in each station*/
428 <  Float_t CSCxProjLc[4],CSCyProjLc[4],CSCxErrProjLc[4],CSCyErrProjLc[4],CSCDyProjHVGap[4],CSCProjEdgeDist[4],CSCProjEdgeDistErr[4];
428 >  Float_t CSCDyProjHVGap[4],CSCDyErrProjHVGap[4],CSCProjEdgeDist[4],CSCProjEdgeDistErr[4];//note: there is no so-called extrapolated track position on CSC chambers, because you need to know which layer.
429    
430    /*Segments characteristics*/
431 <  Float_t CSCSegxLc[4],CSCSegyLc[4],CSCSegxErrLc[4],CSCSegyErrLc[4],CSCSegChisqProb[4];
431 >  Float_t CSCSegxLc[4],CSCSegyLc[4],CSCSegxErrLc[4],CSCSegyErrLc[4],CSCSegChisqProb[4],CSCdXdZTTSeg[4],CSCdYdZTTSeg[4];
432    Int_t CSCnSegHits[4];
433  
434    /*Distance from the Extrapolated Tracks to CSC Segments, 99999. for no CSC segment found*/
435 <  Float_t CSCDxyTTSeg[4],CSCDxTTSeg[4],CSCDyTTSeg[4],CSCDxyErrTTSeg[4],CSCdXdZTTSeg[4],CSCdYdZTTSeg[4];
435 >  Float_t CSCDxyTTSeg[4],CSCDxTTSeg[4],CSCDyTTSeg[4],CSCDxyErrTTSeg[4];
436  
437 <  /*Distance from the Extrapolated Tracks to LCT, 99999. for no LCT found*/
438 <  Float_t CSCLCTxLc[4],CSCLCTyLc[4],CSCDrTTLCT[4],CSCDrErrTTLCT[4];
437 >  /*LCT characteristics*/
438 >  Float_t CSCLCTxLc[4],CSCLCTyLc[4];
439    Int_t CSCLCTbx[4];
440  
441 +  /*Distance from the Extrapolated Tracks to LCT, 99999. for no LCT found*/
442 +  Float_t CSCDxyTTLCT[4],CSCDxTTLCT[4],CSCDyTTLCT[4],CSCDxyErrTTLCT[4];
443 +
444    /*DetlaR between the extrapolated tracker track on muon system and the tagged muon*/
445    Float_t dRTkMu[4];  
446    /*Default decision of whether a segment or LCT is found*/
447    Int_t segSt[4],lctSt[4];
440
441  Int_t errPos, chargeQ1, chargeQ2, chargeQ3;
442  Int_t mREndcap, mRStation, mRRing, mRChamber, rME11;
443  Int_t diffPattern;
444  Float_t mRCSCLCTDx, mRCSCLCTDy, mRCSCLCTDr, segDXDZ, segDYDZ;
445
448   };
449   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines