CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1TTwinMuxAlgorithm.cc
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
3 // Class: L1TTwinMuxAlgortithm
4 //
5 // L1TTwinMuxAlgortithm
6 //
7 //
8 // Author :
9 // G. Flouris U Ioannina Oct. 2015
10 //--------------------------------------------------
15 
18 
22 
23 #include <iostream>
24 #include <iomanip>
25 
26 using namespace std;
27 
29 public:
32 
33  inline std::auto_ptr<L1MuDTChambPhContainer> produce( edm::Handle<L1MuDTChambPhContainer> phiDigis,
36  const edm::EventSetup& c);
37 
38 };
39 
41 
42 }
43 
44 
45 inline std::auto_ptr<L1MuDTChambPhContainer> L1TTwinMuxAlgortithm::produce(
49  const edm::EventSetup& c) {
50 
51 
53  L1TMuonTPPproducer(phiDigis,thetaDigis,rpcDigis,l1tmtpp,c);
54 
55  std::shared_ptr<MBLTContainer> mblt = MBLTProducer(l1tmtpp);
56  std::unique_ptr<L1ITMuonBarrelPrimitiveProducer> lmbpp ( new L1ITMuonBarrelPrimitiveProducer(mblt));
57  std::auto_ptr<L1MuDTChambPhContainer> l1ttma = lmbpp->produce(c);
58 
59  delete l1tmtpp;
60 
61  return l1ttma;
62 
63 }
64 
65 
66 
67 
std::auto_ptr< L1MuDTChambPhContainer > produce(edm::Handle< L1MuDTChambPhContainer > phiDigis, edm::Handle< L1MuDTChambThContainer > thetaDigis, edm::Handle< RPCDigiCollection > rpcDigis, const edm::EventSetup &c)
std::vector< TriggerPrimitive > TriggerPrimitiveCollection
std::shared_ptr< MBLTContainer > MBLTProducer(TriggerPrimitiveCollection *tps)
Definition: MBLTProducer.cc:21
void L1TMuonTPPproducer(edm::Handle< L1MuDTChambPhContainer > phiDigis, edm::Handle< L1MuDTChambThContainer > thetaDigis, edm::Handle< RPCDigiCollection > rpcDigis, TriggerPrimitiveCollection *master_out, const edm::EventSetup &es)