8 #include "CLHEP/Vector/LorentzVector.h"
24 edm::LogInfo(
"RecoProducerFP420") <<
"RecoProducerFP420 parameters: \n"
25 <<
" Verbosity: " << verbosity <<
"\n"
26 <<
" length: " <<
length <<
"\n";
28 std::cout <<
" RecoProducerFP420: constructor " << std::endl;
29 std::cout <<
" BeamLineLength: " << length << std::endl;
42 m_beamline1->fill(
b1.fullPath(), 1,
"IP5");
46 msg +=
" caught in RecoProducerFP420... \nERROR: Could not locate SimTransport/HectorData data files.";
50 m_beamline1->offsetElements(120, -0.097);
53 m_beamline1->calcMatrix();
56 edm::LogInfo(
"RecoProducerFP420") <<
"==============================\n";
62 int direction,
double x1_420,
double y1_420,
double x2_420,
double y2_420,
double z1_420,
double z2_420) {
65 std::vector<RecoFP420>
rhits;
67 rhits.reserve(restracks);
77 std::cout <<
" RecoProducerFP420: input coord. in um " << std::endl;
78 std::cout <<
" x1_420: " << x1_420 <<
" y1_420: " << y1_420 << std::endl;
79 std::cout <<
" x2_420: " << x2_420 <<
" y2_420: " << y2_420 << std::endl;
81 m_rp420_f->setPositions(x1_420, y1_420, x2_420, y2_420);
92 else if (direction == 2) {
95 m_rp420_b->setPositions(x1_420, y1_420, x2_420, y2_420);
109 std::cout <<
" RecoProducerFP420: rhits.push_back " << std::endl;
116 std::cout <<
" direction: " << direction << std::endl;
T getUntrackedParameter(std::string const &, T const &) const
std::vector< RecoFP420 > rhits
std::string beam1filename
Log< level::Error, false > LogError
RecoProducerFP420(const edm::ParameterSet &conf)
char const * what() const noexceptoverride
H_RecRPObject * m_rp420_f
Log< level::Info, false > LogInfo
std::string beam2filename
std::vector< RecoFP420 > reconstruct(int, double, double, double, double, double, double)
T getParameter(std::string const &) const
H_RecRPObject * m_rp420_b
static constexpr float b2
virtual ~RecoProducerFP420()
static constexpr float b1