BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtMacros.hh
Go to the documentation of this file.
1/*******************************************************************************
2 * Project: BaBar detector at the SLAC PEP-II B-factory
3 * Package: EvtGenBase
4 * File: $Id: EvtMacros.hh,v 1.1.1.2 2007/10/26 05:03:14 pingrg Exp $
5 * Author: Alexei Dvoretskii, [email protected], 2001-2002
6 *
7 * Copyright (C) 2002 Caltech
8 *******************************************************************************/
9
10// Useful macros.
11
12// In copy constructors, deep copy pointers via CLONE
13// and date members via COPY. 'other' is the name of the copied object
14
15#define COPY_PTR(X) X(other.X ? other.X->clone() : 0)
16#define COPY_MEM(X) X(other.X)
17