85 : beamSpotToken_(
esConsumes()), bstree_(nullptr) {
87 usesResource(
"TFileService");
105 float dummy_float = 9999.0;
106 int dummy_int = 9999;
122 std::ostringstream
output;
129 output <<
" for runs: " <<
iEvent.id().run() <<
" - " <<
iEvent.id().luminosityBlock() << std::endl;
146 output << *mybeamspot << std::endl;
double z() const
get Z beam position
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
edm::ESWatcher< BeamSpotObjectsRcd > watcher_
struct BeamSpotRcdReader::theBSfromDB theBSfromDB_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
double beamWidthX() const
get average transverse beam width
std::unique_ptr< std::ofstream > output_
Log< level::Error, false > LogError
const edm::ESGetToken< BeamSpotObjects, BeamSpotObjectsRcd > beamSpotToken_
T getUntrackedParameter(std::string const &, T const &) const
void addDefault(ParameterSetDescription const &psetDescription)
void analyze(const edm::Event &, const edm::EventSetup &) override
BeamSpotRcdReader(const edm::ParameterSet &)
double x() const
get X beam position
#define DEFINE_FWK_MODULE(type)
edm::Service< TFileService > tFileService
double beamWidthY() const
get average transverse beam width
Log< level::Info, false > LogInfo
double y() const
get Y beam position
double sigmaZ() const
get sigma Z, RMS bunch length
bool check(const edm::EventSetup &iSetup)
~BeamSpotRcdReader() override
T * make(const Args &...args) const
make new ROOT object
double dxdz() const
get dxdz slope, crossing angle in XZ