Main Page
Namespaces
Classes
Package Documentation
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
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TauGenJetsDecayModeSelectorAllHadrons_cfi.select
select
Definition:
TauGenJetsDecayModeSelectorAllHadrons_cfi.py:5
Ptr.h
edm::Ptr
Definition:
AssociationVector.h:30
PrintVIDToString
Definition:
PrintVIDToString.h:11
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
VersionedSelector.h
VersionedSelector
cut-flow versioning info in the event provenance
Definition:
VersionedSelector.h:46
PrintVIDToString::operator()
std::string operator()(const VersionedSelector< edm::Ptr< T > > &select)
Definition:
PrintVIDToString.h:12
Generated for CMSSW Reference Manual by
1.8.11