Skip to content
Snippets Groups Projects
Commit f0fd6257 authored by myliu@ihep.ac.cn's avatar myliu@ihep.ac.cn
Browse files

update 101 -2

parent a80dc6fb
No related branches found
No related tags found
No related merge requests found
......@@ -2,13 +2,29 @@
#define TrackerHitHelper_H
#include "edm4hep/TrackerHit.h"
#include "edm4hep/SimTrackerHit.h"
#include "edm4hep/MCRecoTrackerAssociationCollection.h"
#include "DDSegmentation/Segmentation.h"
#include "DetSegmentation/GridDriftChamber.h"
#include <array>
//namespace dd4hep {
// class Detector;
// namespace DDSegmentation{
// class GridDriftChamber;
// }
//}
namespace CEPC{
std::array<float, 6> GetCovMatrix(edm4hep::TrackerHit& hit, bool useSpacePointerBuilderMethod = false);
float GetResolutionRPhi(edm4hep::TrackerHit& hit);
float GetResolutionZ(edm4hep::TrackerHit& hit);
std::array<float, 6> ConvertToCovXYZ(float dU, float thetaU, float phiU, float dV, float thetaV, float phiV, bool useSpacePointBuilderMethod = false);
const edm4hep::SimTrackerHit getAssoClosestSimTrackerHit(
const edm4hep::MCRecoTrackerAssociationCollection* assoHits,
const edm4hep::TrackerHit trackerHit,
const dd4hep::DDSegmentation::GridDriftChamber* segmentation,
int docaMehtod);
}
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment