11 #include "HepPDT/ParticleID.hh" 52 typedef std::vector<int>
vint;
81 double d,
double a,
double t,
double l,
double i,
double p,
double c, std::size_t
h, std::size_t
x) {
125 hits =
new TH1F(
name.c_str(),
title.c_str(), 19, -0.5, 18.5);
141 tip =
new TH1F(
name.c_str(),
title.c_str(), 100, -0.3, 0.3);
145 lip =
new TH1F(
name.c_str(),
title.c_str(), 100, -1., 1.);
149 ips =
new TH1F(
name.c_str(),
title.c_str(), 100, -25.0, 25.0);
153 sdl =
new TH1F(
name.c_str(),
title.c_str(), 100, -5., 5.);
157 dta =
new TH1F(
name.c_str(),
title.c_str(), 100, 0.0, 0.2);
210 classifier_(
config, consumesCollector()) {
223 trackQualityType.begin(), trackQualityType.end(), trackQualityType.begin(), (
int (*)(
int))std::tolower);
224 if (trackQualityType ==
"any") {
241 event.getByToken(
vtxToken_, primaryVertexCollection);
265 for (std::size_t
i = 0;
i < 6;
i++) {
301 if (!primaryVertexProducer_->empty()) {
303 std::vector<reco::Vertex> sortedList =
pvs.sortedList(*(primaryVertexProducer_.
product()));
304 pv = (sortedList.front());
308 e(0, 0) = 0.0015 * 0.0015;
309 e(1, 1) = 0.0015 * 0.0015;
319 for (; it != jetTracksAssociation->
end(); it++,
i++) {
histogram_element_t(double d, double a, double t, double l, double i, double p, double c, std::size_t h, std::size_t x)
std::vector< std::vector< histogram_element_t > > histogram_data_t
double maximumChiSquared_
transient_vector_type::const_iterator const_iterator
const edm::EDGetTokenT< reco::JetTracksAssociationCollection > jtaToken_
TrackQuality
track quality
#define DEFINE_FWK_MODULE(type)
reco::TrackBase::TrackQuality trackQuality_
JetTracksAssociation::Container JetTracksAssociationCollection
typedefs for backward compatibility
T const * product() const
void LoopOverJetTracksAssociation(const edm::ESHandle< TransientTrackBuilder > &, const edm::Handle< reco::VertexCollection > &, const edm::Handle< reco::JetTracksAssociationCollection > &)
math::Error< dimension >::type Error
covariance error matrix (3x3)
const_iterator begin() const
TrackClassifier classifier_
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > ttrkToken_
std::vector< Vertex > VertexCollection
reco::TransientTrack build(const reco::Track *p) const
histogram_element_t(const histogram_element_t &orig)
histogram_t(const std::string &particleType)
T const * product() const
int minimumNumberOfPixelHits_
bool is(Category category) const
Returns track flag for a given category.
const edm::EDGetTokenT< edm::View< reco::Track > > trkToken_
void analyze(const edm::Event &, const edm::EventSetup &) override
math::XYZPoint Point
point in the space
void newEvent(edm::Event const &, edm::EventSetup const &)
Pre-process event information (for accessing reconstraction information)
const_iterator end() const
std::vector< std::string > vstring
static constexpr float d0
Get track history and classify it in function of their .
static TrackQuality qualityByName(const std::string &name)
auto const & tracks
cannot be loose
TrackClassifier const & evaluate(reco::TrackBaseRef const &)
Classify the RecoTrack in categories.
const edm::EDGetTokenT< reco::VertexCollection > vtxToken_
void Fill(const histogram_element_t &data)
deadvectors [0] push_back({0.0175431, 0.538005, 6.80997, 13.29})
QualityCutsAnalyzer(const edm::ParameterSet &)
char data[epos_bytes_allocation]
double minimumTransverseMomentum_
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
~QualityCutsAnalyzer() override=default
histogram_data_t histogram_data_