// // File: CPSInput.hpp // Purpose: // Created: 08-MAY-2000 by EVIgen // IMPORTANT: *DO NOT EDIT* This is automatically generated code // and modifications will be overwritten and lost! // // Comments: // // Revisions: // #ifndef _L2CPSWORKER_CPSINPUT_HPP #define _L2CPSWORKER_CPSINPUT_HPP #include "l2base/L2.hpp" #include "l2base/io.hpp" #include "l2io/MBTChannel.hpp" #include "l2io/FillableL3Output.hpp" #include "l2buffer/InputBuffer.hpp" #include DATAHEADER(L1CPSAxial) #include DATAHEADER(L1CPSStereo) #include DATAHEADER(L1FPSStereo) #include IOHEADER(L1CPSAxial) #include IOHEADER(L1CPSStereo) #include IOHEADER(L1FPSStereo) // Start namespace for this package namespace l2cpsworker { //============================================================== // CLASS : CPSInput // /// This is a specific type of L3Output class from L2. /** This is a specific type of L3Output class from L2. @author EVIgen (rwmoore@fnal.gov) @version 0.1 08-MAY-2000 */ //============================================================== class CPSInput : public FillableL3Output { public: /** Constructor */ CPSInput(void); /** Accessor for the Central pre-shower axial 1. This function returns a const MBTChannel template which contains the Central pre-shower axial 1. @return const MBTchannel containing the requested data */ const MBTChannel &cpsAxial1(void); /** Accessor for a single L1CPSAxialData from cpsAxial1. This function returns a const L1CPSAxialData object from the cpsAxial1 channel. It uses the channel's array operator to access the object. @param i index of the object to return @return the requested object of type L1CPSAxialData */ const L1CPSAxialData &cpsAxial1(uint32 i); /** Accessor for the Central pre-shower axial 2. This function returns a const MBTChannel template which contains the Central pre-shower axial 2. @return const MBTchannel containing the requested data */ const MBTChannel &cpsAxial2(void); /** Accessor for a single L1CPSAxialData from cpsAxial2. This function returns a const L1CPSAxialData object from the cpsAxial2 channel. It uses the channel's array operator to access the object. @param i index of the object to return @return the requested object of type L1CPSAxialData */ const L1CPSAxialData &cpsAxial2(uint32 i); /** Accessor for the Central pre-shower axial 3. This function returns a const MBTChannel template which contains the Central pre-shower axial 3. @return const MBTchannel containing the requested data */ const MBTChannel &cpsAxial3(void); /** Accessor for a single L1CPSAxialData from cpsAxial3. This function returns a const L1CPSAxialData object from the cpsAxial3 channel. It uses the channel's array operator to access the object. @param i index of the object to return @return the requested object of type L1CPSAxialData */ const L1CPSAxialData &cpsAxial3(uint32 i); /** Accessor for the Central pre-shower axial 4. This function returns a const MBTChannel template which contains the Central pre-shower axial 4. @return const MBTchannel containing the requested data */ const MBTChannel &cpsAxial4(void); /** Accessor for a single L1CPSAxialData from cpsAxial4. This function returns a const L1CPSAxialData object from the cpsAxial4 channel. It uses the channel's array operator to access the object. @param i index of the object to return @return the requested object of type L1CPSAxialData */ const L1CPSAxialData &cpsAxial4(uint32 i); /** Accessor for the Central pre-shower stereo north U. This function returns a const MBTChannel template which contains the Central pre-shower stereo north U. @return const MBTchannel containing the requested data */ const MBTChannel &cpsStereoNU(void); /** Accessor for a single L1CPSStereoData from cpsStereoNU. This function returns a const L1CPSStereoData object from the cpsStereoNU channel. It uses the channel's array operator to access the object. @param i index of the object to return @return the requested object of type L1CPSStereoData */ const L1CPSStereoData &cpsStereoNU(uint32 i); /** Accessor for the Central pre-shower stereo north V. This function returns a const MBTChannel template which contains the Central pre-shower stereo north V. @return const MBTchannel containing the requested data */ const MBTChannel &cpsStereoNV(void); /** Accessor for a single L1CPSStereoData from cpsStereoNV. This function returns a const L1CPSStereoData object from the cpsStereoNV channel. It uses the channel's array operator to access the object. @param i index of the object to return @return the requested object of type L1CPSStereoData */ const L1CPSStereoData &cpsStereoNV(uint32 i); /** Accessor for the Central pre-shower stereo south U. This function returns a const MBTChannel template which contains the Central pre-shower stereo south U. @return const MBTchannel containing the requested data */ const MBTChannel &cpsStereoSU(void); /** Accessor for a single L1CPSStereoData from cpsStereoSU. This function returns a const L1CPSStereoData object from the cpsStereoSU channel. It uses the channel's array operator to access the object. @param i index of the object to return @return the requested object of type L1CPSStereoData */ const L1CPSStereoData &cpsStereoSU(uint32 i); /** Accessor for the Central pre-shower stereo south V. This function returns a const MBTChannel template which contains the Central pre-shower stereo south V. @return const MBTchannel containing the requested data */ const MBTChannel &cpsStereoSV(void); /** Accessor for a single L1CPSStereoData from cpsStereoSV. This function returns a const L1CPSStereoData object from the cpsStereoSV channel. It uses the channel's array operator to access the object. @param i index of the object to return @return the requested object of type L1CPSStereoData */ const L1CPSStereoData &cpsStereoSV(uint32 i); /** Accessor for the Forward pre-shower north 1. This function returns a const MBTChannel template which contains the Forward pre-shower north 1. @return const MBTchannel containing the requested data */ const MBTChannel &fpsNorth1(void); /** Accessor for a single L1FPSStereoData from fpsNorth1. This function returns a const L1FPSStereoData object from the fpsNorth1 channel. It uses the channel's array operator to access the object. @param i index of the object to return @return the requested object of type L1FPSStereoData */ const L1FPSStereoData &fpsNorth1(uint32 i); /** Accessor for the Forward pre-shower north 2. This function returns a const MBTChannel template which contains the Forward pre-shower north 2. @return const MBTchannel containing the requested data */ const MBTChannel &fpsNorth2(void); /** Accessor for a single L1FPSStereoData from fpsNorth2. This function returns a const L1FPSStereoData object from the fpsNorth2 channel. It uses the channel's array operator to access the object. @param i index of the object to return @return the requested object of type L1FPSStereoData */ const L1FPSStereoData &fpsNorth2(uint32 i); /** Accessor for the Forward pre-shower south 1. This function returns a const MBTChannel template which contains the Forward pre-shower south 1. @return const MBTchannel containing the requested data */ const MBTChannel &fpsSouth1(void); /** Accessor for a single L1FPSStereoData from fpsSouth1. This function returns a const L1FPSStereoData object from the fpsSouth1 channel. It uses the channel's array operator to access the object. @param i index of the object to return @return the requested object of type L1FPSStereoData */ const L1FPSStereoData &fpsSouth1(uint32 i); /** Accessor for the Forward pre-shower south 2. This function returns a const MBTChannel template which contains the Forward pre-shower south 2. @return const MBTchannel containing the requested data */ const MBTChannel &fpsSouth2(void); /** Accessor for a single L1FPSStereoData from fpsSouth2. This function returns a const L1FPSStereoData object from the fpsSouth2 channel. It uses the channel's array operator to access the object. @param i index of the object to return @return the requested object of type L1FPSStereoData */ const L1FPSStereoData &fpsSouth2(uint32 i); /** Sets up the MBT channels using the given input buffer. Each input buffer instance is pointed to the new memory location contained within the InputBuffer object. @param buf new input buffer */ void setupChannels(l2buffer::InputBuffer &buf); private: /// Central pre-shower axial 1. MBTChannel _cpsAxial1; /// Central pre-shower axial 2. MBTChannel _cpsAxial2; /// Central pre-shower axial 3. MBTChannel _cpsAxial3; /// Central pre-shower axial 4. MBTChannel _cpsAxial4; /// Central pre-shower stereo north U. MBTChannel _cpsStereoNU; /// Central pre-shower stereo north V. MBTChannel _cpsStereoNV; /// Central pre-shower stereo south U. MBTChannel _cpsStereoSU; /// Central pre-shower stereo south V. MBTChannel _cpsStereoSV; /// Forward pre-shower north 1. MBTChannel _fpsNorth1; /// Forward pre-shower north 2. MBTChannel _fpsNorth2; /// Forward pre-shower south 1. MBTChannel _fpsSouth1; /// Forward pre-shower south 2. MBTChannel _fpsSouth2; }; // Accessor for _cpsAxial1 inline const MBTChannel &CPSInput::cpsAxial1(void) { return _cpsAxial1; } // Accessor for elements of _cpsAxial1 inline const L1CPSAxialData &CPSInput::cpsAxial1(uint32 i) { return _cpsAxial1[i]; } // Accessor for _cpsAxial2 inline const MBTChannel &CPSInput::cpsAxial2(void) { return _cpsAxial2; } // Accessor for elements of _cpsAxial2 inline const L1CPSAxialData &CPSInput::cpsAxial2(uint32 i) { return _cpsAxial2[i]; } // Accessor for _cpsAxial3 inline const MBTChannel &CPSInput::cpsAxial3(void) { return _cpsAxial3; } // Accessor for elements of _cpsAxial3 inline const L1CPSAxialData &CPSInput::cpsAxial3(uint32 i) { return _cpsAxial3[i]; } // Accessor for _cpsAxial4 inline const MBTChannel &CPSInput::cpsAxial4(void) { return _cpsAxial4; } // Accessor for elements of _cpsAxial4 inline const L1CPSAxialData &CPSInput::cpsAxial4(uint32 i) { return _cpsAxial4[i]; } // Accessor for _cpsStereoNU inline const MBTChannel &CPSInput::cpsStereoNU(void) { return _cpsStereoNU; } // Accessor for elements of _cpsStereoNU inline const L1CPSStereoData &CPSInput::cpsStereoNU(uint32 i) { return _cpsStereoNU[i]; } // Accessor for _cpsStereoNV inline const MBTChannel &CPSInput::cpsStereoNV(void) { return _cpsStereoNV; } // Accessor for elements of _cpsStereoNV inline const L1CPSStereoData &CPSInput::cpsStereoNV(uint32 i) { return _cpsStereoNV[i]; } // Accessor for _cpsStereoSU inline const MBTChannel &CPSInput::cpsStereoSU(void) { return _cpsStereoSU; } // Accessor for elements of _cpsStereoSU inline const L1CPSStereoData &CPSInput::cpsStereoSU(uint32 i) { return _cpsStereoSU[i]; } // Accessor for _cpsStereoSV inline const MBTChannel &CPSInput::cpsStereoSV(void) { return _cpsStereoSV; } // Accessor for elements of _cpsStereoSV inline const L1CPSStereoData &CPSInput::cpsStereoSV(uint32 i) { return _cpsStereoSV[i]; } // Accessor for _fpsNorth1 inline const MBTChannel &CPSInput::fpsNorth1(void) { return _fpsNorth1; } // Accessor for elements of _fpsNorth1 inline const L1FPSStereoData &CPSInput::fpsNorth1(uint32 i) { return _fpsNorth1[i]; } // Accessor for _fpsNorth2 inline const MBTChannel &CPSInput::fpsNorth2(void) { return _fpsNorth2; } // Accessor for elements of _fpsNorth2 inline const L1FPSStereoData &CPSInput::fpsNorth2(uint32 i) { return _fpsNorth2[i]; } // Accessor for _fpsSouth1 inline const MBTChannel &CPSInput::fpsSouth1(void) { return _fpsSouth1; } // Accessor for elements of _fpsSouth1 inline const L1FPSStereoData &CPSInput::fpsSouth1(uint32 i) { return _fpsSouth1[i]; } // Accessor for _fpsSouth2 inline const MBTChannel &CPSInput::fpsSouth2(void) { return _fpsSouth2; } // Accessor for elements of _fpsSouth2 inline const L1FPSStereoData &CPSInput::fpsSouth2(uint32 i) { return _fpsSouth2[i]; } } // end namespace l2cpsworker #endif // _L2CPSWORKER_CPSINPUT_HPP