PhysicsTools
SelectorUtils
interface
PrintVIDToString.h
Go to the documentation of this file.
1
#ifndef __PhysicsTools_SelectorUtils_PrintVIDToString_h__
2
#define __PhysicsTools_SelectorUtils_PrintVIDToString_h__
3
4
#include "
DataFormats/Common/interface/Ptr.h
"
5
#include "
PhysicsTools/SelectorUtils/interface/VersionedSelector.h
"
6
7
#include <sstream>
8
#include <string>
9
10
template
<
typename
T>
11
struct
PrintVIDToString
{
12
std::string
operator()
(
const
VersionedSelector
<
edm::Ptr<T>
>&
select
) {
13
std::stringstream
out
;
14
select
.print(
out
);
15
return
out
.str();
16
}
17
};
18
19
#endif
singleTopDQM_cfi.select
select
Definition:
singleTopDQM_cfi.py:50
VersionedSelector
cut-flow versioning info in the event provenance
Definition:
VersionedSelector.h:47
Ptr.h
VersionedSelector.h
PrintVIDToString
Definition:
PrintVIDToString.h:11
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::Ptr
Definition:
AssociationVector.h:31
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
PrintVIDToString::operator()
std::string operator()(const VersionedSelector< edm::Ptr< T > > &select)
Definition:
PrintVIDToString.h:12
Generated for CMSSW Reference Manual by
1.8.16