CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch1/src/PhysicsTools/MVATrainer/interface/SourceVariable.h

Go to the documentation of this file.
00001 #ifndef PhysicsTools_MVATrainer_SourceVariable_h
00002 #define PhysicsTools_MVATrainer_SourceVariable_h
00003 
00004 #include <vector>
00005 #include <set>
00006 
00007 #include "PhysicsTools/MVAComputer/interface/AtomicId.h"
00008 #include "PhysicsTools/MVAComputer/interface/Variable.h"
00009 
00010 namespace PhysicsTools {
00011 
00012 class Source;
00013 
00014 class SourceVariable : public Variable {
00015     public:
00016         SourceVariable(Source *source, AtomicId name,
00017                        Variable::Flags flags) :
00018                 Variable(name, flags), source(source) {}
00019         ~SourceVariable() {}
00020 
00021         Source *getSource() const { return source; }
00022 
00023     private:
00024         Source  *source;
00025 };
00026 
00027 } // namespace PhysicsTools
00028 
00029 #endif // PhysicsTools_MVATrainer_SourceVariable_h