interfaces C++ API Reference

class I3CalibrationService

Produces I3Calibration objects given a time. Then it tells the next time the calibration will change.

Public Functions

virtual I3CalibrationConstPtr GetCalibration(I3Time time) = 0

Gets the calibration and the header associated with the given time It is expected that the ‘start’ and ‘end’ times of the data header will be appropirately filled.

virtual ~I3CalibrationService()
class I3DetectorStatusService

Produces I3DetectorStatus and I3DetectorStatus Header objects given a I3Time. Intended to be an icetray service which provides the detector status information.

Public Functions

virtual I3DetectorStatusConstPtr GetDetectorStatus(I3Time time) = 0
virtual ~I3DetectorStatusService()
class I3EventService
#include <I3EventService.h>

This is the interface to classes which serve up an event and the time of the next event. This is intended to be an icetray service.

Public Functions

virtual bool MoreEvents() = 0

indicates whether or not there are more events to find.

virtual I3Time PopEvent(I3Frame &frame) = 0

This method should fill the frame with all the relevent frame data. Returned is the time of the event.

inline virtual void DiffEvent(I3Frame &frame)

This method should delete any keys that have not changed since the frame was injected into the module chain, i.e. turn the frame into a diff.

inline virtual bool DiffEventImplemented()
virtual ~I3EventService()
class I3GeometryService

This is an interface to classes which generates I3Geometry and I3GeometryHeader objects given an I3Time. This is intended to be an icetray services for getting the geometry information into the system.

Public Functions

virtual I3GeometryConstPtr GetGeometry(I3Time time) = 0

gives the I3Geometry and I3GeometryHeader for the indicated time.

virtual ~I3GeometryService()
template<class IcePick>
class I3IceForkModule : public I3Module
#include <I3IceForkModule.h>

This module is just like I3IcePickModule except that it does the event selection and then dumps the rejected frame to it’s TrashBox.

This module is a template, so when you want to add this module you need to specify a subclass of I3IcePick that you want to use as the template parameter.

Public Functions

inline I3IceForkModule(const I3Context &context)
inline void Configure()
inline void Physics(I3FramePtr frame)

Private Members

std::string decisionName_
IcePick pick_
template<class IcePick>
class I3IcePickModule : public I3ConditionalModule
#include <I3IcePickModule.h>

This is module that does the event selection. You put it your module chain and then frames which don’t pass the cut don’t make it past this module.

This module is a template, so when you want to add this module you need to specify a subclass of I3IcePick that you want to use as the template parameter. Don’t forget to generate a dictionary for the new template instantiation.

Public Functions

inline I3IcePickModule(const I3Context &context)
inline void Configure()
inline void Process()
inline void Finish()

Private Functions

SET_LOGGER ("I3IcePickModule")

Private Members

std::string decisionName_
bool discardEvents_
bool invertoutput_
IcePick pick_
int nEventsToPick_
int number_Events_Picked
int number_Events_Tossed
std::vector<I3Frame::Stream> streams_
class I3MetaService
#include <I3MetaService.h>

Public Functions

virtual I3FramePtr PopMeta() = 0

indicates whether or not there are more events to find.

virtual ~I3MetaService()
class I3OMKey2MBID
#include <I3OMKey2MBID.h>

This is an icetray service which provides conversions between OMKey and DOM mainboard id.

Public Functions

I3OMKey2MBID()

Default constructor.

virtual ~I3OMKey2MBID()

Destructor.

virtual bool OMKeyExists(long long int mbid) const = 0

Checks whether an OMKey exists for the given mbid.

virtual OMKey GetOMKey(long long int mbid) const = 0

Gets the OMKey for the given mbid.

virtual bool MBIDExists(OMKey key) const = 0

Checks whether a mbid exists for the given OMKey.

virtual long long int GetMBID(OMKey key) const = 0

Gets the mbid for the given OMKey.

Private Functions

I3OMKey2MBID(const I3OMKey2MBID &rhs)
I3OMKey2MBID &operator=(const I3OMKey2MBID &rhs)
SET_LOGGER ("I3OMKey2MBID")
namespace std

STL namespace.

file destructors.cxx
file I3CalibrationService.h
#include <icetray/I3PointerTypedefs.h>
#include <icetray/I3DefaultName.h>

Copyright (C) 2004 the icecube collaboration SPDX-License-Identifier: BSD-2-Clause $Id$

Version

$Revision$

Date

$Date$

Author

pretz

Functions

I3_POINTER_TYPEDEFS(I3Calibration)
I3_DEFAULT_NAME(I3CalibrationService)
I3_POINTER_TYPEDEFS(I3CalibrationService)
file I3DetectorStatusService.h
#include <icetray/I3PointerTypedefs.h>
#include <icetray/I3DefaultName.h>

Copyright (C) 2004 the icecube collaboration SPDX-License-Identifier: BSD-2-Clause $Id$

Version

$Revision$

Date

$Date$

Author

pretz

Functions

I3_FORWARD_DECLARATION(I3DetectorStatus)
I3_DEFAULT_NAME(I3DetectorStatusService)
I3_POINTER_TYPEDEFS(I3DetectorStatusService)
file I3EventService.h
#include <icetray/I3FrameObject.h>
#include <icetray/I3DefaultName.h>

Copyright (C) 2004 the icecube collaboration SPDX-License-Identifier: BSD-2-Clause $Id$

Version

$Revision$

Date

$Date$

Functions

I3_DEFAULT_NAME(I3EventService)
I3_POINTER_TYPEDEFS(I3EventService)
file I3GeometryService.h
#include <icetray/I3FrameObject.h>
#include <icetray/I3DefaultName.h>

Copyright (C) 2004 the icecube collaboration SPDX-License-Identifier: BSD-2-Clause $Id$

Version

$Revision$

Date

$Date$

Functions

I3_FORWARD_DECLARATION(I3Geometry)
I3_DEFAULT_NAME(I3GeometryService)
I3_POINTER_TYPEDEFS(I3GeometryService)
file I3IceForkModule.h
#include <icetray/I3Module.h>
#include <icetray/I3Bool.h>
#include <icetray/I3Frame.h>
file I3IcePickModule.h
#include <dataclasses/physics/I3EventHeader.h>
#include <icetray/I3ConditionalModule.h>
#include <icetray/I3Bool.h>
#include <icetray/I3Frame.h>
#include <boost/foreach.hpp>
#include <boost/python.hpp>
file I3MetaService.h
#include <icetray/I3Frame.h>
#include <icetray/I3DefaultName.h>

Copyright (C) 2004 the icecube collaboration SPDX-License-Identifier: BSD-2-Clause $Id$

Version

$Revision$

Date

$Date$

Author

pretz

Functions

I3_DEFAULT_NAME(I3MetaService)
I3_POINTER_TYPEDEFS(I3MetaService)
file I3OMKey2MBID.cxx
file I3OMKey2MBID.h
#include <icetray/I3DefaultName.h>
#include <icetray/I3Logging.h>
#include <icetray/I3PointerTypedefs.h>
#include <icetray/OMKey.h>

Copyright (C) 2004 the icecube collaboration SPDX-License-Identifier: BSD-2-Clause $Id$

Version

$Revision$

Date

$Date$

Functions

I3_POINTER_TYPEDEFS(I3OMKey2MBID)

pointer type to insulate users from memory management

I3_DEFAULT_NAME(I3OMKey2MBID)

define a default name to address service in a context

dir icetray
dir interfaces
dir interfaces
dir interfaces
dir private
dir public