00001 #ifndef CalibTracker_SiStripLorentzAngle_SiStripRandomLorentzAngle_h 00002 #define CalibTracker_SiStripLorentzAngle_SiStripRandomLorentzAngle_h 00003 00004 #include <map> 00005 00006 #include "FWCore/Framework/interface/EDAnalyzer.h" 00007 #include "FWCore/Framework/interface/Event.h" 00008 #include "DataFormats/Common/interface/Handle.h" 00009 #include "FWCore/Framework/interface/EventSetup.h" 00010 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00011 #include "CondFormats/SiStripObjects/interface/SiStripLorentzAngle.h" 00012 00013 #include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h" 00014 #include "FWCore/MessageLogger/interface/MessageLogger.h" 00015 00016 #include "DataFormats/DetId/interface/DetId.h" 00017 #include "CommonTools/ConditionDBWriter/interface/ConditionDBWriter.h" 00018 00019 class SiStripRandomLorentzAngle : public ConditionDBWriter<SiStripLorentzAngle> 00020 { 00021 public: 00022 00023 explicit SiStripRandomLorentzAngle(const edm::ParameterSet& conf); 00024 00025 virtual ~SiStripRandomLorentzAngle(); 00026 00027 SiStripLorentzAngle* getNewObject(); 00028 void algoBeginJob(const edm::EventSetup&); 00029 00030 private: 00031 00032 std::vector< std::pair<uint32_t, float> > detid_la; 00033 edm::ParameterSet conf_; 00034 double appliedVoltage_; 00035 double chargeMobility_; 00036 double temperature_; 00037 double temperatureerror_; 00038 double rhall_; 00039 double holeBeta_; 00040 double holeSaturationVelocity_; 00041 }; 00042 00043 00044 #endif