static-twc C++ API Reference

template<class Response>
class I3StaticTWC : public I3ConditionalModule

copyright (C) 2010 the IceCube Collaboration

Rcs

I3StaticTWC

Version

Rcs

93.0

Author

Chang Hyon Ha (cuh136 @ phys . psu . edu)

Public Functions

inline I3StaticTWC(const I3Context &context)
inline void Configure()
inline void Physics(I3FramePtr frame)
inline void AddToFrame(I3FramePtr frame, boost::shared_ptr<I3Map<OMKey, Response>> output)
inline void Finish()
template<>
void AddToFrame(I3FramePtr frame, I3RecoPulseSeriesMapPtr output)

Private Members

std::string inputResponse_
std::string outputResponse_
std::string triggerName_
std::vector<int> configIDs_
double tWindowMinus_
double tWindowPlus_
bool firstTriggerOnly_
int numberOfWarnings_

counts warnings for events without relevant triggers; only 20 warnings are displayed

namespace std

STL namespace.

file I3StaticTWC.cxx
#include <icetray/I3ConditionalModule.h>
#include <icetray/I3Context.h>
#include <icetray/I3Frame.h>
#include <icetray/I3Logging.h>
#include <dataclasses/I3Map.h>
#include <dataclasses/I3MapOMKeyMask.h>
#include <dataclasses/TriggerKey.h>
#include <dataclasses/physics/I3Trigger.h>
#include <dataclasses/physics/I3TriggerHierarchy.h>
#include <dataclasses/physics/I3DOMLaunch.h>
#include <dataclasses/physics/I3RecoPulse.h>
#include <dataclasses/I3TimeWindow.h>
#include <algorithm>
#include <vector>
#include <string>
#include <boost/make_shared.hpp>

Functions

template<class Response>
double GetTime(const Response&)
template<>
double GetTime<I3RecoPulse>(const I3RecoPulse &pulse)
template<>
double GetTime<I3DOMLaunch>(const I3DOMLaunch &launch)
I3_MODULE(I3StaticTWC<I3RecoPulseSeries>)
I3_MODULE(I3StaticTWC<I3DOMLaunchSeries>)
dir icetray
dir private
dir static-twc
dir static-twc