CMS 3D CMS Logo

DataMixingMuonWorker.h
Go to the documentation of this file.
1 #ifndef SimDataMixingMuonWorker_h
2 #define SimDataMixingMuonWorker_h
3 
21 
24 
25 //DT
27 //RPC
29 //CSC
33 
34 #include <map>
35 #include <vector>
36 #include <string>
37 
38 
39 namespace edm
40 {
41  class ModuleCallingContext;
42 
44  {
45  public:
46 
48 
51 
53  virtual ~DataMixingMuonWorker();
54 
55  void putMuon(edm::Event &e) ;
56  void addMuonSignals(const edm::Event &e);
57  void addMuonPileups(const int bcr, const edm::EventPrincipal*,unsigned int EventId, ModuleCallingContext const*);
58 
59 
60  private:
61  // data specifiers
62 
63  edm::InputTag DTdigi_collectionSig_; // secondary name given to collection of DT digis
64  edm::InputTag RPCdigi_collectionSig_; // secondary name given to collection of RPC digis
65  edm::InputTag CSCDigiTagSig_; // primary? name given to collection of CSC digis
66  edm::InputTag DTDigiTagSig_; // primary? name given to collection of DT digis
67  edm::InputTag RPCDigiTagSig_; // primary? name given to collection of RPC digis
68  edm::InputTag CSCstripdigi_collectionSig_; // secondary name given to collection of CSC Strip digis
69  edm::InputTag CSCwiredigi_collectionSig_; // secondary name given to collection of CSC wire digis
70  edm::InputTag CSCCompdigi_collectionSig_; // secondary name given to collection of CSC wire digis
71 
72  edm::InputTag DTPileInputTag_ ; // InputTag for pileup DTs
73  edm::InputTag RPCPileInputTag_ ; // InputTag for pileup RPCs
74  edm::InputTag CSCWirePileInputTag_ ; // InputTag for pileup CSC Wires
75  edm::InputTag CSCStripPileInputTag_ ; // InputTag for pileup CSC Strips
76  edm::InputTag CSCCompPileInputTag_ ; // InputTag for pileup CSC Comparators
77 
78  edm::EDGetTokenT<DTDigiCollection> DTDigiToken_ ; // Token to retrieve information
80  edm::EDGetTokenT<CSCWireDigiCollection> CSCWireDigiToken_ ; // Token to retrieve information
82  edm::EDGetTokenT<RPCDigiCollection> RPCDigiToken_ ; // Token to retrieve information
83 
84  edm::EDGetTokenT<DTDigiCollection> DTDigiPToken_ ; // Token to retrieve information
86  edm::EDGetTokenT<CSCWireDigiCollection> CSCWireDigiPToken_ ; // Token to retrieve information
88  edm::EDGetTokenT<RPCDigiCollection> RPCDigiPToken_ ; // Token to retrieve information
89 
90  std::string DTDigiCollectionDM_; // secondary name to be given to new DT digis
91  std::string RPCDigiCollectionDM_; // secondary name to be given to new RPC digis
92  std::string CSCStripDigiCollectionDM_; // secondary name given to new collection of CSC Strip digis
93  std::string CSCWireDigiCollectionDM_; // secondary name given to new collection of CSC wire digis
94  std::string CSCComparatorDigiCollectionDM_; // secondary name given to new collection of CSC comparator digis
95 
96  // just hold our own DigiCollections - order of digis in layer doesn't appear to matter...
97  // will make a copy and put this back into the event...
98 
104 
105  // unsigned int eventId_; //=0 for signal, from 1-n for pileup events
106 
108 
109  };
110 }//edm
111 
112 #endif // SimDataMixingMuonWorker_h
void addMuonSignals(const edm::Event &e)
void addMuonPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *)
edm::InputTag CSCwiredigi_collectionSig_
edm::EDGetTokenT< RPCDigiCollection > RPCDigiPToken_
edm::EDGetTokenT< CSCStripDigiCollection > CSCStripDigiPToken_
CSCStripDigiCollection * OurCSCStripDigis_
DTDigiCollection * OurDTDigis_
edm::EDGetTokenT< DTDigiCollection > DTDigiPToken_
edm::EDGetTokenT< RPCDigiCollection > RPCDigiToken_
edm::EDGetTokenT< DTDigiCollection > DTDigiToken_
RPCDigiCollection * OurRPCDigis_
CSCWireDigiCollection * OurCSCWireDigis_
edm::EDGetTokenT< CSCStripDigiCollection > CSCStripDigiToken_
edm::EDGetTokenT< CSCComparatorDigiCollection > CSCCompDigiToken_
edm::EDGetTokenT< CSCWireDigiCollection > CSCWireDigiToken_
CSCComparatorDigiCollection * OurCSCComparatorDigis_
HLT enums.
edm::InputTag CSCCompdigi_collectionSig_
edm::EDGetTokenT< CSCComparatorDigiCollection > CSCCompDigiPToken_
edm::EDGetTokenT< CSCWireDigiCollection > CSCWireDigiPToken_
edm::InputTag CSCstripdigi_collectionSig_