CMS 3D CMS Logo

VertexTimeAlgorithmFromTracksPID.h
Go to the documentation of this file.
1 
2 #ifndef usercode_PrimaryVertexAnalyzer_VertexTimeAlgorithmFromTracksPID_h
3 #define usercode_PrimaryVertexAnalyzer_VertexTimeAlgorithmFromTracksPID_h
4 
6 
9 
11 public:
13  ~VertexTimeAlgorithmFromTracksPID() override = default;
14 
16 
17  void setEvent(edm::Event& iEvent, edm::EventSetup const& iSetup) override;
18 
19  bool vertexTime(float& vtxTime, float& vtxTimeError, TransientVertex const& vtx) const override;
20 
21 protected:
22  struct TrackInfo {
23  double trkWeight;
24  double trkTimeError;
25  double trkTimeHyp[3];
26  };
27 
34 
35  double const minTrackVtxWeight_;
36  double const minTrackTimeQuality_;
37  double const probPion_;
38  double const probKaon_;
39  double const probProton_;
40  double const Tstart_;
41  double const coolingFactor_;
42 
49 };
50 
51 #endif
edm::EDGetTokenT< edm::ValueMap< float > > const trackMTDTofKToken_
~VertexTimeAlgorithmFromTracksPID() override=default
edm::EDGetTokenT< edm::ValueMap< float > > const trackMTDTofPToken_
edm::EDGetTokenT< edm::ValueMap< float > > const trackMTDTimeQualityToken_
void setEvent(edm::Event &iEvent, edm::EventSetup const &iSetup) override
edm::EDGetTokenT< edm::ValueMap< float > > const trackMTDTimeToken_
int iEvent
Definition: GenABIO.cc:224
static void fillPSetDescription(edm::ParameterSetDescription &iDesc)
edm::EDGetTokenT< edm::ValueMap< float > > const trackMTDTofPiToken_
VertexTimeAlgorithmFromTracksPID(const edm::ParameterSet &conf, edm::ConsumesCollector &iC)
bool vertexTime(float &vtxTime, float &vtxTimeError, TransientVertex const &vtx) const override
edm::EDGetTokenT< edm::ValueMap< float > > const trackMTDTimeErrorToken_