ATLAS Offline Software
Loading...
Searching...
No Matches
ClusterNtuple.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
9#ifndef CLUSTERNTUPLE_H
10#define CLUSTERNTUPLE_H
11
13#include <vector>
14#include <algorithm>
15
16class TTree;
17
18namespace ClusterSeg {
19
21
23
24 void initForWrite(TTree& tree);
25 void initForRead(TTree& tree);
26
27 void fill(const double& fillVal, FillType theFillType );
28 void fill( const Cluster& cluster );
29 void fill( const std::vector<Cluster*>& clusters );
30
31 bool read( std::vector<Cluster*>& clusters);
32 static void clean( std::vector<Cluster*>& clusters);
33
34 void reset();
35 void init();
36
37 static const int CLUSTERSIZE = 50000;
38
41 int nMDT;
42 int nMDTT;
48 double x[CLUSTERSIZE];
49 double y[CLUSTERSIZE];
50 double z[CLUSTERSIZE];
56 };
57
58}
59
60
61#endif
int tIndex[CLUSTERSIZE]
int pIndex[CLUSTERSIZE]
static void clean(std::vector< Cluster * > &clusters)
double chi2[CLUSTERSIZE]
double x[CLUSTERSIZE]
int barcode[CLUSTERSIZE]
double chi2T[CLUSTERSIZE]
void initForWrite(TTree &tree)
bool isPhi[CLUSTERSIZE]
double residual[CLUSTERSIZE]
void fill(const double &fillVal, FillType theFillType)
void initForRead(TTree &tree)
double z[CLUSTERSIZE]
static const int CLUSTERSIZE
bool read(std::vector< Cluster * > &clusters)
double residualT[CLUSTERSIZE]
double y[CLUSTERSIZE]
bool isMatch[CLUSTERSIZE]
TChain * tree