-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from cms-sw/CMSSW_7_1_X
update my CMSSW_7_1_X with the official one
- Loading branch information
Showing
2,000 changed files
with
63,305 additions
and
158,609 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
CalibTracker/Records/interface/SiPixelGenErrorDBObjectESProducerRcd.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#ifndef CalibTracker_Records_SiPixelGenErrorDBObjectESProducerRcd_h | ||
#define CalibTracker_Records_SiPixelGenErrorDBObjectESProducerRcd_h | ||
|
||
#include "FWCore/Framework/interface/EventSetupRecordImplementation.h" | ||
#include "FWCore/Framework/interface/DependentRecordImplementation.h" | ||
#include "boost/mpl/vector.hpp" | ||
|
||
#include "MagneticField/Records/interface/IdealMagneticFieldRecord.h" | ||
#include "CondFormats/DataRecord/interface/SiPixelGenErrorDBObjectRcd.h" | ||
|
||
class SiPixelGenErrorDBObjectESProducerRcd : public edm::eventsetup::DependentRecordImplementation<SiPixelGenErrorDBObjectESProducerRcd, boost::mpl::vector<IdealMagneticFieldRecord, SiPixelGenErrorDBObjectRcd> > {}; | ||
|
||
#endif |
4 changes: 4 additions & 0 deletions
4
CalibTracker/Records/src/SiPixelGenErrorDBObjectESProducerRcd.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#include "CalibTracker/Records/interface/SiPixelGenErrorDBObjectESProducerRcd.h" | ||
#include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h" | ||
|
||
EVENTSETUP_RECORD_REG(SiPixelGenErrorDBObjectESProducerRcd); |
35 changes: 35 additions & 0 deletions
35
CalibTracker/SiPixelESProducers/interface/SiPixelFakeGenErrorDBObjectESSource.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#ifndef CalibTracker_SiPixelESProducers_SiPixelFakeGenErrorDBObjectESSource_h | ||
#define CalibTracker_SiPixelESProducers_SiPixelFakeGenErrorDBObjectESSource_h | ||
|
||
#include <memory> | ||
#include "boost/shared_ptr.hpp" | ||
|
||
#include "FWCore/ParameterSet/interface/ParameterSet.h" | ||
#include "FWCore/Framework/interface/ESProducer.h" | ||
#include "FWCore/Framework/interface/EventSetupRecordIntervalFinder.h" | ||
#include "CondFormats/SiPixelObjects/interface/SiPixelGenErrorDBObject.h" | ||
#include "CondFormats/DataRecord/interface/SiPixelGenErrorDBObjectRcd.h" | ||
|
||
class SiPixelFakeGenErrorDBObjectESSource : public edm::ESProducer, public edm::EventSetupRecordIntervalFinder { | ||
|
||
public: | ||
SiPixelFakeGenErrorDBObjectESSource(const edm::ParameterSet &); | ||
~SiPixelFakeGenErrorDBObjectESSource(); | ||
|
||
typedef std::vector<std::string> vstring; | ||
|
||
virtual std::auto_ptr<SiPixelGenErrorDBObject> produce(const SiPixelGenErrorDBObjectRcd &); | ||
|
||
protected: | ||
|
||
virtual void setIntervalFor( const edm::eventsetup::EventSetupRecordKey&, | ||
const edm::IOVSyncValue&, | ||
edm::ValidityInterval& ); | ||
|
||
private: | ||
|
||
vstring GenErrorCalibrations_; | ||
float version_; | ||
|
||
}; | ||
#endif |
33 changes: 33 additions & 0 deletions
33
CalibTracker/SiPixelESProducers/interface/SiPixelGenErrorDBObjectESProducer.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#ifndef CalibTracker_SiPixelESProducers_SiPixelGenErrorDBObjectESProducer_h | ||
#define CalibTracker_SiPixelESProducers_SiPixelGenErrorDBObjectESProducer_h | ||
// -*- C++ -*- | ||
// | ||
// Package: SiPixelGenErrorDBObjectESProducer | ||
// Class: SiPixelGenErrorDBObjectESProducer | ||
// | ||
/**\class SiPixelGenErrorDBObjectESProducer SiPixelGenErrorDBObjectESProducer.cc CalibTracker/SiPixelESProducers/plugin/SiPixelGenErrorDBObjectESProducer.cc | ||
Description: ESProducer for magnetic-field-dependent local reco GenErrors | ||
Implementation: Used inside the RecoLocalTracker/Records/TkPixelRecord to select the correct db for given magnetic field | ||
*/ | ||
// | ||
// Original Author: D.Fehling | ||
// Created: Tue Sep 29 14:49:31 CET 2009 | ||
// | ||
// | ||
|
||
#include "FWCore/Framework/interface/ESProducer.h" | ||
#include "FWCore/ParameterSet/interface/ParameterSet.h" | ||
#include "CondFormats/SiPixelObjects/interface/SiPixelGenErrorDBObject.h" | ||
#include "CalibTracker/Records/interface/SiPixelGenErrorDBObjectESProducerRcd.h" | ||
|
||
class SiPixelGenErrorDBObjectESProducer : public edm::ESProducer { | ||
|
||
public: | ||
|
||
SiPixelGenErrorDBObjectESProducer(const edm::ParameterSet& iConfig); | ||
~SiPixelGenErrorDBObjectESProducer(); | ||
boost::shared_ptr<SiPixelGenErrorDBObject> produce(const SiPixelGenErrorDBObjectESProducerRcd &); | ||
}; | ||
#endif |
Oops, something went wrong.