StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StjJetListVariation.h
1 // -*- mode: c++;-*-
2 // $Id: StjJetListVariation.h,v 1.1 2008/09/12 22:32:59 tai Exp $
3 // Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
4 #ifndef STJJETLISTVARIATION_H
5 #define STJJETLISTVARIATION_H
6 
7 #include <TObject.h>
8 
9 #include "StjJetList.h"
10 #include "StjJetVariation.h"
11 
12 #include <vector>
13 
14 class StjJetListVariation : public TObject {
15 
16 public:
18  virtual ~StjJetListVariation() { }
19 
20  StjJetList operator()(const StjJetList& inList);
21 
22  void addVariation(StjJetVariation* var) {
23  _varList.push_back(var);
24  }
25 
26  typedef std::vector<StjJetVariation*> VarList;
27  VarList getVariationList() { return _varList; }
28 
29 private:
30 
31  StjJet vary(const StjJet& item);
32 
33  VarList _varList;
34 
35  ClassDef(StjJetListVariation, 1)
36 
37 };
38 
39 #endif // STJJETLISTVARIATION_H