![]() |
![]() |
#include <CondTools/BeamSpot/plugins/BeamProfile2DBReader.cc>
Classes | |
struct | TheBSfromDB |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
Private Attributes | |
const edm::ESGetToken< SimBeamSpotObjects, SimBeamSpotObjectsRcd > | beamSpotToken_ |
TTree * | bstree_ |
std::unique_ptr< std::ofstream > | output_ |
edm::Service< TFileService > | tFileService |
struct BeamProfile2DBReader::TheBSfromDB | theBSfromDB_ |
edm::ESWatcher< SimBeamSpotObjectsRcd > | watcher_ |
Additional Inherited Members | |
![]() | |
typedef EDAnalyzerBase | ModuleType |
![]() | |
typedef ProductLabels | Labels |
![]() | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Description: simple emd::one::EDAnalyzer to retrieve and ntuplize SimBeamSpot data from the conditions database
Implementation: [Notes on implementation]
Definition at line 44 of file BeamProfile2DBReader.cc.
|
explicit |
Definition at line 79 of file BeamProfile2DBReader.cc.
References MillePedeFileConverter_cfg::fileName, edm::ParameterSet::getUntrackedParameter(), output_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 120 of file BeamProfile2DBReader.cc.
References SimBeamSpotObjects::alpha(), beamSpotToken_, SimBeamSpotObjects::betaStar(), bstree_, edm::ESWatcher< T >::check(), SimBeamSpotObjects::emittance(), BeamProfile2DBReader::TheBSfromDB::fAlpha, BeamProfile2DBReader::TheBSfromDB::fbetastar, BeamProfile2DBReader::TheBSfromDB::femittance, BeamProfile2DBReader::TheBSfromDB::fMeanX, BeamProfile2DBReader::TheBSfromDB::fMeanY, BeamProfile2DBReader::TheBSfromDB::fMeanZ, BeamProfile2DBReader::TheBSfromDB::fPhi, BeamProfile2DBReader::TheBSfromDB::fSigmaX, BeamProfile2DBReader::TheBSfromDB::fSigmaY, BeamProfile2DBReader::TheBSfromDB::fSigmaZ, BeamProfile2DBReader::TheBSfromDB::fTimeOffset, BeamProfile2DBReader::TheBSfromDB::fX0, BeamProfile2DBReader::TheBSfromDB::fY0, BeamProfile2DBReader::TheBSfromDB::fZ0, edm::EventSetup::getData(), iEvent, BeamProfile2DBReader::TheBSfromDB::init(), BeamProfile2DBReader::TheBSfromDB::ls, SimBeamSpotObjects::meanX(), SimBeamSpotObjects::meanY(), SimBeamSpotObjects::meanZ(), convertSQLitetoXML_cfg::output, output_, SimBeamSpotObjects::phi(), BeamProfile2DBReader::TheBSfromDB::run, SimBeamSpotObjects::sigmaX(), SimBeamSpotObjects::sigmaY(), SimBeamSpotObjects::sigmaZ(), theBSfromDB_, SimBeamSpotObjects::timeOffset(), watcher_, SimBeamSpotObjects::x(), SimBeamSpotObjects::y(), and SimBeamSpotObjects::z().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 162 of file BeamProfile2DBReader.cc.
References bstree_, BeamProfile2DBReader::TheBSfromDB::fAlpha, BeamProfile2DBReader::TheBSfromDB::fbetastar, BeamProfile2DBReader::TheBSfromDB::femittance, BeamProfile2DBReader::TheBSfromDB::fMeanX, BeamProfile2DBReader::TheBSfromDB::fMeanY, BeamProfile2DBReader::TheBSfromDB::fMeanZ, BeamProfile2DBReader::TheBSfromDB::fPhi, BeamProfile2DBReader::TheBSfromDB::fSigmaX, BeamProfile2DBReader::TheBSfromDB::fSigmaY, BeamProfile2DBReader::TheBSfromDB::fSigmaZ, BeamProfile2DBReader::TheBSfromDB::fTimeOffset, BeamProfile2DBReader::TheBSfromDB::fX0, BeamProfile2DBReader::TheBSfromDB::fY0, BeamProfile2DBReader::TheBSfromDB::fZ0, BeamProfile2DBReader::TheBSfromDB::ls, TFileService::make(), BeamProfile2DBReader::TheBSfromDB::run, tFileService, and theBSfromDB_.
|
static |
Definition at line 185 of file BeamProfile2DBReader.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 67 of file BeamProfile2DBReader.cc.
Referenced by analyze().
|
private |
Definition at line 69 of file BeamProfile2DBReader.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 73 of file BeamProfile2DBReader.cc.
Referenced by analyze(), and BeamProfile2DBReader().
|
private |
Definition at line 68 of file BeamProfile2DBReader.cc.
Referenced by beginJob().
|
private |
Referenced by analyze(), and beginJob().
|
private |
Definition at line 72 of file BeamProfile2DBReader.cc.
Referenced by analyze().