CMS 3D CMS Logo

setIsMergeable.h
Go to the documentation of this file.
1 #ifndef DataFormats_Common_setIsMergeable_h
2 #define DataFormats_Common_setIsMergeable_h
3 // -*- C++ -*-
4 //
5 // Package: Common
6 // Class : setIsMergeable
7 //
8 /*
9  Description: Should be called only after the BranchDescription::init
10  function has been called either directly or through
11  the BranchDescription constructor.
12 
13  Helper function used to set the isMergeable data member
14  in BranchDescription. It would be much more convenient
15  to have been able to put this inside the BranchDescription
16  class itself in the init function, but the WrapperBase
17  class in package DataFormats/Common is needed to implement
18  this and that cannot be used in package DataFormats/Provenance
19  because it would create a circular dependency.
20 
21  Anything creating a BranchDescription or reading one from
22  a ROOT file will need to call this directly if they need
23  the isMergeable data member to be set properly. Note that
24  the isMergeable data member will default to false so if
25  you know there are no mergeable run or lumi products, calling
26  this is unnecessary.
27 */
28 //
29 // Original Author: W. David Dagenhart
30 // Created: 21 June 2018
31 //
32 
33 namespace edm {
34 
35  class BranchDescription;
36 
37  void setIsMergeable(BranchDescription&);
38 }
39 
40 #endif
HLT enums.
void setIsMergeable(BranchDescription &)