98 usesResource(
"TFileService");
100 if (!fileName.empty()) {
101 output_.reset(
new std::ofstream(fileName.c_str()));
103 edm::LogError(
"IOproblem") <<
"Could not open output file " << fileName <<
".";
127 float dummy_float = 9999.0;
128 int dummy_int = 9999;
135 Beamsigmaz_ = dummy_float;
136 Beamdxdz_ = dummy_float;
137 BeamWidthX_ = dummy_float;
138 BeamWidthY_ = dummy_float;
148 std::ostringstream
output;
174 output << *mybeamspot << std::endl;
T getUntrackedParameter(std::string const &, T const &) const
double GetY() const
get Y beam position
edm::ESWatcher< BeamSpotObjectsRcd > watcher_
struct BeamSpotRcdReader::theBSfromDB theBSfromDB_
#define DEFINE_FWK_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
double GetSigmaZ() const
get sigma Z, RMS bunch length
double GetBeamWidthX() const
get average transverse beam width
T * make(const Args &...args) const
make new ROOT object
LuminosityBlockNumber_t luminosityBlock() const
double GetBeamWidthY() const
get average transverse beam width
std::auto_ptr< std::ofstream > output_
void addDefault(ParameterSetDescription const &psetDescription)
void analyze(const edm::Event &, const edm::EventSetup &) override
BeamSpotRcdReader(const edm::ParameterSet &)
double GetZ() const
get Z beam position
edm::Service< TFileService > tFileService
double Getdxdz() const
get dxdz slope, crossing angle in XZ
double GetX() const
get X beam position
bool check(const edm::EventSetup &iSetup)
~BeamSpotRcdReader() override
T const * product() const