10 #define OUT(x) if ((x) <= fInfoLevel) cerr << " "
16 fCherenkovRadius(150.),
24 RdCheckFootprint::~RdCheckFootprint()
31 INFO(
"RdCheckFootprint::Init()");
49 REvent& rEvent =
event.GetREvent();
51 const rdet::RDetector& rDetector = det::Detector::GetInstance().GetRDetector();
66 fLDF.push_back(
ldf(station.
GetId(),distanceToShowerAxis));
74 double ldfUpperLimit = 0.0;
77 double currentSignal = 0.0;
80 for(
unsigned int i = 0; i <
fLDF.size(); ++i) {
91 if(ldfUpperLimit == 0.0) {
98 INFO(
"Applying footprint cut");
99 if(currentSignal > ldfUpperLimit)
104 showerrrec.
SetParameter(revt::eNumberOfStationsWithPulseFound, showerrrec.
GetParameter(revt::eNumberOfStationsWithPulseFound)-1);
Branch GetTopBranch() const
void SetParameter(Parameter i, double value, bool lock=true)
utl::Vector GetAxis() const
Returns vector of the shower axis.
static double GetDistanceToAxis(const utl::Vector &ShowerAxis, const utl::Point &CorePosition, const utl::Point &AntennaPosition)
computes the distance from the antenna position to the shower "line" defined by the core position and...
Report success to RunController.
void SetPulseFound(const bool pulsefound)
StationRecData & GetRecData()
Get station level reconstructed data.
Interface class to access to the Radio part of an event.
Interface class to access to the RD Reconstruction of a Shower.
double GetParameterError(const Parameter i) const
#define INFO(message)
Macro for logging informational messages.
StationIterator StationsEnd()
StationIterator StationsBegin()
void Init()
Initialise the registry.
bool GetPulseFound() const
Branch GetChild(const std::string &childName) const
Get child of this Branch by child name.
boost::filter_iterator< StationFilter, AllStationIterator > StationIterator
Iterator over all (non-exculded) stations.
Station & GetStation(const int stationId)
retrieve station by id throw utl::NonExistentComponentException if n.a.
Detector description interface for RDetector-related data.
Class representing a document branch.
utl::Point GetCoordinateOrigin() const
class to hold data at the radio Station level.
void GetData(bool &b) const
Overloads of the GetData member template function.
int GetId() const
Get the station Id.
double GetParameter(const Parameter i) const
ResultFlag
Flag returned by module methods to the RunController.
utl::Point GetCorePosition() const
returns pointer of the position vector of the core in the reference coor system
double GetParameter(const Parameter i) const
utl::Point GetPosition() const
Tank position in Site Cartesian Coordinates.
const Station & GetStation(const int stationId) const
Get station by Station Id.