#include <RootChamberWriter.h>
Public Member Functions | |
RootChamberWriter () | |
default ctor, for STL | |
RootChamberWriter (const std::string &treeName) | |
TTree * | tree () |
void | write (const edm::PSimHitContainer &hits) |
~RootChamberWriter () | |
writes the tree, and deletes everything | |
Private Attributes | |
TClonesArray * | theHits |
TTree * | theTree |
Definition at line 8 of file RootChamberWriter.h.
RootChamberWriter::RootChamberWriter | ( | ) | [inline] |
default ctor, for STL
Definition at line 12 of file RootChamberWriter.h.
RootChamberWriter::RootChamberWriter | ( | const std::string & | treeName | ) |
RootChamberWriter::~RootChamberWriter | ( | ) |
writes the tree, and deletes everything
Definition at line 13 of file RootChamberWriter.cc.
{ //std::cout << "WRITING " << theTree->GetEntries() << std::endl; // theTree->Write(); //delete theHits; //delete theTree; }
TTree* RootChamberWriter::tree | ( | ) | [inline] |
void RootChamberWriter::write | ( | const edm::PSimHitContainer & | hits | ) |
Definition at line 22 of file RootChamberWriter.cc.
References gather_cfg::cout, and i.
TClonesArray* RootChamberWriter::theHits [private] |
Definition at line 24 of file RootChamberWriter.h.
TTree* RootChamberWriter::theTree [private] |
Definition at line 23 of file RootChamberWriter.h.
Referenced by tree().