5 name_ =
"HLTTauDQMTrkPlotter";
74 std::map<int,LVColl>::const_iterator iref;
75 iref = mcInfo.find(15);
83 for (
unsigned int i = 0;
i < tauTagInfos->size(); ++
i ) {
85 if ( &(*tauTagInfo.
jet()) ) {
86 LV theJet = tauTagInfo.
jet()->
p4();
88 std::pair<bool,LV>
m(
false,
LV());
89 if ( iref != mcInfo.end() ) m =
match(theJet,iref->second,
mcMatch_);
140 bool matched =
false;
142 for ( reco::CaloJetCollection::const_iterator it = McInfo.begin(); it != McInfo.end(); ++it ) {
143 double delta = ROOT::Math::VectorUtil::DeltaR(jet.
p4().Vect(),it->p4().Vect());
virtual char const * what() const
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * EtaEffNum
HLTTauDQMTrkPlotter(const edm::ParameterSet &, int, int, int, double, bool, double, std::string)
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Base class for all types of Jets.
const TrackRefVector selectedTracks() const
MonitorElement * PhiEffDenom
MonitorElement * isoJetEta
math::XYZTLorentzVectorD LV
void removeContents(void)
erase all monitoring elements in current directory (not including subfolders);
bool matchJet(const reco::Jet &, const reco::CaloJetCollection &)
std::string triggerTagAlias_
MonitorElement * nPxlTrksInL25Jet
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual edm::RefToBase< Jet > jet(void) const
returns a polymorphic reference to the tagged jet
MonitorElement * EtEffNum
MonitorElement * nQPxlTrksInL25Jet
MonitorElement * isoJetEt
MonitorElement * hasLeadTrack
MonitorElement * signalLeadTrkPt
void analyze(const edm::Event &, const edm::EventSetup &, const std::map< int, LVColl > &)
MonitorElement * PhiEffNum
TH1F * getTH1F(void) const
const TrackRef leadingSignalTrack() const
size_type size() const
Size of the RefVector.
MonitorElement * EtEffDenom
std::pair< bool, LV > match(const LV &, const LVColl &, double)
MonitorElement * EtaEffDenom
const TrackRefVector allTracks() const
MonitorElement * isoJetPhi
virtual const LorentzVector & p4() const
four-momentum Lorentz vector
void setCurrentFolder(const std::string &fullpath)
std::string dqmBaseFolder_
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects