Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

PhysicsNtuple/Hist/HistMan.h File Reference

#include <iostream>
#include <map>
#include <string>
#include <vector>
#include "PhysicsNtuple/Hist1d.h"
#include "PhysicsNtuple/Mutex.h"

Go to the source code of this file.

Namespaces

namespace  Anp

Classes

class  Anp::AxisInfo
class  Anp::HistInfo
class  Anp::HistMan

Functions

TH1 * MakeTH1 (const std::string &dir, TDirectory *dir_, const std::string &key)
TH2 * MakeTH2 (const std::string &dir, TDirectory *dir_, const std::string &key)
std::ostream & operator<< (std::ostream &o, const HistInfo &self)
std::ostream & operator<< (std::ostream &o, const AxisInfo &self)


Function Documentation

TH1 * Anp::MakeTH1 const std::string &  dir,
TDirectory *  dir_,
const std::string &  key
 

Definition at line 1046 of file PhysicsNtuple/Hist/HistMan.cxx.

References Anp::HistMan::CreateTH1(), Anp::HistMan::Instance(), and Anp::SetDir().

Referenced by Anp::PlotTrackGeom::Set().

01047 {
01048    TH1 *h = Anp::HistMan::Instance().CreateTH1(key, dir);
01049    if(h)
01050    {
01051       Anp::SetDir(h, dir_);
01052    }
01053    
01054    return h;
01055 }

TH2 * Anp::MakeTH2 const std::string &  dir,
TDirectory *  dir_,
const std::string &  key
 

Definition at line 1058 of file PhysicsNtuple/Hist/HistMan.cxx.

References Anp::HistMan::CreateTH2(), Anp::HistMan::Instance(), and Anp::SetDir().

Referenced by Anp::PlotTrackGeom::Set(), and Anp::PlotEvent::Set().

01059 {
01060    TH2 *h = Anp::HistMan::Instance().CreateTH2(key, dir);
01061    if(h)
01062    {
01063       Anp::SetDir(h, dir_);
01064    }
01065    
01066    return h;
01067 }

ostream & Anp::operator<< std::ostream &  o,
const AxisInfo &  self
 

Definition at line 1039 of file PhysicsNtuple/Hist/HistMan.cxx.

References Anp::AxisInfo::Print().

01040 {
01041    self.Print(o);
01042    return o;
01043 }

std::ostream & Anp::operator<< std::ostream &  o,
const HistInfo &  self
 

Definition at line 974 of file PhysicsNtuple/Hist/HistMan.cxx.

References Anp::AxisInfo::Print().

00975 {
00976    self.Print(o);
00977    return o;
00978 }


Generated on Mon Feb 15 11:07:59 2010 for loon by  doxygen 1.3.9.1