CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SourceVariable.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_MVATrainer_SourceVariable_h
2 #define PhysicsTools_MVATrainer_SourceVariable_h
3 
4 #include <vector>
5 #include <set>
6 
9 
10 namespace PhysicsTools {
11 
12 class Source;
13 
14 class SourceVariable : public Variable {
15  public:
18  Variable(name, flags), source(source) {}
20 
21  Source *getSource() const { return source; }
22 
23  private:
25 };
26 
27 } // namespace PhysicsTools
28 
29 #endif // PhysicsTools_MVATrainer_SourceVariable_h
Source * getSource() const
Class describing an input variable.
Definition: Variable.h:34
SourceVariable(Source *source, AtomicId name, Variable::Flags flags)
Cheap generic unique keyword identifier class.
Definition: AtomicId.h:32