80 : beamSpotToken_(
esConsumes()), bstree_(nullptr) {
82 usesResource(
"TFileService");
98 float dummy_double = 0.0;
122 std::ostringstream
output;
129 output <<
" for runs: " <<
iEvent.id().run() <<
" - " <<
iEvent.id().luminosityBlock() << std::endl;
151 output << *mybeamspot << std::endl;
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
struct BeamProfile2DBReader::TheBSfromDB theBSfromDB_
double sigmaX() const
get sigmaX, sigmaY, sigmaZ
void analyze(const edm::Event &, const edm::EventSetup &) override
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
BeamProfile2DBReader(const edm::ParameterSet &)
edm::Service< TFileService > tFileService
double meanX() const
get meanX, meanY, meanZ position
Log< level::Error, false > LogError
std::unique_ptr< std::ofstream > output_
T getUntrackedParameter(std::string const &, T const &) const
edm::ESWatcher< SimBeamSpotObjectsRcd > watcher_
const edm::ESGetToken< SimBeamSpotObjects, SimBeamSpotObjectsRcd > beamSpotToken_
#define DEFINE_FWK_MODULE(type)
Log< level::Info, false > LogInfo
double timeOffset() const
bool check(const edm::EventSetup &iSetup)
double phi() const
get Phi, Alpha and TimeOffset
double betaStar() const
get BetaStar and Emittance
T * make(const Args &...args) const
make new ROOT object
double x() const
get X, Y, Z position
~BeamProfile2DBReader() override=default