ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHRTreeSeeding.cc File Reference
#include "PHRTreeSeeding.h"
#include <trackbase_historic/SvtxTrackMap.h>
#include <trackbase_historic/SvtxTrack_v1.h>
#include <trackbase_historic/SvtxVertex.h>
#include <trackbase_historic/SvtxVertexMap.h>
#include <trackbase/TrkrCluster.h>
#include <trackbase/TrkrClusterContainer.h>
#include <trackbase/TrkrDefs.h>
#include <trackbase/TrkrHitSet.h>
#include <trackbase/TrkrHitSetContainer.h>
#include <g4detectors/PHG4CylinderCellGeom.h>
#include <g4detectors/PHG4CylinderCellGeomContainer.h>
#include <g4detectors/PHG4CylinderGeom.h>
#include <g4detectors/PHG4CylinderGeomContainer.h>
#include <fun4all/Fun4AllReturnCodes.h>
#include <phool/PHTimer.h>
#include <phool/getClass.h>
#include <phool/phool.h>
#include <TFile.h>
#include <TNtuple.h>
#include <TVector3.h>
#include <boost/geometry.hpp>
#include <boost/geometry/geometries/box.hpp>
#include <boost/geometry/geometries/point.hpp>
#include <boost/geometry/index/rtree.hpp>
#include <algorithm>
#include <cmath>
#include <iostream>
#include <numeric>
#include <utility>
#include <vector>
+ Include dependency graph for PHRTreeSeeding.cc:

Go to the source code of this file.

Macros

#define LogDebug(exp)   std::cout << "DEBUG: " << __FILE__ << ": " << __LINE__ << ": " << exp
 
#define LogError(exp)   std::cout << "ERROR: " << __FILE__ << ": " << __LINE__ << ": " << exp
 
#define LogWarning(exp)   std::cout << "WARNING: " << __FILE__ << ": " << __LINE__ << ": " << exp
 

Typedefs

typedef bg::model::point
< float, 3, bg::cs::cartesian > 
point
 
typedef bg::model::box< pointbox
 
typedef std::pair< point,
TrkrDefs::cluskey
pointKey
 

Functions

bool comparing (TrkrCluster *tc1, TrkrCluster *tc2)
 
bool largeintersection (const vector< TrkrCluster * > &v1, const vector< TrkrCluster * > &v2)
 
vector< TrkrCluster * > yunion (const vector< TrkrCluster * > &v1, const vector< TrkrCluster * > &v2)
 
bool issuperset (const vector< TrkrCluster * > &larger, const vector< TrkrCluster * > &smaller)
 
void changetounion (vector< TrkrCluster * > &v1, const vector< TrkrCluster * > &v2)
 
double RosenBrock (const double *xx)
 
double costfunction (const double *xx)
 

Variables

vector< TrkrCluster * > clusterpoints
 
SvtxVertex_vertex
 

Macro Definition Documentation

#define LogDebug (   exp)    std::cout << "DEBUG: " << __FILE__ << ": " << __LINE__ << ": " << exp

Definition at line 64 of file PHRTreeSeeding.cc.

View newest version in sPHENIX GitHub at line 64 of file PHRTreeSeeding.cc

#define LogError (   exp)    std::cout << "ERROR: " << __FILE__ << ": " << __LINE__ << ": " << exp

Definition at line 65 of file PHRTreeSeeding.cc.

View newest version in sPHENIX GitHub at line 65 of file PHRTreeSeeding.cc

#define LogWarning (   exp)    std::cout << "WARNING: " << __FILE__ << ": " << __LINE__ << ": " << exp

Definition at line 66 of file PHRTreeSeeding.cc.

View newest version in sPHENIX GitHub at line 66 of file PHRTreeSeeding.cc

Typedef Documentation

typedef bg::model::box<point> box

Definition at line 61 of file PHRTreeSeeding.cc.

View newest version in sPHENIX GitHub at line 61 of file PHRTreeSeeding.cc

typedef bg::model::point<float, 3, bg::cs::cartesian> point

Definition at line 56 of file PHRTreeSeeding.cc.

View newest version in sPHENIX GitHub at line 56 of file PHRTreeSeeding.cc

typedef std::pair<point, TrkrDefs::cluskey> pointKey

Definition at line 62 of file PHRTreeSeeding.cc.

View newest version in sPHENIX GitHub at line 62 of file PHRTreeSeeding.cc

Function Documentation

void changetounion ( vector< TrkrCluster * > &  v1,
const vector< TrkrCluster * > &  v2 
)

Definition at line 302 of file PHRTreeSeeding.cc.

View newest version in sPHENIX GitHub at line 302 of file PHRTreeSeeding.cc

References yunion().

+ Here is the call graph for this function:

bool comparing ( TrkrCluster tc1,
TrkrCluster tc2 
)

Definition at line 237 of file PHRTreeSeeding.cc.

View newest version in sPHENIX GitHub at line 237 of file PHRTreeSeeding.cc

References TrkrCluster::getClusKey(), and TrkrDefs::getLayer().

Referenced by issuperset(), largeintersection(), and yunion().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double costfunction ( const double *  xx)

Definition at line 396 of file PHRTreeSeeding.cc.

View newest version in sPHENIX GitHub at line 396 of file PHRTreeSeeding.cc

bool issuperset ( const vector< TrkrCluster * > &  larger,
const vector< TrkrCluster * > &  smaller 
)

Definition at line 292 of file PHRTreeSeeding.cc.

View newest version in sPHENIX GitHub at line 292 of file PHRTreeSeeding.cc

References comparing().

+ Here is the call graph for this function:

bool largeintersection ( const vector< TrkrCluster * > &  v1,
const vector< TrkrCluster * > &  v2 
)

Definition at line 248 of file PHRTreeSeeding.cc.

View newest version in sPHENIX GitHub at line 248 of file PHRTreeSeeding.cc

References comparing(), TrkrDefs::getLayer(), int(), max, and v3.

+ Here is the call graph for this function:

double RosenBrock ( const double *  xx)

Definition at line 309 of file PHRTreeSeeding.cc.

View newest version in sPHENIX GitHub at line 309 of file PHRTreeSeeding.cc

References _vertex, clusterpoints, SvtxVertex::get_error(), SvtxVertex::get_x(), SvtxVertex::get_y(), SvtxVertex::get_z(), TrkrCluster::getError(), TrkrCluster::getX(), TrkrCluster::getY(), TrkrCluster::getZ(), and M_PI.

+ Here is the call graph for this function:

vector<TrkrCluster *> yunion ( const vector< TrkrCluster * > &  v1,
const vector< TrkrCluster * > &  v2 
)

Definition at line 279 of file PHRTreeSeeding.cc.

View newest version in sPHENIX GitHub at line 279 of file PHRTreeSeeding.cc

References comparing(), and v3.

Referenced by changetounion().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

SvtxVertex* _vertex

Definition at line 74 of file PHRTreeSeeding.cc.

View newest version in sPHENIX GitHub at line 74 of file PHRTreeSeeding.cc

Referenced by PHRTreeSeeding::FillTree(), PHRTreeSeeding::Process(), and RosenBrock().

vector<TrkrCluster *> clusterpoints

Definition at line 73 of file PHRTreeSeeding.cc.

View newest version in sPHENIX GitHub at line 73 of file PHRTreeSeeding.cc

Referenced by PHRTreeSeeding::chisq(), and RosenBrock().