Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-23 22:53:17

0001 #ifndef RecoMuon_GlobalTrackingTools_ThrParameters_h
0002 #define RecoMuon_GlobalTrackingTools_ThrParameters_h
0003 
0004 #include "FWCore/Framework/interface/EventSetup.h"
0005 #include "CondFormats/RecoMuonObjects/interface/DYTThrObject.h"
0006 #include "CondFormats/DataRecord/interface/DYTThrObjectRcd.h"
0007 #include "DataFormats/MuonDetId/interface/DTChamberId.h"
0008 #include "DataFormats/MuonDetId/interface/CSCDetId.h"
0009 #include "DataFormats/GeometryCommonDetAlgo/interface/GlobalError.h"
0010 #include "DataFormats/GeometryCommonDetAlgo/interface/AlignmentPositionError.h"
0011 #include "DataFormats/GeometryCommonDetAlgo/interface/ErrorFrameTransformer.h"
0012 #include "CondFormats/Alignment/interface/Alignments.h"
0013 #include "CondFormats/Alignment/interface/AlignTransform.h"
0014 #include "CondFormats/AlignmentRecord/interface/DTAlignmentRcd.h"
0015 #include "CondFormats/AlignmentRecord/interface/CSCAlignmentRcd.h"
0016 #include "CondFormats/Alignment/interface/AlignmentErrorsExtended.h"
0017 #include "CondFormats/Alignment/interface/AlignTransformError.h"
0018 #include "CondFormats/AlignmentRecord/interface/DTAlignmentErrorExtendedRcd.h"
0019 #include "CondFormats/AlignmentRecord/interface/CSCAlignmentErrorExtendedRcd.h"
0020 
0021 class ThrParameters {
0022 public:
0023   ThrParameters(edm::ESHandle<DYTThrObject>,
0024                 const AlignmentErrorsExtended& dtAlignmentErrors,
0025                 const AlignmentErrorsExtended& cscAlignmentErrors);
0026   ~ThrParameters();
0027 
0028   void setInitialThr(double thr0) { x0 = thr0; };
0029   const bool isValidThdDB() { return isValidThdDB_; };
0030   const std::map<DTChamberId, GlobalError>& GetDTApeMap() { return dtApeMap; };
0031   const std::map<CSCDetId, GlobalError>& GetCSCApeMap() { return cscApeMap; };
0032   const DYTThrObject* getInitialThresholds() { return dytThresholds; }
0033 
0034 private:
0035   double x0;
0036   bool isValidThdDB_;
0037   const DYTThrObject* dytThresholds;
0038   std::map<DTChamberId, GlobalError> dtApeMap;
0039   std::map<CSCDetId, GlobalError> cscApeMap;
0040 };
0041 
0042 #endif  // RecoMuon_GlobalTrackingTools_ThrParameters_h