Fork me on GitHub

Ignore:
Timestamp:
Feb 12, 2019, 9:29:17 PM (6 years ago)
Author:
Pavel Demin <pavel-demin@…>
Branches:
ImprovedOutputFile, Timing, llp, master
Children:
6455202
Parents:
45e58be
Message:

apply .clang-format to all .h, .cc and .cpp files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/ExRootAnalysis/ExRootTreeWriter.cc

    r45e58be r341014c  
    1111#include "ExRootAnalysis/ExRootTreeBranch.h"
    1212
     13#include "TClonesArray.h"
     14#include "TFile.h"
    1315#include "TROOT.h"
    14 #include "TFile.h"
    1516#include "TTree.h"
    16 #include "TClonesArray.h"
    1717
    1818#include <iostream>
     19#include <sstream>
    1920#include <stdexcept>
    20 #include <sstream>
    2121
    2222using namespace std;
     
    3131ExRootTreeWriter::~ExRootTreeWriter()
    3232{
    33   set<ExRootTreeBranch*>::iterator itBranches;
     33  set<ExRootTreeBranch *>::iterator itBranches;
    3434  for(itBranches = fBranches.begin(); itBranches != fBranches.end(); ++itBranches)
    3535  {
    36     delete (*itBranches);
     36    delete(*itBranches);
    3737  }
    3838
     
    6969void ExRootTreeWriter::Clear()
    7070{
    71   set<ExRootTreeBranch*>::iterator itBranches;
     71  set<ExRootTreeBranch *>::iterator itBranches;
    7272  for(itBranches = fBranches.begin(); itBranches != fBranches.end(); ++itBranches)
    7373  {
     
    9595
    9696  tree->SetDirectory(fFile);
    97   tree->SetAutoSave(10000000);  // autosave when 10 MB written
     97  tree->SetAutoSave(10000000); // autosave when 10 MB written
    9898
    9999  return tree;
Note: See TracChangeset for help on using the changeset viewer.