Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
FWCore
Skeletons
scripts
mkTemplates
DataPkg
classes.h
Go to the documentation of this file.
1
#include "
DataFormats/Common/interface/Wrapper.h
"
2
3
//Add includes for your classes here
4
#include "__subsys__/__pkgname__/interface/YOUR_CLASS_GOES_HERE.h"
5
#include <vector>
6
7
namespace
FWCore_Skeletons {
8
struct
__subsys_____class__
{
9
//add 'dummy' Wrapper variable for each class type you put into the Event
10
edm::Wrapper<YOUR_CLASS_GOES_HERE>
dummy1
;
11
std::vector<YOUR_CLASS_GOES_HERE>
dummy2
;
12
edm::Wrapper<std::vector<YOUR_CLASS_GOES_HERE>
>
dummy3
;
13
/*
14
These classes are commented out because they are used more rarely. If you need them, move them
15
outside the comments and make the corresponding change in classes_def.xml
16
17
uncomment_h_here
18
19
edm::Ref<std::vector<YOUR_CLASS_GOES_HERE> > dummy4;
20
edm::RefVector<std::vector<YOUR_CLASS_GOES_HERE> > dummy5;
21
edm::RefProd<std::vector<YOUR_CLASS_GOES_HERE> > dummy6;
22
*/
23
24
};
25
}
Wrapper.h
FWCore_Skeletons::__subsys_____class__
Definition:
classes.h:8
FWCore_Skeletons::__subsys_____class__::dummy3
edm::Wrapper< std::vector< YOUR_CLASS_GOES_HERE > > dummy3
Definition:
classes.h:12
FWCore_Skeletons::__subsys_____class__::dummy2
std::vector< YOUR_CLASS_GOES_HERE > dummy2
Definition:
classes.h:11
edm::Wrapper< YOUR_CLASS_GOES_HERE >
FWCore_Skeletons::__subsys_____class__::dummy1
edm::Wrapper< YOUR_CLASS_GOES_HERE > dummy1
Definition:
classes.h:10
Generated for CMSSW Reference Manual by
1.8.5