Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F19251310
AbsArrayProjector.hh
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
978 B
Referenced Files
None
Subscribers
None
AbsArrayProjector.hh
View Options
#ifndef NPSTAT_ABSARRAYPROJECTOR_HH_
#define NPSTAT_ABSARRAYPROJECTOR_HH_
/*!
// \file AbsArrayProjector.hh
//
// \brief Interface definition for functors used to make array projections
//
// Author: I. Volobouev
//
// March 2010
*/
namespace
npstat
{
/**
// Interface class for piecemeal processing of array data and coordinates.
// Intended for making multidimensional array projections.
*/
template
<
typename
Input
,
typename
Result
>
struct
AbsArrayProjector
{
virtual
~
AbsArrayProjector
()
{}
/** Clear all accumulated results */
virtual
void
clear
()
=
0
;
/** Process one array point */
virtual
void
process
(
const
unsigned
*
index
,
unsigned
indexLen
,
unsigned
long
linearIndex
,
const
Input
&
value
)
=
0
;
/** Return the result at the end of array processing */
virtual
Result
result
()
=
0
;
};
}
#endif
// ABSARRAYPROJECTOR_HH_
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Sep 30, 5:49 AM (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6511217
Default Alt Text
AbsArrayProjector.hh (978 B)
Attached To
Mode
rNPSTATSVN npstatsvn
Attached
Detach File
Event Timeline
Log In to Comment