78 : beamSpotToken_(
esConsumes()), bstree_(nullptr) {
80 usesResource(
"TFileService");
93 float dummy_double = 0.0;
118 std::ostringstream
output;
125 output <<
" for runs: " <<
iEvent.id().run() <<
" - " <<
iEvent.id().luminosityBlock() << std::endl;
148 output << *mybeamspot << std::endl;
double fBetaSeparationPlane
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
double crabbingAngleSeparation() const
~BeamProfileHLLHC2DBReader() override=default
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
double fCrabbingAngleCrossing
double fCrabbingAngleSeparation
Log< level::Error, false > LogError
edm::Service< TFileService > tFileService
double eProton() const
get EProton, fCrabFrequency, RF800
T getUntrackedParameter(std::string const &, T const &) const
std::unique_ptr< std::ofstream > output_
double crabFrequency() const
double fBetaCrossingPlane
double meanX() const
get meanX, meanY, meanZ position
void analyze(const edm::Event &, const edm::EventSetup &) override
double crossingAngle() const
set Crossing and Crabbing angles
#define DEFINE_FWK_MODULE(type)
BeamProfileHLLHC2DBReader(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
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
T * make(const Args &...args) const
make new ROOT object
double betaSeparationPlane() const
double fHorizontalEmittance
double timeOffset() const
edm::ESWatcher< SimBeamSpotHLLHCObjectsRcd > watcher_
double crabbingAngleCrossing() const
const edm::ESGetToken< SimBeamSpotHLLHCObjects, SimBeamSpotHLLHCObjectsRcd > beamSpotToken_