CGEM BOSS 6.6.5.h
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 442 of file Hough.cxx.

443{
444 return fabs(trk1.pt())>fabs(trk2.pt());
445}

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

◆ moreHot()

bool moreHot ( HoughTrack trk1,
HoughTrack trk2 )

Definition at line 1568 of file Hough.cxx.

1569{
1570 int nHot1 = trk1.getHotList().size();
1571 int nHot2 = trk2.getHotList().size();
1572 return nHot1>nHot2;
1573 //return trk1.getHot().size() > trk2.getHot().size();
1574}
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 1892 of file Hough.cxx.

1892 {
1893 return clusterA->getlayerid()<clusterB->getlayerid();
1894}
int getlayerid(void) const