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
emulator
StJetMakerBackwordCompatibility.cxx
1
// $Id: StJetMakerBackwordCompatibility.cxx,v 1.6 2008/08/03 00:26:50 tai Exp $
2
// Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
3
#include "StJetMakerBackwordCompatibility.h"
4
5
#include "StjeDefaultJetTreeWriter.h"
6
7
void
StJetMakerBackwordCompatibility::addAnalyzer(
StppJetAnalyzer
* analyzer,
StjeTreeWriter
* treeWriter,
const
char
* name)
8
{
9
_jetBranches[name] = analyzer;
10
11
StjeDefaultJetTreeWriter
* defaultWriter =
dynamic_cast<
StjeDefaultJetTreeWriter
*
>
(treeWriter);
12
if
(!defaultWriter)
return
;
13
14
analyzer->setmuDstJets(defaultWriter->getLastStJets());
15
}
StjeDefaultJetTreeWriter
Definition:
StjeDefaultJetTreeWriter.h:21
StjeTreeWriter
Definition:
StjeTreeWriter.h:19
StppJetAnalyzer
Definition:
StppJetAnalyzer.h:19
Generated by
1.8.5