|
6 | 6 | // Class : setIsMergeable |
7 | 7 | // |
8 | 8 | /* |
9 | | - Description: Should be called only after the BranchDescription::init |
| 9 | + Description: Should be called only after the ProductDescription::init |
10 | 10 | function has been called either directly or through |
11 | | - the BranchDescription constructor. |
| 11 | + the ProductDescription constructor. |
12 | 12 |
|
13 | 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 |
| 14 | + in ProductDescription. It would be much more convenient |
| 15 | + to have been able to put this inside the ProductDescription |
16 | 16 | class itself in the init function, but the WrapperBase |
17 | 17 | class in package DataFormats/Common is needed to implement |
18 | 18 | this and that cannot be used in package DataFormats/Provenance |
19 | 19 | because it would create a circular dependency. |
20 | 20 |
|
21 | | - Anything creating a BranchDescription or reading one from |
| 21 | + Anything creating a ProductDescription or reading one from |
22 | 22 | a ROOT file will need to call this directly if they need |
23 | 23 | the isMergeable data member to be set properly. Note that |
24 | 24 | the isMergeable data member will default to false so if |
|
29 | 29 | // Original Author: W. David Dagenhart |
30 | 30 | // Created: 21 June 2018 |
31 | 31 | // |
| 32 | +#include "DataFormats/Provenance/interface/ProductDescriptionFwd.h" |
32 | 33 |
|
33 | 34 | namespace edm { |
34 | | - |
35 | | - class BranchDescription; |
36 | | - |
37 | | - void setIsMergeable(BranchDescription&); |
| 35 | + void setIsMergeable(ProductDescription&); |
38 | 36 | } // namespace edm |
39 | 37 |
|
40 | 38 | #endif |
0 commit comments