Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
#ifndef DataFormats_Common_setIsMergeable_h
#define DataFormats_Common_setIsMergeable_h
// -*- C++ -*-
//
// Package:     Common
// Class  :     setIsMergeable
//
/*
 Description: Should be called only after the ProductDescription::init
              function has been called either directly or through
              the ProductDescription constructor.

              Helper function used to set the isMergeable data member
              in ProductDescription. It would be much more convenient
              to have been able to put this inside the ProductDescription
              class itself in the init function, but the WrapperBase
              class in package DataFormats/Common is needed to implement
              this and that cannot be used in package DataFormats/Provenance
              because it would create a circular dependency.

              Anything creating a ProductDescription or reading one from
              a ROOT file will need to call this directly if they need
              the isMergeable data member to be set properly. Note that
              the isMergeable data member will default to false so if
              you know there are no mergeable run or lumi products, calling
              this is unnecessary.
*/
//
// Original Author:  W. David Dagenhart
//         Created:  21 June 2018
//
#include "DataFormats/Provenance/interface/ProductDescriptionFwd.h"

namespace edm {
  void setIsMergeable(ProductDescription&);
}  // namespace edm

#endif