CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
Hough.cxx File Reference
#include "GaudiKernel/SmartDataPtr.h"
#include "GaudiKernel/Bootstrap.h"
#include "GaudiKernel/IDataManagerSvc.h"
#include "GaudiKernel/IDataProviderSvc.h"
#include "GaudiKernel/IPartPropSvc.h"
#include "HoughTransAlg/Hough.h"
#include "EventModel/EventHeader.h"
#include "EvTimeEvent/RecEsTime.h"
#include "McTruth/McParticle.h"
#include "HepPDT/ParticleDataTable.hh"
#include "MdcTrkRecon/MdcTrackParams.h"
#include "MdcRecoUtil/Pdt.h"
#include "Identifier/Identifier.h"
#include "Identifier/CgemID.h"
#include "Identifier/MdcID.h"
#include "MdcGeom/MdcDetector.h"
#include "MdcData/MdcRecoHitOnTrack.h"
#include "CgemData/CgemHitOnTrack.h"
#include "TrkBase/TrkRep.h"
#include "TrkBase/TrkDifTraj.h"
#include "TrkBase/TrkExchangePar.h"
#include <math.h>
#include <iostream>
#include <fstream>

Go to the source code of this file.

Functions

bool largerPt (HoughTrack trk1, HoughTrack trk2)
 
bool moreHot (HoughTrack trk1, HoughTrack trk2)
 
bool sortCluster (const RecCgemCluster *clusterA, const RecCgemCluster *clusterB)
 

Function Documentation

◆ largerPt()

bool largerPt ( HoughTrack trk1,
HoughTrack trk2 )

Definition at line 451 of file Hough.cxx.

452{
453 return fabs(trk1.pt())>fabs(trk2.pt());
454}

Referenced by HoughFinder::getMcParticleCol(), HoughFinder::storeRecTracks(), and HoughFinder::storeTracks().

◆ moreHot()

bool moreHot ( HoughTrack trk1,
HoughTrack trk2 )

Definition at line 1594 of file Hough.cxx.

1595{
1596 int nHot1 = trk1.getHotList().size();
1597 int nHot2 = trk2.getHotList().size();
1598 return nHot1>nHot2;
1599 //return trk1.getHot().size() > trk2.getHot().size();
1600}
vector< HoughHit * > getHotList(int type=2)

Referenced by HoughFinder::checkHot(), and HoughFinder::checkTrack().

◆ sortCluster()

bool sortCluster ( const RecCgemCluster * clusterA,
const RecCgemCluster * clusterB )

Definition at line 1918 of file Hough.cxx.

1918 {
1919 return clusterA->getlayerid()<clusterB->getlayerid();
1920}
int getlayerid(void) const