Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
EventFilter
ResourceBroker
src
RecoMsgBuf.cc
Go to the documentation of this file.
1
#include "
EventFilter/ResourceBroker/interface/RecoMsgBuf.h
"
2
#include <iostream>
3
#include <cstdlib>
4
5
using namespace
evf;
6
7
RecoMsgBuf::RecoMsgBuf
(
unsigned
int
size
,
unsigned
int
type
) :
8
MsgBuf
(size, type), theRecoCell_(0) {
9
}
10
11
RecoMsgBuf::~RecoMsgBuf
() {
12
theRecoCell_
->
~FUShmRecoCell
();
13
//delete[] buf_;
14
}
15
16
void
RecoMsgBuf::initialise
(
unsigned
int
recoCellSize) {
17
// construct the FUShmRawCell at the buffer address
18
// the memory is allocated in the super constructor
19
theRecoCell_
=
new
(
ptr_
->mtext)
FUShmRecoCell
(recoCellSize);
20
}
type
type
Definition:
HCALResponse.h:21
evf::RecoMsgBuf::initialise
void initialise(unsigned int recoCellSize)
Definition:
RecoMsgBuf.cc:16
evf::FUShmRecoCell
Definition:
FUShmRecoCell.h:7
evf::MsgBuf::ptr_
struct msgbuf * ptr_
Definition:
MsgBuf.h:24
RecoMsgBuf.h
evf::MsgBuf
Definition:
MsgBuf.h:9
evf::FUShmRecoCell::~FUShmRecoCell
~FUShmRecoCell()
Definition:
FUShmRecoCell.cc:35
evf::RecoMsgBuf::theRecoCell_
FUShmRecoCell * theRecoCell_
Definition:
RecoMsgBuf.h:40
evf::RecoMsgBuf::RecoMsgBuf
RecoMsgBuf(unsigned int size, unsigned int type)
Definition:
RecoMsgBuf.cc:7
evf::RecoMsgBuf::~RecoMsgBuf
virtual ~RecoMsgBuf()
Definition:
RecoMsgBuf.cc:11
findQualityFiles.size
tuple size
Write out results.
Definition:
findQualityFiles.py:442
Generated for CMSSW Reference Manual by
1.8.5