topeventcleaning C++ API Reference

class I3TankPulseMerger : public I3ConditionalModule

Public Functions

inline I3TankPulseMerger(const I3Context &ctx)
void Configure()
void GrabBadTanksAndDOMs(I3FramePtr frame)
inline void DAQ(I3FramePtr frame)

Get BadTank/BadDOM lists, which might be in DetStatus, but could be anywhere.

inline void Physics(I3FramePtr frame)

Private Functions

SET_LOGGER ("I3TankPulseMerger")
void Merge(I3FramePtr frame)
void FindHGandLG(I3RecoPulseSeriesMap &pulses, const I3RecoPulseSeriesMap::iterator &iter, const I3DOMStatusMap &status, I3RecoPulseSeriesMap::iterator &hg, I3RecoPulseSeriesMap::iterator &lg)

Private Members

I3Frame::Stream stream_
std::string inputVEMPulsesName_
std::string outputTankPulsesName_
double maxHGLGTimeDiff_
std::string badDOMListName_
std::string badTankListName_
std::string excludedTanksName_
I3VectorOMKeyConstPtr badDOMList_
I3VectorTankKeyConstPtr badTankList_
std::set<OMKey> badDOMs_
std::set<TankKey> badTanks_
bool pulsesAreVEM_
class I3TopHLCClusterCleaning : public I3ConditionalModule, private I3Splitter

Public Functions

inline I3TopHLCClusterCleaning(const I3Context &ctx)
void Configure()
void DAQ(I3FramePtr frame)

Private Functions

SET_LOGGER ("I3TopHLCClusterCleaning")

Private Members

std::string inputPulsesName_
std::string outputMaskName_
std::string badTankListName_
std::string excludedTanksName_
double interStationTimeTolerance_
double intraStationTimeTolerance_
namespace [anonymous]
namespace [anonymous]
namespace std

STL namespace.

namespace topeventcleaning

Functions

SET_LOGGER ("topeventcleaning")
template<typename T, typename K>
const T *get_dom_info(K key, const std::map<K, T> &m)
namespace detail_

Functions

template<typename K>
inline std::string make_label(const K &key)
template<>
inline std::string make_label<StationKey>(const StationKey &key)
template<>
inline std::string make_label<TankKey>(const TankKey &key)
template<>
inline std::string make_label<OMKey>(const OMKey &key)
template<typename T, typename K>
void warn_missing(const K &key)
file I3TankPulseMerger.cxx
#include “utility.h
#include <icetray/I3ConditionalModule.h>
#include <icetray/I3Frame.h>
#include <icetray/I3Units.h>
#include <dataclasses/I3Vector.h>
#include <dataclasses/TankKey.h>
#include <dataclasses/calibration/I3Calibration.h>
#include <dataclasses/status/I3DetectorStatus.h>
#include <dataclasses/physics/I3RecoPulse.h>
#include <boost/foreach.hpp>
#include <cassert>
#include <string>
#include <set>

Typedefs

typedef std::map<OMKey, I3DOMCalibration> I3DOMCalibrationMap
typedef std::map<OMKey, I3DOMStatus> I3DOMStatusMap
typedef std::map<OMKey, I3VEMCalibration> I3VEMCalibrationMap

Functions

I3_MODULE(I3TankPulseMerger)
file I3TopHLCClusterCleaning.cxx
#include “utility.h
#include <icetray/I3ConditionalModule.h>
#include <icetray/I3Units.h>
#include <icetray/I3Context.h>
#include <icetray/I3Frame.h>
#include <dataclasses/geometry/I3Geometry.h>
#include <dataclasses/physics/I3RecoPulse.h>
#include <dataclasses/I3Constants.h>
#include <dataclasses/I3MapOMKeyMask.h>
#include <dataclasses/I3Position.h>
#include <dataclasses/TankKey.h>
#include <dataclasses/I3Vector.h>
#include <phys-services/I3Splitter.h>
#include <boost/foreach.hpp>
#include <algorithm>
#include <cassert>
#include <set>
#include <string>
#include <sstream>

Functions

I3_MODULE(I3TopHLCClusterCleaning)
file utility.h
#include <icetray/name_of.h>
#include <icetray/OMKey.h>
#include <dataclasses/TankKey.h>
#include <dataclasses/StationKey.h>
#include <icetray/I3Logging.h>
#include <boost/shared_ptr.hpp>
#include <boost/lexical_cast.hpp>
#include <map>
#include <set>
dir icetray
dir private
dir topeventcleaning
dir topeventcleaning