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 
21 
24 
25 //DT
27 //RPC
29 //CSC
33 
34 #include <map>
35 #include <vector>
36 #include <string>
37 
38 
39 namespace edm
40 {
42  {
43  public:
44 
46 
48  explicit DataMixingMuonWorker(const edm::ParameterSet& ps);
49 
51  virtual ~DataMixingMuonWorker();
52 
53  void putMuon(edm::Event &e) ;
54  void addMuonSignals(const edm::Event &e);
55  void addMuonPileups(const int bcr, const edm::EventPrincipal*,unsigned int EventId);
56 
57 
58  private:
59  // data specifiers
60 
61  edm::InputTag DTdigi_collectionSig_; // secondary name given to collection of DT digis
62  edm::InputTag RPCdigi_collectionSig_; // secondary name given to collection of RPC digis
63  edm::InputTag CSCDigiTagSig_; // primary? name given to collection of CSC digis
64  edm::InputTag DTDigiTagSig_; // primary? name given to collection of DT digis
65  edm::InputTag RPCDigiTagSig_; // primary? name given to collection of RPC digis
66  edm::InputTag CSCstripdigi_collectionSig_; // secondary name given to collection of CSC Strip digis
67  edm::InputTag CSCwiredigi_collectionSig_; // secondary name given to collection of CSC wire digis
68  edm::InputTag CSCCompdigi_collectionSig_; // secondary name given to collection of CSC wire digis
69 
70  edm::InputTag DTPileInputTag_ ; // InputTag for pileup DTs
71  edm::InputTag RPCPileInputTag_ ; // InputTag for pileup RPCs
72  edm::InputTag CSCWirePileInputTag_ ; // InputTag for pileup CSC Wires
73  edm::InputTag CSCStripPileInputTag_ ; // InputTag for pileup CSC Strips
74  edm::InputTag CSCCompPileInputTag_ ; // InputTag for pileup CSC Comparators
75 
76  std::string DTDigiCollectionDM_; // secondary name to be given to new DT digis
77  std::string RPCDigiCollectionDM_; // secondary name to be given to new RPC digis
78  std::string CSCStripDigiCollectionDM_; // secondary name given to new collection of CSC Strip digis
79  std::string CSCWireDigiCollectionDM_; // secondary name given to new collection of CSC wire digis
80  std::string CSCComparatorDigiCollectionDM_; // secondary name given to new collection of CSC comparator digis
81 
82  // just hold our own DigiCollections - order of digis in layer doesn't appear to matter...
83  // will make a copy and put this back into the event...
84 
90 
91  // unsigned int eventId_; //=0 for signal, from 1-n for pileup events
92 
94  std::string label_;
95 
96  };
97 }//edm
98 
99 #endif
void addMuonSignals(const edm::Event &e)
edm::InputTag CSCwiredigi_collectionSig_
CSCStripDigiCollection * OurCSCStripDigis_
DTDigiCollection * OurDTDigis_
RPCDigiCollection * OurRPCDigis_
CSCWireDigiCollection * OurCSCWireDigis_
CSCComparatorDigiCollection * OurCSCComparatorDigis_
void addMuonPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId)
edm::InputTag CSCCompdigi_collectionSig_
edm::InputTag CSCstripdigi_collectionSig_