Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
errorBlock.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file errorBlock.C
1
/*
2
** errorBlock.C
3
**
4
** Author: $Author: purschke $
5
** Date: $Date: 2000/07/21 01:51:12 $
6
**
7
** $Log: errorBlock.C,v $
8
** Revision 1.1.1.1 2000/07/21 01:51:12 purschke
9
** mlp -- adding the new automakified "basic" module to CVS.
10
**
11
**
12
** Revision 1.3 1998/12/11 22:02:01 markacs
13
** (stephen markacs) adding log into cvs tags
14
**
15
*/
16
#include "
errorBlock.h
"
17
18
VALUE_ret
calcNumErrorsV1
(
UINT
numErrorDwords)
19
{
20
if
(numErrorDwords %
errorEntryV1Length
) {
21
return
valueFailure
;
22
}
23
else
return
numErrorDwords/
errorEntryV1Length
;
24
}
25
26
void
endianSwapErrorV1
(
ERRORENTRYV1_ptr
outError,
ERRORENTRYV1_ptr
inError)
27
{
28
/*
29
** For now do nothing
30
*/
31
*outError = *inError;
32
}
online_distribution
blob
master
newbasic
errorBlock.C
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:27
using
1.8.2 with
sPHENIX GitHub integration