Go to the documentation of this file.
94 usesResource(
"TFileService");
115 float dummy_float = 9999.0;
116 int dummy_int = 9999;
132 std::ostringstream
output;
139 output <<
" for runs: " <<
iEvent.id().run() <<
" - " <<
iEvent.id().luminosityBlock() << std::endl;
158 output << *mybeamspot << std::endl;
bool check(const edm::EventSetup &iSetup)
T const * product() const
double GetBeamWidthY() const
get average transverse beam width
std::unique_ptr< std::ofstream > output_
double Getdxdz() const
get dxdz slope, crossing angle in XZ
double GetSigmaZ() const
get sigma Z, RMS bunch length
double GetZ() const
get Z beam position
void analyze(const edm::Event &, const edm::EventSetup &) override
T getUntrackedParameter(std::string const &, T const &) const
BeamSpotRcdReader(const edm::ParameterSet &)
Log< level::Info, false > LogInfo
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_MODULE(type)
double GetY() const
get Y beam position
~BeamSpotRcdReader() override
Log< level::Error, false > LogError
T * make(const Args &...args) const
make new ROOT object
edm::Service< TFileService > tFileService
double GetBeamWidthX() const
get average transverse beam width
edm::ESWatcher< BeamSpotObjectsRcd > watcher_
struct BeamSpotRcdReader::theBSfromDB theBSfromDB_
void addDefault(ParameterSetDescription const &psetDescription)
double GetX() const
get X beam position