CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DTFakeT0ESProducer.h
Go to the documentation of this file.
1 #ifndef _DTFAKET0_H
2 #define _DTFAKET0_H
3 
4 /*
5  * See header file for a description of this class.
6  *
7  * \author S. Bolognesi - INFN Torino
8  */
9 
10 // system include files
11 #include <memory>
12 
13 // user include files
15 
19 
22 
24 
29 
30 //#include <pair>
31 #include <map>
32 
33 class DTT0;
34 class DTT0Rcd;
35 class DTLayerId;
36 
38 public:
40 
41  ~DTFakeT0ESProducer() override;
42 
43  std::unique_ptr<DTT0> produce(const DTT0Rcd& iRecord);
44 
45 private:
46  void parseDDD(const DTT0Rcd& iRecord);
47 
49  const edm::IOVSyncValue&,
50  edm::ValidityInterval& oValidity) override;
51 
52  std::map<DTLayerId, std::pair<unsigned int, unsigned int> > theLayerIdWiresMap;
53 
54  //t0 mean and sigma values read from cfg
55  double t0Mean;
56  double t0Sigma;
57 
60 };
61 #endif
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &oValidity) override
Definition: DTT0.h:48
edm::ESGetToken< MuonGeometryConstants, IdealGeometryRecord > mdcToken_
edm::ESGetToken< DDCompactView, IdealGeometryRecord > cpvTokenDDD_
void parseDDD(const DTT0Rcd &iRecord)
Definition: DTT0Rcd.h:9
~DTFakeT0ESProducer() override
DTFakeT0ESProducer(const edm::ParameterSet &pset)
std::unique_ptr< DTT0 > produce(const DTT0Rcd &iRecord)
std::map< DTLayerId, std::pair< unsigned int, unsigned int > > theLayerIdWiresMap