Fork me on GitHub

Changeset 4154bbd in git for modules/VertexFinderDA4D.h


Ignore:
Timestamp:
Sep 1, 2016, 12:56:40 PM (8 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
61569e0
Parents:
95b4e9f
Message:

adapt vertexing modules to ROOT 5.34 and GCC 4.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/VertexFinderDA4D.h

    r95b4e9f r4154bbd  
    3030  void Finish();
    3131
    32   struct track_t
    33   {
    34     double z;      // z-coordinate at point of closest approach to the beamline
    35     double t;      // t-coordinate at point of closest approach to the beamline
    36     double dz2;    // square of the error of z(pca)
    37     double dtz;    // covariance of z-t
    38     double dt2;    // square of the error of t(pca)
    39     Candidate* tt; // a pointer to the Candidate Track
    40     double Z;      // Z[i]   for DA clustering
    41     double pi;     // track weight
    42     double pt;
    43     double eta;
    44     double phi;
    45   };
    46 
    47 
    48   struct vertex_t
    49   {
    50     double z;
    51     double t;
    52     double pk;     // vertex weight for "constrained" clustering
    53     // --- temporary numbers, used during update
    54     double ei;
    55     double sw;
    56     double swz;
    57     double swt;
    58     double se;
    59     // ---for Tc
    60     double swE;
    61     double Tc;
    62   };
    63 
    64   void clusterize(const TObjArray & tracks, TObjArray & clusters);
    65 
     32  void clusterize(const TObjArray &tracks, TObjArray &clusters);
    6633  std::vector< Candidate* > vertices();
    67 
    68   std::vector<track_t> fill() const;
    69 
    70   bool split(double beta,
    71              std::vector<track_t> & tks,
    72              std::vector<vertex_t> & y) const;
    73 
    74   double update(double beta,
    75                 std::vector<track_t> & tks,
    76                 std::vector<vertex_t> & y) const;
    77 
    78   double update(double beta,
    79                 std::vector<track_t> & tks,
    80                 std::vector<vertex_t> & y,
    81                 double &)const;
    82 
    83   void dump(const double beta, const std::vector<vertex_t> & y, const std::vector<track_t> & tks) const;
    84   bool merge(std::vector<vertex_t> &) const;
    85   bool merge(std::vector<vertex_t> &, double &) const;
    86   bool purge(std::vector<vertex_t> &, std::vector<track_t> & , double &, const double) const;
    87 
    88   void splitAll(std::vector<vertex_t> &y) const;
    89 
    90   double beta0(const double betamax,
    91                std::vector<track_t> &tks,
    92                std::vector<vertex_t> &y)const;
    93 
    94   double Eik(const track_t &t, const vertex_t &k)const;
    9534
    9635private:
Note: See TracChangeset for help on using the changeset viewer.