Fork me on GitHub

Changeset 95b4e9f in git for modules/VertexFinder.h


Ignore:
Timestamp:
Aug 31, 2016, 4:25:59 PM (8 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
4154bbd
Parents:
b195ba1
Message:

reorganize includes in vertexing modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/VertexFinder.h

    rb195ba1 r95b4e9f  
    1212
    1313#include "classes/DelphesModule.h"
    14 #include "classes/DelphesClasses.h"
    15 #include <utility>
    16 #include <algorithm>
    17 #include <stdexcept>
    18 #include <iostream>
     14
     15#include <string>
    1916#include <vector>
    20 #include <unordered_map>
    21 
    22 using namespace std;
     17#include <map>
    2318
    2419class TObjArray;
    25 class Candidate;
    26 class TVector3;
     20class TIterator;
    2721
    2822class VertexFinder: public DelphesModule
     
    3630  void Process();
    3731  void Finish();
    38 
    39   static Bool_t secondDescending (pair<UInt_t, Double_t>, pair<UInt_t, Double_t>);
    40   static Bool_t secondAscending (pair<UInt_t, Double_t>, pair<UInt_t, Double_t>);
    4132
    4233private:
     
    6152  TObjArray *fVertexOutputArray;
    6253
    63   map<UInt_t, map<string, Double_t> > trackIDToDouble;
    64   map<UInt_t, map<string, Int_t> > trackIDToInt;
    65   map<UInt_t, map<string, Bool_t> > trackIDToBool;
     54  std::map<UInt_t, std::map<std::string, Double_t> > trackIDToDouble;
     55  std::map<UInt_t, std::map<std::string, Int_t> > trackIDToInt;
     56  std::map<UInt_t, std::map<std::string, Bool_t> > trackIDToBool;
    6657
    67   map<UInt_t, map<string, Double_t> > clusterIDToDouble;
    68   map<UInt_t, map<string, Int_t> > clusterIDToInt;
    69   map<UInt_t, map<string, Bool_t> > clusterIDToBool;
    70   vector<pair<UInt_t, Double_t> > trackPT;
    71   vector<pair<UInt_t, Double_t> > clusterSumPT2;
     58  std::map<UInt_t, std::map<std::string, Double_t> > clusterIDToDouble;
     59  std::map<UInt_t, std::map<std::string, Int_t> > clusterIDToInt;
     60  std::map<UInt_t, std::map<std::string, Bool_t> > clusterIDToBool;
     61  std::vector<std::pair<UInt_t, Double_t> > trackPT;
     62  std::vector<std::pair<UInt_t, Double_t> > clusterSumPT2;
    7263
    7364  ClassDef(VertexFinder, 1)
Note: See TracChangeset for help on using the changeset viewer.