![]() |
![]() |
#include <CondTools/BeamSpot/plugins/BeamProfileHLLHC2DBReader.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< SimBeamSpotHLLHCObjects, SimBeamSpotHLLHCObjectsRcd > | beamSpotToken_ |
TTree * | bstree_ |
std::unique_ptr< std::ofstream > | output_ |
edm::Service< TFileService > | tFileService |
struct BeamProfileHLLHC2DBReader::TheBSfromDB | theBSfromDB_ |
edm::ESWatcher< SimBeamSpotHLLHCObjectsRcd > | 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 edm::one::EDAnalyzer to retrieve and ntuplize SimBeamSpotHLLHC data from the conditions database
Implementation: [Notes on implementation]
Definition at line 44 of file BeamProfileHLLHC2DBReader.cc.
|
explicit |
Definition at line 77 of file BeamProfileHLLHC2DBReader.cc.
References MillePedeFileConverter_cfg::fileName, edm::ParameterSet::getUntrackedParameter(), output_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 116 of file BeamProfileHLLHC2DBReader.cc.
References beamSpotToken_, SimBeamSpotHLLHCObjects::betaCrossingPlane(), SimBeamSpotHLLHCObjects::betaSeparationPlane(), bstree_, SimBeamSpotHLLHCObjects::bunchLenght(), edm::ESWatcher< T >::check(), SimBeamSpotHLLHCObjects::crabbingAngleCrossing(), SimBeamSpotHLLHCObjects::crabbingAngleSeparation(), SimBeamSpotHLLHCObjects::crabFrequency(), SimBeamSpotHLLHCObjects::crossingAngle(), SimBeamSpotHLLHCObjects::eProton(), BeamProfileHLLHC2DBReader::TheBSfromDB::fBetaCrossingPlane, BeamProfileHLLHC2DBReader::TheBSfromDB::fBetaSeparationPlane, BeamProfileHLLHC2DBReader::TheBSfromDB::fBunchLength, BeamProfileHLLHC2DBReader::TheBSfromDB::fCrabbingAngleCrossing, BeamProfileHLLHC2DBReader::TheBSfromDB::fCrabbingAngleSeparation, BeamProfileHLLHC2DBReader::TheBSfromDB::fCrabFrequency, BeamProfileHLLHC2DBReader::TheBSfromDB::fCrossingAngle, BeamProfileHLLHC2DBReader::TheBSfromDB::fEProton, BeamProfileHLLHC2DBReader::TheBSfromDB::fHorizontalEmittance, BeamProfileHLLHC2DBReader::TheBSfromDB::fMeanX, BeamProfileHLLHC2DBReader::TheBSfromDB::fMeanY, BeamProfileHLLHC2DBReader::TheBSfromDB::fMeanZ, BeamProfileHLLHC2DBReader::TheBSfromDB::fRF800, BeamProfileHLLHC2DBReader::TheBSfromDB::fTimeOffset, BeamProfileHLLHC2DBReader::TheBSfromDB::fVerticalEmittance, edm::EventSetup::getData(), SimBeamSpotHLLHCObjects::horizontalEmittance(), iEvent, BeamProfileHLLHC2DBReader::TheBSfromDB::init(), BeamProfileHLLHC2DBReader::TheBSfromDB::ls, SimBeamSpotHLLHCObjects::meanX(), SimBeamSpotHLLHCObjects::meanY(), SimBeamSpotHLLHCObjects::meanZ(), convertSQLitetoXML_cfg::output, output_, SimBeamSpotHLLHCObjects::rf800(), BeamProfileHLLHC2DBReader::TheBSfromDB::run, theBSfromDB_, SimBeamSpotHLLHCObjects::timeOffset(), SimBeamSpotHLLHCObjects::verticalEmittance(), and watcher_.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 159 of file BeamProfileHLLHC2DBReader.cc.
References bstree_, BeamProfileHLLHC2DBReader::TheBSfromDB::fBetaCrossingPlane, BeamProfileHLLHC2DBReader::TheBSfromDB::fBetaSeparationPlane, BeamProfileHLLHC2DBReader::TheBSfromDB::fBunchLength, BeamProfileHLLHC2DBReader::TheBSfromDB::fCrabbingAngleCrossing, BeamProfileHLLHC2DBReader::TheBSfromDB::fCrabbingAngleSeparation, BeamProfileHLLHC2DBReader::TheBSfromDB::fCrabFrequency, BeamProfileHLLHC2DBReader::TheBSfromDB::fCrossingAngle, BeamProfileHLLHC2DBReader::TheBSfromDB::fEProton, BeamProfileHLLHC2DBReader::TheBSfromDB::fHorizontalEmittance, BeamProfileHLLHC2DBReader::TheBSfromDB::fMeanX, BeamProfileHLLHC2DBReader::TheBSfromDB::fMeanY, BeamProfileHLLHC2DBReader::TheBSfromDB::fMeanZ, BeamProfileHLLHC2DBReader::TheBSfromDB::fRF800, BeamProfileHLLHC2DBReader::TheBSfromDB::fTimeOffset, BeamProfileHLLHC2DBReader::TheBSfromDB::fVerticalEmittance, BeamProfileHLLHC2DBReader::TheBSfromDB::ls, TFileService::make(), BeamProfileHLLHC2DBReader::TheBSfromDB::run, tFileService, and theBSfromDB_.
|
static |
Definition at line 183 of file BeamProfileHLLHC2DBReader.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 67 of file BeamProfileHLLHC2DBReader.cc.
Referenced by analyze().
|
private |
Definition at line 69 of file BeamProfileHLLHC2DBReader.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 73 of file BeamProfileHLLHC2DBReader.cc.
Referenced by analyze(), and BeamProfileHLLHC2DBReader().
|
private |
Definition at line 68 of file BeamProfileHLLHC2DBReader.cc.
Referenced by beginJob().
|
private |
Referenced by analyze(), and beginJob().
|
private |
Definition at line 72 of file BeamProfileHLLHC2DBReader.cc.
Referenced by analyze().