CMS 3D CMS Logo

MuonPathConfirmator.h
Go to the documentation of this file.
1 #ifndef L1Trigger_DTTriggerPhase2_MuonPathConfirmator_h
2 #define L1Trigger_DTTriggerPhase2_MuonPathConfirmator_h
3 
13 
20 
21 #include <iostream>
22 #include <fstream>
23 
24 // ===============================================================================
25 // Previous definitions and declarations
26 // ===============================================================================
27 
28 // ===============================================================================
29 // Class declarations
30 // ===============================================================================
31 
33 public:
34  // Constructors and destructor
37 
38  // Main methods
39  void initialise(const edm::EventSetup &iEventSetup);
40  void run(edm::Event &iEvent,
41  const edm::EventSetup &iEventSetup,
42  std::vector<cmsdt::metaPrimitive> inMetaPrimitives,
44  std::vector<cmsdt::metaPrimitive> &outMetaPrimitives);
45 
46  void finish();
47  // Other public methods
48 
49 private:
50  // Private methods
53  std::vector<cmsdt::metaPrimitive> &outMetaPrimitives);
54  // Private attributes
55  bool debug_;
57  //shift
59  std::map<int, float> shiftinfo_;
61  int maxdriftinfo_[5][4][14];
62  int max_drift_tdc = -1;
63 
68  float SEMICHAMBER_H_REAL = ((235. / 2.) / (16. * 6.5)) * std::pow(2, SEMICHAMBER_H_PRECISSION);
70 };
71 
72 #endif
edm::FileInPath maxdrift_filename_
void initialise(const edm::EventSetup &iEventSetup)
void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, std::vector< cmsdt::metaPrimitive > inMetaPrimitives, edm::Handle< DTDigiCollection > dtdigis, std::vector< cmsdt::metaPrimitive > &outMetaPrimitives)
edm::FileInPath shift_filename_
void analyze(cmsdt::metaPrimitive mp, edm::Handle< DTDigiCollection > dtdigis, std::vector< cmsdt::metaPrimitive > &outMetaPrimitives)
int iEvent
Definition: GenABIO.cc:224
int maxdriftinfo_[5][4][14]
MuonPathConfirmator(const edm::ParameterSet &pset, edm::ConsumesCollector &iC)
std::map< int, float > shiftinfo_
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29