CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PrescalesVetosHelper.cc
Go to the documentation of this file.
2 
3 using namespace l1t;
4 
6  return new PrescalesVetosHelper(es);
7 }
8 
11  x->useCopy();
12  return x;
13 }
14 
16  write_ = w;
17  check_write();
18  we_own_write_ = false;
20  read_ = write_;
21 }
22 
24  read_ = es;
25  write_ = nullptr;
26 }
27 
30  we_own_write_ = true;
31  read_ = write_;
32 }
33 
35  if (we_own_write_ && write_)
36  delete write_;
37 }
const double w
Definition: UKUtility.cc:23
PrescalesVetosHelper(L1TGlobalPrescalesVetos *w)
static const PrescalesVetosHelper * readFromEventSetup(const L1TGlobalPrescalesVetos *es)
L1TGlobalPrescalesVetos * write_
const L1TGlobalPrescalesVetos * read_
static PrescalesVetosHelper * readAndWriteFromEventSetup(const L1TGlobalPrescalesVetos *es)