Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:00:00

0001 #ifndef BMTFCollections_h
0002 #define BMTFCollections_h
0003 
0004 #include "DataFormats/L1TMuon/interface/RegionalMuonCand.h"
0005 #include "EventFilter/L1TRawToDigi/interface/UnpackerCollections.h"
0006 #include "DataFormats/L1DTTrackFinder/interface/L1MuDTChambPhContainer.h"
0007 #include "DataFormats/L1DTTrackFinder/interface/L1MuDTChambThContainer.h"
0008 //#include "L1TObjectCollections.h"
0009 
0010 namespace l1t {
0011   namespace stage2 {
0012     class BMTFCollections : public UnpackerCollections {
0013     public:
0014       BMTFCollections(edm::Event& e)
0015           : UnpackerCollections(e),
0016             outputMuons_(new RegionalMuonCandBxCollection()),
0017             outputMuons2_(new RegionalMuonCandBxCollection()),
0018             inputMuonsPh_(new L1MuDTChambPhContainer),
0019             inputMuonsTh_(new L1MuDTChambThContainer){};
0020 
0021       ~BMTFCollections() override;
0022 
0023       inline RegionalMuonCandBxCollection* getBMTFMuons() { return outputMuons_.get(); };
0024       inline RegionalMuonCandBxCollection* getBMTF2Muons() { return outputMuons2_.get(); };
0025       inline L1MuDTChambPhContainer* getInMuonsPh() { return inputMuonsPh_.get(); };
0026       inline L1MuDTChambThContainer* getInMuonsTh() { return inputMuonsTh_.get(); };
0027 
0028     private:
0029       std::unique_ptr<RegionalMuonCandBxCollection> outputMuons_;
0030       std::unique_ptr<RegionalMuonCandBxCollection> outputMuons2_;
0031       std::unique_ptr<L1MuDTChambPhContainer> inputMuonsPh_;
0032       std::unique_ptr<L1MuDTChambThContainer> inputMuonsTh_;
0033     };
0034   }  // namespace stage2
0035 }  // namespace l1t
0036 
0037 #endif