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 trkTimeErrorHyp[3];
25  double trkTimeHyp[3];
26  };
27 
37 
38  double const minTrackVtxWeight_;
39  double const minTrackTimeQuality_;
40  double const probPion_;
41  double const probKaon_;
42  double const probProton_;
43  double const Tstart_;
44  double const coolingFactor_;
45 
55 };
56 
57 #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
edm::EDGetTokenT< edm::ValueMap< float > > const trackMTDSigmaTofPiToken_
static void fillPSetDescription(edm::ParameterSetDescription &iDesc)
edm::EDGetTokenT< edm::ValueMap< float > > const trackMTDTofPiToken_
edm::EDGetTokenT< edm::ValueMap< float > > const trackMTDSigmaTofKToken_
edm::EDGetTokenT< edm::ValueMap< float > > const trackMTDSigmaTofPToken_
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_