/[PAMELA software]/calo/unpacking/azero.cpp
ViewVC logotype

Contents of /calo/unpacking/azero.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Mon Dec 5 16:23:22 2005 UTC (19 years ago) by mocchiut
Branch: MAIN, unpacking
CVS Tags: start, v1r00, HEAD
Changes since 1.1: +0 -0 lines
Imported sources

1 /***************************************************************
2 *
3 * change the buffer from bytes to words to read the calorimeter
4 *
5 ***************************************************************/
6 /*
7 * include needed system headers
8 */
9 #include <iostream> /* include standard i/o library */
10 #include <vector.h>
11
12 void azero_(int *vetto, int *lung)
13 {
14 vector<int> v( *lung );
15 memcpy(&v, &*vetto, *lung);
16 if ( !v.empty() ) {
17 v.clear();
18 memcpy(&*vetto, &v, *lung);
19 };
20 }
21
22
23
24
25
26
27
28
29
30

  ViewVC Help
Powered by ViewVC 1.1.23