|
| BeamProfileHLLHC2DBReader (const edm::ParameterSet &) |
|
| ~BeamProfileHLLHC2DBReader () override=default |
|
| EDAnalyzer ()=default |
|
| EDAnalyzer (const EDAnalyzer &)=delete |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
const EDAnalyzer & | operator= (const EDAnalyzer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const noexcept final |
|
bool | wantsGlobalRuns () const noexcept final |
|
bool | wantsInputProcessBlocks () const noexcept final |
|
bool | wantsProcessBlocks () const noexcept final |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const noexcept |
|
bool | wantsStreamRuns () const noexcept |
|
| ~EDAnalyzerBase () override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ESResolverIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESResolverIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProductResolverIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
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.
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_.
118 std::ostringstream
output;
125 output <<
" for runs: " <<
iEvent.id().run() <<
" - " <<
iEvent.id().luminosityBlock() << std::endl;
148 output << *mybeamspot << std::endl;
double fBetaSeparationPlane
double crabbingAngleSeparation() const
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
double fCrabbingAngleCrossing
double fCrabbingAngleSeparation
double eProton() const
get EProton, fCrabFrequency, RF800
std::unique_ptr< std::ofstream > output_
double crabFrequency() const
double fBetaCrossingPlane
double meanX() const
get meanX, meanY, meanZ position
double crossingAngle() const
set Crossing and Crabbing angles
Log< level::Info, false > LogInfo
double fVerticalEmittance
double horizontalEmittance() const
double betaCrossingPlane() const
get BetaStar and Emittance
bool check(const edm::EventSetup &iSetup)
struct BeamProfileHLLHC2DBReader::TheBSfromDB theBSfromDB_
double bunchLenght() const
get BunchLength and TimeOffset
double verticalEmittance() const
double betaSeparationPlane() const
double fHorizontalEmittance
double timeOffset() const
edm::ESWatcher< SimBeamSpotHLLHCObjectsRcd > watcher_
double crabbingAngleCrossing() const
const edm::ESGetToken< SimBeamSpotHLLHCObjects, SimBeamSpotHLLHCObjectsRcd > beamSpotToken_