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.4 by zhangjin, Wed Mar 20 11:53:23 2013 UTC vs.
Revision 1.5 by zhangjin, Tue Jun 11 01:16:49 2013 UTC

# Line 53 | Line 53
53   #include "CalibMuon/CSCCalibration/interface/CSCConditions.h"
54   #include "CondFormats/CSCObjects/interface/CSCBadChambers.h"
55   #include "CondFormats/DataRecord/interface/CSCBadChambersRcd.h"
56 + //#include "CondFormats/CSCObjects/interface/CSCChannelTranslator.h"
57  
58   /*CSC-LCT*/
59   #include "DataFormats/CSCDigi/interface/CSCCorrelatedLCTDigi.h"
# Line 216 | Line 217 | class TPTrackMuonSys : public edm::EDAna
217    
218    void chamberCandidates(Int_t station, Float_t feta, Float_t phi, std::vector <int> &coupleOfChambers);
219    Int_t ringCandidate(Int_t station, Float_t feta, Float_t phi);
220 <  Short_t thisChamberCandidate(Short_t station, Short_t ring, Float_t phi);
220 >  UChar_t thisChamberCandidate(UChar_t station, UChar_t ring, Float_t phi);
221  
222    ///// Functions needed...
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  
227 <  vector<Float_t> GetEdgeAndDistToGap(reco::TrackRef trackRef, CSCDetId & detid);
227 >  inline vector<Float_t> GetEdgeAndDistToGap(reco::TrackRef trackRef, CSCDetId & detid);
228  
229    reco::MuonCollection::const_iterator matchTTwithMT(reco::TrackCollection::const_iterator &itrack);
230  
# Line 235 | Line 236 | class TPTrackMuonSys : public edm::EDAna
236                              std::vector<CSCRecHit2D> &recHitOut,
237                              std::vector<Int_t > &deltaRecHitX,
238                              std::vector<Int_t > &deltaRecHitY);
239 <  
239 <
239 >  /*  
240    bool matchTTwithRPCEChit(bool trackDir,
241                             Int_t j,
242                             reco::TrackRef trackRef,
243                             edm::Handle<RPCRecHitCollection> rpcRecHits,
244                             RPCRecHitCollection::const_iterator &rpcHitOut);
245 <
245 >  */
246    inline Float_t TrajectoryDistToSeg( TrajectoryStateOnSurface *TrajSuf, CSCSegmentCollection::const_iterator segIt);
247  
248    TrajectoryStateOnSurface* matchTTwithCSCSeg( reco::TrackRef trackRef, edm::Handle<CSCSegmentCollection> cscSegments,
# Line 251 | Line 251 | class TPTrackMuonSys : public edm::EDAna
251    Bool_t matchTTwithCSCSeg(Bool_t trackDir, Int_t j, reco::TrackRef trackRef, edm::Handle<CSCSegmentCollection> cscSegments,
252                             CSCSegmentCollection::const_iterator &cscSegOut );
253  
254 <
254 > /*
255    Bool_t matchCSCSegWithLCT(edm::Handle<CSCCorrelatedLCTDigiCollection> mpclcts,
256                              CSCDetId & idCSC,
257                              Int_t TT,
# Line 266 | Line 266 | class TPTrackMuonSys : public edm::EDAna
266                              Float_t *delHStrp,
267                              Float_t *delWkey
268                              );
269 <
270 <  LocalPoint * matchTTwithLCTs(Float_t xPos, Float_t yPos, Short_t ec, Short_t st, Short_t &rg, Short_t cham,
269 > */
270 >  LocalPoint * matchTTwithLCTs(Float_t xPos, Float_t yPos, UChar_t ec, UChar_t st, UChar_t &rg, UChar_t cham,
271                                 edm::Handle<CSCCorrelatedLCTDigiCollection> mpclcts, Float_t &dRTrkLCT, Int_t &lctBX );
272  
273    Int_t getNLayerMatchedCSCSeg(CSCSegmentCollection::const_iterator &cscSegMatch,
# Line 283 | Line 283 | class TPTrackMuonSys : public edm::EDAna
283    edm::Handle<reco::MuonCollection> muons;
284    edm::ESHandle<MagneticField> theBField;
285    //edm::ESHandle<GlobalTrackingGeometry> theTrackingGeometry;
286 +  /*
287    // DT Geometry
288 <  //edm::ESHandle<DTGeometry> dtGeom;
288 >  edm::ESHandle<DTGeometry> dtGeom;
289 >  //RPC Geometry
290    edm::ESHandle<RPCGeometry> rpcGeo;
291 +  */
292    // CSC Geometry
293    edm::ESHandle<CSCGeometry> cscGeom;
294  
# Line 371 | Line 374 | class TPTrackMuonSys : public edm::EDAna
374    Float_t tracks_qoverpError, tracks_ptError, tracks_thetaError, tracks_lambdaError;
375    Float_t tracks_etaError, tracks_phiError, tracks_dxyError, tracks_d0Error , tracks_dszError;
376    Float_t tracks_dzError;
377 <  Bool_t tracks_isCaloMuTrk,tracks_isTrackerMuTrk,trackVeto;
377 >  Bool_t tracks_isCaloMuTrk,tracks_isTrackerMuTrk,trackVeto_strict,trackVeto_isClosestToLCT;
378  
379 <  Int_t nPosTrk, nNegTrk, nTotalTrks;
380 <  ///
379 >  Int_t nTotalTrks;//nPosTrk, nNegTrk
380 >  
381    Int_t myRegion;// 1-DT, 2-DT&CSC 3-CSC;
382  
383    Int_t mpc_endcap, mpc_ring, mpc_station, mpc_chamber;
# Line 414 | Line 417 | class TPTrackMuonSys : public edm::EDAna
417    Int_t nTrkCountCSCSeg;
418    /*CSC Chamber Candidates in each station*/
419    Bool_t CSCEndCapPlus;
420 <  Short_t CSCRg[4],CSCChCand[4];
420 >  UChar_t CSCRg[4],CSCChCand[4];
421    Bool_t CSCChBad[4];
422    
423    /*Extrapolated Tracks on CSC Chamber Candidates in each station*/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines