CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PrescalesVetosHelper.cc
Go to the documentation of this file.
2 
3 using namespace l1t;
4 
5 
7  return new PrescalesVetosHelper(es);
8 }
9 
12  x->useCopy();
13  return x;
14 }
15 
17  write_ = w;
18  check_write();
19  we_own_write_ = false;
21  read_ = write_;
22 }
23 
25 
28  we_own_write_ = true;
29  read_ = write_;
30 }
31 
33  if (we_own_write_ && write_) delete write_;
34 }
const double w
Definition: UKUtility.cc:23
PrescalesVetosHelper(L1TGlobalPrescalesVetos *w)
#define NULL
Definition: scimark2.h:8
T x() const
Cartesian x coordinate.
static const PrescalesVetosHelper * readFromEventSetup(const L1TGlobalPrescalesVetos *es)
L1TGlobalPrescalesVetos * write_
const L1TGlobalPrescalesVetos * read_
static PrescalesVetosHelper * readAndWriteFromEventSetup(const L1TGlobalPrescalesVetos *es)