Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:21:11

0001 #ifndef __L1Analysis_L1AnalysisCSCTF_H__
0002 #define __L1Analysis_L1AnalysisCSCTF_H__
0003 
0004 //-------------------------------------------------------------------------------
0005 // Created 08/03/2010 - A.-C. Le Bihan
0006 //
0007 //x
0008 // Original code : L1Trigger/L1TNtuples/L1NtupleProducer -  Gian Piero Di Giovanni
0009 //-------------------------------------------------------------------------------
0010 
0011 #include "DataFormats/Common/interface/Handle.h"
0012 
0013 #include "DataFormats/CSCDigi/interface/CSCCorrelatedLCTDigiCollection.h"
0014 #include "DataFormats/L1CSCTrackFinder/interface/L1CSCTrackCollection.h"
0015 #include "DataFormats/L1CSCTrackFinder/interface/L1CSCStatusDigiCollection.h"
0016 #include "DataFormats/L1CSCTrackFinder/interface/CSCTriggerContainer.h"
0017 #include "DataFormats/L1CSCTrackFinder/interface/TrackStub.h"
0018 #include "L1Trigger/CSCTrackFinder/interface/CSCTFPtLUT.h"
0019 
0020 #include "L1Trigger/CSCTrackFinder/interface/CSCSectorReceiverLUT.h"
0021 #include "L1Trigger/CSCTrackFinder/interface/CSCTFPtLUT.h"
0022 #include "CondFormats/L1TObjects/interface/L1MuTriggerScales.h"
0023 #include "CondFormats/L1TObjects/interface/L1MuTriggerPtScale.h"
0024 
0025 #include "L1AnalysisCSCTFDataFormat.h"
0026 #include <TMath.h>
0027 
0028 namespace L1Analysis {
0029   class L1AnalysisCSCTF {
0030   public:
0031     L1AnalysisCSCTF();
0032     ~L1AnalysisCSCTF();
0033 
0034     void SetTracks(const edm::Handle<L1CSCTrackCollection> csctfTrks,
0035                    const L1MuTriggerScales* ts,
0036                    const L1MuTriggerPtScale* tpts,
0037                    CSCSectorReceiverLUT* srLUTs_[5][2],
0038                    CSCTFPtLUT* ptLUTs_);
0039     void SetStatus(const edm::Handle<L1CSCStatusDigiCollection> status);
0040     void SetLCTs(const edm::Handle<CSCCorrelatedLCTDigiCollection> corrlcts, CSCSectorReceiverLUT* srLUTs_[5][2]);
0041     void SetDTStubs(const edm::Handle<CSCTriggerContainer<csctf::TrackStub> > dtStubs);
0042     L1AnalysisCSCTFDataFormat* getData() { return &csctf_; }
0043     void Reset() { csctf_.Reset(); }
0044 
0045   private:
0046     L1AnalysisCSCTFDataFormat csctf_;
0047   };
0048 }  // namespace L1Analysis
0049 #endif