StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StJetMaker
jets
StjJetListVariation.cxx
1
// $Id: StjJetListVariation.cxx,v 1.1 2008/09/12 22:32:59 tai Exp $
2
// Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
3
#include "StjJetListVariation.h"
4
5
ClassImp(
StjJetListVariation
)
6
7
using namespace std;
8
9
StjJetList
StjJetListVariation
::operator()(const StjJetList &inList)
10
{
11
StjJetList ret;
12
13
for
(StjJetList::const_iterator it = inList.begin(); it != inList.end(); ++it) {
14
ret.push_back(vary(*it));
15
}
16
17
return
ret;
18
}
19
20
21
StjJet
StjJetListVariation::vary(
const
StjJet
& iterm)
22
{
23
StjJet
ret(iterm);
24
25
for
(VarList::iterator var = _varList.begin(); var != _varList.end(); ++var){
26
ret = (**var)(ret);
27
}
28
29
return
ret;
30
}
StjJet
Definition:
StjJetList.h:15
StjJetListVariation
Definition:
StjJetListVariation.h:14
Generated by
1.8.5