CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DataMixingMuonWorker.h
Go to the documentation of this file.
1 #ifndef DataMixingMuonWorker_h
2 #define SimDataMixingMuonWorker_h
3 
20 
23 
24 //DT
26 //RPC
28 //CSC
32 
33 #include <map>
34 #include <vector>
35 #include <string>
36 
37 
38 namespace edm
39 {
40  class ModuleCallingContext;
41 
43  {
44  public:
45 
47 
49  explicit DataMixingMuonWorker(const edm::ParameterSet& ps);
50 
52  virtual ~DataMixingMuonWorker();
53 
54  void putMuon(edm::Event &e) ;
55  void addMuonSignals(const edm::Event &e);
56  void addMuonPileups(const int bcr, const edm::EventPrincipal*,unsigned int EventId, ModuleCallingContext const*);
57 
58 
59  private:
60  // data specifiers
61 
62  edm::InputTag DTdigi_collectionSig_; // secondary name given to collection of DT digis
63  edm::InputTag RPCdigi_collectionSig_; // secondary name given to collection of RPC digis
64  edm::InputTag CSCDigiTagSig_; // primary? name given to collection of CSC digis
65  edm::InputTag DTDigiTagSig_; // primary? name given to collection of DT digis
66  edm::InputTag RPCDigiTagSig_; // primary? name given to collection of RPC digis
67  edm::InputTag CSCstripdigi_collectionSig_; // secondary name given to collection of CSC Strip digis
68  edm::InputTag CSCwiredigi_collectionSig_; // secondary name given to collection of CSC wire digis
69  edm::InputTag CSCCompdigi_collectionSig_; // secondary name given to collection of CSC wire digis
70 
71  edm::InputTag DTPileInputTag_ ; // InputTag for pileup DTs
72  edm::InputTag RPCPileInputTag_ ; // InputTag for pileup RPCs
73  edm::InputTag CSCWirePileInputTag_ ; // InputTag for pileup CSC Wires
74  edm::InputTag CSCStripPileInputTag_ ; // InputTag for pileup CSC Strips
75  edm::InputTag CSCCompPileInputTag_ ; // InputTag for pileup CSC Comparators
76 
77  std::string DTDigiCollectionDM_; // secondary name to be given to new DT digis
78  std::string RPCDigiCollectionDM_; // secondary name to be given to new RPC digis
79  std::string CSCStripDigiCollectionDM_; // secondary name given to new collection of CSC Strip digis
80  std::string CSCWireDigiCollectionDM_; // secondary name given to new collection of CSC wire digis
81  std::string CSCComparatorDigiCollectionDM_; // secondary name given to new collection of CSC comparator digis
82 
83  // just hold our own DigiCollections - order of digis in layer doesn't appear to matter...
84  // will make a copy and put this back into the event...
85 
91 
92  // unsigned int eventId_; //=0 for signal, from 1-n for pileup events
93 
95 
96  };
97 }//edm
98 
99 #endif
void addMuonSignals(const edm::Event &e)
void addMuonPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *)
edm::InputTag CSCwiredigi_collectionSig_
CSCStripDigiCollection * OurCSCStripDigis_
DTDigiCollection * OurDTDigis_
RPCDigiCollection * OurRPCDigis_
CSCWireDigiCollection * OurCSCWireDigis_
CSCComparatorDigiCollection * OurCSCComparatorDigis_
edm::InputTag CSCCompdigi_collectionSig_
edm::InputTag CSCstripdigi_collectionSig_