CMS 3D CMS Logo

BPHWriteSpecificDecay.h
Go to the documentation of this file.
1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHWriteSpecificDecay_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHWriteSpecificDecay_h
3 
5 
10 
14 
17 
23 
26 
27 #include <string>
28 #include <vector>
29 #include <map>
30 
31 class TH1F;
32 class BPHRecoCandidate;
33 
34 class BPHWriteSpecificDecay : public BPHAnalyzerWrapper<BPHModuleWrapper::one_producer> {
35 public:
36  explicit BPHWriteSpecificDecay(const edm::ParameterSet& ps);
37  ~BPHWriteSpecificDecay() override;
38 
39  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
40 
41  void beginJob() override;
42  void produce(edm::Event& ev, const edm::EventSetup& es) override;
43  virtual void fill(edm::Event& ev, const edm::EventSetup& es);
44  void endJob() override;
45 
46 private:
57 
58  // token wrappers to allow running both on "old" and "new" CMSSW versions
69 
70  bool usePV;
71  bool usePM;
72  bool useCC;
73  bool usePF;
74  bool usePC;
75  bool useGP;
76  bool useK0;
77  bool useL0;
78  bool useKS;
79  bool useLS;
80 
93 
94  enum recoType {
96  Pmm,
99  Ups,
105  Bu,
106  Bd,
107  Bs,
110  B0,
112  Bc,
114  };
115  enum parType {
137  };
138  std::map<std::string, recoType> rMap;
139  std::map<std::string, parType> pMap;
140  std::map<std::string, parType> fMap;
141  std::map<recoType, std::map<parType, double>> parMap;
142 
143  bool recoOnia;
144  bool recoKx0;
145  bool recoPkk;
146  bool recoBu;
147  bool recoBd;
148  bool recoBs;
149  bool recoK0s;
151  bool recoB0;
153  bool recoBc;
154  bool recoX3872;
155 
156  bool writeOnia;
157  bool writeKx0;
158  bool writePkk;
159  bool writeBu;
160  bool writeBd;
161  bool writeBs;
162  bool writeK0s;
164  bool writeB0;
166  bool writeBc;
168 
171 
172  std::vector<BPHPlusMinusConstCandPtr> lFull;
173  std::vector<BPHPlusMinusConstCandPtr> lJPsi;
174  std::vector<BPHRecoConstCandPtr> lSd;
175  std::vector<BPHRecoConstCandPtr> lSs;
176  std::vector<BPHRecoConstCandPtr> lBu;
177  std::vector<BPHRecoConstCandPtr> lBd;
178  std::vector<BPHRecoConstCandPtr> lBs;
179  std::vector<BPHPlusMinusConstCandPtr> lK0;
180  std::vector<BPHPlusMinusConstCandPtr> lL0;
181  std::vector<BPHRecoConstCandPtr> lB0;
182  std::vector<BPHRecoConstCandPtr> lLb;
183  std::vector<BPHRecoConstCandPtr> lBc;
184  std::vector<BPHRecoConstCandPtr> lX3872;
185 
186  std::map<const BPHRecoCandidate*, const BPHRecoCandidate*> jPsiOMap;
187  std::map<const BPHRecoCandidate*, const BPHRecoCandidate*> daughMap;
189  std::map<const BPHRecoCandidate*, vertex_ref> pvRefMap;
191  std::map<const BPHRecoCandidate*, compcc_ref> ccRefMap;
192 
193  void setRecoParameters(const edm::ParameterSet& ps);
194 
195  template <class T>
197  const std::vector<T>& list,
198  const std::string& name) {
200  int i;
201  int n = list.size();
202  std::map<const BPHRecoCandidate*, const BPHRecoCandidate*>::const_iterator dauIter;
203  std::map<const BPHRecoCandidate*, const BPHRecoCandidate*>::const_iterator dauIend = daughMap.end();
204  std::map<const BPHRecoCandidate*, const BPHRecoCandidate*>::const_iterator jpoIter;
205  std::map<const BPHRecoCandidate*, const BPHRecoCandidate*>::const_iterator jpoIend = jPsiOMap.end();
206  std::map<const BPHRecoCandidate*, vertex_ref>::const_iterator pvrIter;
207  std::map<const BPHRecoCandidate*, vertex_ref>::const_iterator pvrIend = pvRefMap.end();
208  std::map<const BPHRecoCandidate*, compcc_ref>::const_iterator ccrIter;
209  std::map<const BPHRecoCandidate*, compcc_ref>::const_iterator ccrIend = ccRefMap.end();
210  for (i = 0; i < n; ++i) {
211  const T& ptr = list[i];
212  ccList->push_back(ptr->composite());
213  pat::CompositeCandidate& cc = ccList->back();
214  if ((pvrIter = pvRefMap.find(ptr.get())) != pvrIend)
215  cc.addUserData("primaryVertex", pvrIter->second);
216  const std::vector<std::string>& cNames = ptr->compNames();
217  int j = 0;
218  int m = cNames.size();
219  while (j < m) {
220  const std::string& compName = cNames[j++];
221  const BPHRecoCandidate* cptr = ptr->getComp(compName).get();
222  if ((ccrIter = ccRefMap.find(cptr)) == ccrIend) {
223  if ((dauIter = daughMap.find(cptr)) != dauIend)
224  cptr = dauIter->second;
225  if ((jpoIter = jPsiOMap.find(cptr)) != jpoIend)
226  cptr = jpoIter->second;
227  }
228  if ((ccrIter = ccRefMap.find(cptr)) != ccrIend) {
229  compcc_ref cref = ccrIter->second;
230  if (cref.isNonnull())
231  cc.addUserData("refTo" + compName, cref);
232  }
233  }
234  const BPHPlusMinusCandidate* pmp = dynamic_cast<const BPHPlusMinusCandidate*>(ptr.get());
235  if (pmp != nullptr) {
236  cc.addUserData("cowboy", pmp->isCowboy());
237  // cc.addUserFloat( "dca", pmp->cAppInRPhi().distance() );
238  }
239  if (writeVertex)
240  cc.addUserData("vertex", ptr->vertex());
241  if (ptr->isEmpty())
242  continue;
243  if (writeVertex)
244  cc.addUserData("fitVertex", reco::Vertex(*ptr->topDecayVertex()));
245  if (ptr->isValidFit()) {
246  const RefCountedKinematicParticle kinPart = ptr->topParticle();
247  const KinematicState kinStat = kinPart->currentState();
248  cc.addUserFloat("fitMass", kinStat.mass());
249  if (writeMomentum)
250  cc.addUserData("fitMomentum", kinStat.kinematicParameters().momentum());
251  }
252  }
253  typedef std::unique_ptr<pat::CompositeCandidateCollection> ccc_pointer;
254  edm::OrphanHandle<pat::CompositeCandidateCollection> ccHandle = ev.put(ccc_pointer(ccList), name);
255  for (i = 0; i < n; ++i) {
256  const BPHRecoCandidate* ptr = list[i].get();
258  ccRefMap[ptr] = ccRef;
259  }
260  return ccHandle;
261  }
262 };
263 
264 #endif
BPHWriteSpecificDecay::writeX3872
bool writeX3872
Definition: BPHWriteSpecificDecay.h:167
BPHWriteSpecificDecay::Lambda0
Definition: BPHWriteSpecificDecay.h:109
BPHWriteSpecificDecay::recoBc
bool recoBc
Definition: BPHWriteSpecificDecay.h:153
BPHWriteSpecificDecay::lSCandsLabel
std::string lSCandsLabel
Definition: BPHWriteSpecificDecay.h:56
CompositeCandidate.h
BPHWriteSpecificDecay::parMap
std::map< recoType, std::map< parType, double > > parMap
Definition: BPHWriteSpecificDecay.h:141
BPHWriteSpecificDecay::useGP
bool useGP
Definition: BPHWriteSpecificDecay.h:75
BPHTrackReference.h
mps_fire.i
i
Definition: mps_fire.py:355
BPHWriteSpecificDecay::writeLambdab
bool writeLambdab
Definition: BPHWriteSpecificDecay.h:165
BPHWriteSpecificDecay::writeCandidate
Definition: BPHWriteSpecificDecay.h:136
BPHWriteSpecificDecay::recoK0s
bool recoK0s
Definition: BPHWriteSpecificDecay.h:149
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
BPHWriteSpecificDecay::lbName
std::string lbName
Definition: BPHWriteSpecificDecay.h:90
BPHWriteSpecificDecay::bcName
std::string bcName
Definition: BPHWriteSpecificDecay.h:91
BPHWriteSpecificDecay::setRecoParameters
void setRecoParameters(const edm::ParameterSet &ps)
Definition: BPHWriteSpecificDecay.cc:1285
BPHWriteSpecificDecay::l0CandsLabel
std::string l0CandsLabel
Definition: BPHWriteSpecificDecay.h:54
PFCandidate.h
BPHWriteSpecificDecay::k0CandsLabel
std::string k0CandsLabel
Definition: BPHWriteSpecificDecay.h:53
BPHWriteSpecificDecay::Ups2
Definition: BPHWriteSpecificDecay.h:101
BPHWriteSpecificDecay::Pkk
Definition: BPHWriteSpecificDecay.h:104
KinematicState
Definition: KinematicState.h:17
BPHWriteSpecificDecay::K0s
Definition: BPHWriteSpecificDecay.h:108
pat::CompositeCandidate
Analysis-level particle class.
Definition: CompositeCandidate.h:31
BPHWriteSpecificDecay::recoType
recoType
Definition: BPHWriteSpecificDecay.h:94
Muon.h
BPHWriteSpecificDecay::x3872Name
std::string x3872Name
Definition: BPHWriteSpecificDecay.h:92
BPHWriteSpecificDecay::writePkk
bool writePkk
Definition: BPHWriteSpecificDecay.h:158
BPHWriteSpecificDecay::lLb
std::vector< BPHRecoConstCandPtr > lLb
Definition: BPHWriteSpecificDecay.h:182
GenericParticle.h
BPHWriteSpecificDecay::pcCandsLabel
std::string pcCandsLabel
Definition: BPHWriteSpecificDecay.h:51
BPHPlusMinusCandidate
Definition: BPHPlusMinusCandidate.h:32
BPHWriteSpecificDecay::Bs
Definition: BPHWriteSpecificDecay.h:107
pat::CompositeCandidateCollection
std::vector< CompositeCandidate > CompositeCandidateCollection
Definition: CompositeCandidate.h:22
KinematicParameters::momentum
GlobalVector momentum() const
Definition: KinematicParameters.h:43
BPHWriteSpecificDecay::constrSigma
Definition: BPHWriteSpecificDecay.h:134
BPHTokenWrapper
Definition: BPHAnalyzerTokenWrapper.h:45
BPHWriteSpecificDecay::lFull
std::vector< BPHPlusMinusConstCandPtr > lFull
Definition: BPHWriteSpecificDecay.h:172
BPHWriteSpecificDecay::Pmm
Definition: BPHWriteSpecificDecay.h:96
ReferenceCountingPointer< KinematicParticle >
BPHWriteSpecificDecay::writeOnia
bool writeOnia
Definition: BPHWriteSpecificDecay.h:156
BPHWriteSpecificDecay::write
edm::OrphanHandle< pat::CompositeCandidateCollection > write(edm::Event &ev, const std::vector< T > &list, const std::string &name)
Definition: BPHWriteSpecificDecay.h:196
BPHWriteSpecificDecay::writeBu
bool writeBu
Definition: BPHWriteSpecificDecay.h:159
BPHWriteSpecificDecay::ccCandsLabel
std::string ccCandsLabel
Definition: BPHWriteSpecificDecay.h:49
BPHWriteSpecificDecay::l0CandsToken
BPHTokenWrapper< std::vector< reco::VertexCompositeCandidate > > l0CandsToken
Definition: BPHWriteSpecificDecay.h:66
BPHWriteSpecificDecay::Lambdab
Definition: BPHWriteSpecificDecay.h:111
BPHWriteSpecificDecay::fill
virtual void fill(edm::Event &ev, const edm::EventSetup &es)
Definition: BPHWriteSpecificDecay.cc:303
edm::Ref
Definition: AssociativeIterator.h:58
BPHWriteSpecificDecay::pMap
std::map< std::string, parType > pMap
Definition: BPHWriteSpecificDecay.h:139
BPHWriteSpecificDecay::Ups3
Definition: BPHWriteSpecificDecay.h:102
BPHWriteSpecificDecay::useKS
bool useKS
Definition: BPHWriteSpecificDecay.h:78
BPHWriteSpecificDecay::gpCandsToken
BPHTokenWrapper< std::vector< pat::GenericParticle > > gpCandsToken
Definition: BPHWriteSpecificDecay.h:64
BPHWriteSpecificDecay::Psi2
Definition: BPHWriteSpecificDecay.h:98
BPHWriteSpecificDecay::gpCandsLabel
std::string gpCandsLabel
Definition: BPHWriteSpecificDecay.h:52
BPHWriteSpecificDecay::ssName
std::string ssName
Definition: BPHWriteSpecificDecay.h:83
BPHWriteSpecificDecay::oniaName
std::string oniaName
Definition: BPHWriteSpecificDecay.h:81
BPHWriteSpecificDecay::buName
std::string buName
Definition: BPHWriteSpecificDecay.h:84
BPHWriteSpecificDecay::kSCandsToken
BPHTokenWrapper< std::vector< reco::VertexCompositePtrCandidate > > kSCandsToken
Definition: BPHWriteSpecificDecay.h:67
BPHWriteSpecificDecay::mKx0Min
Definition: BPHWriteSpecificDecay.h:120
BPHWriteSpecificDecay::mLambda0Min
Definition: BPHWriteSpecificDecay.h:126
Track.h
BPHWriteSpecificDecay::l0Name
std::string l0Name
Definition: BPHWriteSpecificDecay.h:88
VertexCompositeCandidate.h
BPHWriteSpecificDecay::recoLambda0
bool recoLambda0
Definition: BPHWriteSpecificDecay.h:150
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
BPHWriteSpecificDecay::etaMax
Definition: BPHWriteSpecificDecay.h:117
BPHWriteSpecificDecay::produce
void produce(edm::Event &ev, const edm::EventSetup &es) override
Definition: BPHWriteSpecificDecay.cc:274
BPHWriteSpecificDecay::ccCandsToken
BPHTokenWrapper< std::vector< pat::CompositeCandidate > > ccCandsToken
Definition: BPHWriteSpecificDecay.h:61
BPHWriteSpecificDecay::mKx0Max
Definition: BPHWriteSpecificDecay.h:121
BPHWriteSpecificDecay::recoBd
bool recoBd
Definition: BPHWriteSpecificDecay.h:147
BPHWriteSpecificDecay::useCC
bool useCC
Definition: BPHWriteSpecificDecay.h:72
BPHWriteSpecificDecay::recoX3872
bool recoX3872
Definition: BPHWriteSpecificDecay.h:154
BPHWriteSpecificDecay::recoOnia
bool recoOnia
Definition: BPHWriteSpecificDecay.h:143
BPHWriteSpecificDecay::writeBd
bool writeBd
Definition: BPHWriteSpecificDecay.h:160
BPHWriteSpecificDecay::pfCandsToken
BPHTokenWrapper< std::vector< reco::PFCandidate > > pfCandsToken
Definition: BPHWriteSpecificDecay.h:62
BPHWriteSpecificDecay::mFitMin
Definition: BPHWriteSpecificDecay.h:131
BPHWriteSpecificDecay::Bd
Definition: BPHWriteSpecificDecay.h:106
BPHWriteSpecificDecay::massMin
Definition: BPHWriteSpecificDecay.h:128
BPHAnalyzerTokenWrapper.h
BPHWriteSpecificDecay::pVertexLabel
std::string pVertexLabel
Definition: BPHWriteSpecificDecay.h:47
BPHWriteSpecificDecay::patMuonToken
BPHTokenWrapper< pat::MuonCollection > patMuonToken
Definition: BPHWriteSpecificDecay.h:60
BPHWriteSpecificDecay::useK0
bool useK0
Definition: BPHWriteSpecificDecay.h:76
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
BPHWriteSpecificDecay::recoKx0
bool recoKx0
Definition: BPHWriteSpecificDecay.h:144
BPHWriteSpecificDecay::fMap
std::map< std::string, parType > fMap
Definition: BPHWriteSpecificDecay.h:140
BPHWriteSpecificDecay::recoLambdab
bool recoLambdab
Definition: BPHWriteSpecificDecay.h:152
BPHWriteSpecificDecay::recoBs
bool recoBs
Definition: BPHWriteSpecificDecay.h:148
BPHWriteSpecificDecay::writeVertex
bool writeVertex
Definition: BPHWriteSpecificDecay.h:169
BPHWriteSpecificDecay::mPsiMax
Definition: BPHWriteSpecificDecay.h:119
edm::ParameterSet
Definition: ParameterSet.h:36
BPHWriteSpecificDecay::mK0sMax
Definition: BPHWriteSpecificDecay.h:125
BPHWriteSpecificDecay::pvRefMap
std::map< const BPHRecoCandidate *, vertex_ref > pvRefMap
Definition: BPHWriteSpecificDecay.h:189
BPHWriteSpecificDecay::lSCandsToken
BPHTokenWrapper< std::vector< reco::VertexCompositePtrCandidate > > lSCandsToken
Definition: BPHWriteSpecificDecay.h:68
BPHWriteSpecificDecay::b0Name
std::string b0Name
Definition: BPHWriteSpecificDecay.h:89
Event.h
BPHWriteSpecificDecay::compcc_ref
edm::Ref< pat::CompositeCandidateCollection > compcc_ref
Definition: BPHWriteSpecificDecay.h:190
BPHWriteSpecificDecay::lK0
std::vector< BPHPlusMinusConstCandPtr > lK0
Definition: BPHWriteSpecificDecay.h:179
BPHWriteSpecificDecay::usePF
bool usePF
Definition: BPHWriteSpecificDecay.h:73
BPHWriteSpecificDecay::B0
Definition: BPHWriteSpecificDecay.h:110
edm::Ref::isNonnull
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:238
BPHWriteSpecificDecay::recoBu
bool recoBu
Definition: BPHWriteSpecificDecay.h:146
BPHWriteSpecificDecay::lSs
std::vector< BPHRecoConstCandPtr > lSs
Definition: BPHWriteSpecificDecay.h:175
BPHWriteSpecificDecay::Kx0
Definition: BPHWriteSpecificDecay.h:103
BPHVertexCompositePtrCandidate.h
BPHWriteSpecificDecay::k0CandsToken
BPHTokenWrapper< std::vector< reco::VertexCompositeCandidate > > k0CandsToken
Definition: BPHWriteSpecificDecay.h:65
BPHWriteSpecificDecay
Definition: BPHWriteSpecificDecay.h:34
BPHDecayMomentum::getComp
virtual BPHRecoConstCandPtr getComp(const std::string &name) const
Definition: BPHDecayMomentum.cc:106
BPHWriteSpecificDecay::usePV
bool usePV
Definition: BPHWriteSpecificDecay.h:70
BPHWriteSpecificDecay::~BPHWriteSpecificDecay
~BPHWriteSpecificDecay() override
Definition: BPHWriteSpecificDecay.cc:215
BPHWriteSpecificDecay::ccRefMap
std::map< const BPHRecoCandidate *, compcc_ref > ccRefMap
Definition: BPHWriteSpecificDecay.h:191
edm::EventSetup
Definition: EventSetup.h:57
BPHWriteSpecificDecay::writeKx0
bool writeKx0
Definition: BPHWriteSpecificDecay.h:157
BPHWriteSpecificDecay::X3872
Definition: BPHWriteSpecificDecay.h:113
cc
BPHWriteSpecificDecay::mPhiMax
Definition: BPHWriteSpecificDecay.h:123
BPHWriteSpecificDecay::Ups
Definition: BPHWriteSpecificDecay.h:99
BPHWriteSpecificDecay::Onia
Definition: BPHWriteSpecificDecay.h:95
BPHWriteSpecificDecay::bsName
std::string bsName
Definition: BPHWriteSpecificDecay.h:86
BPHWriteSpecificDecay::massMax
Definition: BPHWriteSpecificDecay.h:129
RefCountedKinematicVertex.h
BPHWriteSpecificDecay::daughMap
std::map< const BPHRecoCandidate *, const BPHRecoCandidate * > daughMap
Definition: BPHWriteSpecificDecay.h:187
BPHWriteSpecificDecay::pVertexToken
BPHTokenWrapper< std::vector< reco::Vertex > > pVertexToken
Definition: BPHWriteSpecificDecay.h:59
BPHWriteSpecificDecay::usePC
bool usePC
Definition: BPHWriteSpecificDecay.h:74
BPHWriteSpecificDecay::pfCandsLabel
std::string pfCandsLabel
Definition: BPHWriteSpecificDecay.h:50
KinematicState::mass
ParticleMass mass() const
Definition: KinematicState.h:54
BPHWriteSpecificDecay::lB0
std::vector< BPHRecoConstCandPtr > lB0
Definition: BPHWriteSpecificDecay.h:181
BPHWriteSpecificDecay::useL0
bool useL0
Definition: BPHWriteSpecificDecay.h:77
BPHWriteSpecificDecay::mPhiMin
Definition: BPHWriteSpecificDecay.h:122
BPHWriteSpecificDecay::lBc
std::vector< BPHRecoConstCandPtr > lBc
Definition: BPHWriteSpecificDecay.h:183
BPHWriteSpecificDecay::sdName
std::string sdName
Definition: BPHWriteSpecificDecay.h:82
BPHWriteSpecificDecay::kSCandsLabel
std::string kSCandsLabel
Definition: BPHWriteSpecificDecay.h:55
BPHWriteSpecificDecay::beginJob
void beginJob() override
Definition: BPHWriteSpecificDecay.cc:272
BPHWriteSpecificDecay::constrMJPsi
Definition: BPHWriteSpecificDecay.h:135
BPHWriteSpecificDecay::parType
parType
Definition: BPHWriteSpecificDecay.h:115
BPHWriteSpecificDecay::writeBc
bool writeBc
Definition: BPHWriteSpecificDecay.h:166
BPHWriteSpecificDecay::pcCandsToken
BPHTokenWrapper< std::vector< BPHTrackReference::candidate > > pcCandsToken
Definition: BPHWriteSpecificDecay.h:63
Ref.h
edm::OrphanHandle
Definition: EDProductfwd.h:39
BPHPlusMinusCandidate.h
BPHWriteSpecificDecay::writeK0s
bool writeK0s
Definition: BPHWriteSpecificDecay.h:162
BPHWriteSpecificDecay::writeLambda0
bool writeLambda0
Definition: BPHWriteSpecificDecay.h:163
BPHWriteSpecificDecay::lJPsi
std::vector< BPHPlusMinusConstCandPtr > lJPsi
Definition: BPHWriteSpecificDecay.h:173
BPHWriteSpecificDecay::probMin
Definition: BPHWriteSpecificDecay.h:130
BPHWriteSpecificDecay::constrMass
Definition: BPHWriteSpecificDecay.h:133
BPHWriteSpecificDecay::lL0
std::vector< BPHPlusMinusConstCandPtr > lL0
Definition: BPHWriteSpecificDecay.h:180
BPHWriteSpecificDecay::lSd
std::vector< BPHRecoConstCandPtr > lSd
Definition: BPHWriteSpecificDecay.h:174
T
long double T
Definition: Basic3DVectorLD.h:48
BPHWriteSpecificDecay::mK0sMin
Definition: BPHWriteSpecificDecay.h:124
BPHWriteSpecificDecay::usePM
bool usePM
Definition: BPHWriteSpecificDecay.h:71
BPHWriteSpecificDecay::mFitMax
Definition: BPHWriteSpecificDecay.h:132
BPHPlusMinusCandidate::isCowboy
bool isCowboy() const
get cowboy/sailor classification
Definition: BPHPlusMinusCandidate.cc:122
BPHWriteSpecificDecay::useLS
bool useLS
Definition: BPHWriteSpecificDecay.h:79
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
BPHWriteSpecificDecay::Ups1
Definition: BPHWriteSpecificDecay.h:100
BPHAnalyzerWrapper
Definition: BPHAnalyzerTokenWrapper.h:53
BPHRecoCandidate.h
BPHWriteSpecificDecay::jPsiOMap
std::map< const BPHRecoCandidate *, const BPHRecoCandidate * > jPsiOMap
Definition: BPHWriteSpecificDecay.h:186
BPHWriteSpecificDecay::ptMin
Definition: BPHWriteSpecificDecay.h:116
BPHWriteSpecificDecay::Bu
Definition: BPHWriteSpecificDecay.h:105
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
EventSetup.h
BPHWriteSpecificDecay::recoPkk
bool recoPkk
Definition: BPHWriteSpecificDecay.h:145
BPHWriteSpecificDecay::rMap
std::map< std::string, recoType > rMap
Definition: BPHWriteSpecificDecay.h:138
BPHWriteSpecificDecay::BPHWriteSpecificDecay
BPHWriteSpecificDecay(const edm::ParameterSet &ps)
Definition: BPHWriteSpecificDecay.cc:56
BPHWriteSpecificDecay::mPsiMin
Definition: BPHWriteSpecificDecay.h:118
BPHWriteSpecificDecay::vertex_ref
edm::Ref< std::vector< reco::Vertex > > vertex_ref
Definition: BPHWriteSpecificDecay.h:188
list
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*", "!HLTx*" if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL. It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of "!*" before the partial wildcard feature was incorporated). Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run
BPHWriteSpecificDecay::lX3872
std::vector< BPHRecoConstCandPtr > lX3872
Definition: BPHWriteSpecificDecay.h:184
BPHWriteSpecificDecay::lBu
std::vector< BPHRecoConstCandPtr > lBu
Definition: BPHWriteSpecificDecay.h:176
ParameterSet.h
BPHWriteSpecificDecay::k0Name
std::string k0Name
Definition: BPHWriteSpecificDecay.h:87
KinematicState::kinematicParameters
KinematicParameters const & kinematicParameters() const
Definition: KinematicState.h:61
RefCountedKinematicParticle.h
BPHRecoCandidate
Definition: BPHRecoCandidate.h:46
BPHWriteSpecificDecay::endJob
void endJob() override
Definition: BPHWriteSpecificDecay.cc:1283
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
BPHWriteSpecificDecay::patMuonLabel
std::string patMuonLabel
Definition: BPHWriteSpecificDecay.h:48
BPHWriteSpecificDecay::Bc
Definition: BPHWriteSpecificDecay.h:112
BPHWriteSpecificDecay::bdName
std::string bdName
Definition: BPHWriteSpecificDecay.h:85
edm::Event
Definition: Event.h:73
BPHWriteSpecificDecay::recoB0
bool recoB0
Definition: BPHWriteSpecificDecay.h:151
BPHWriteSpecificDecay::mLambda0Max
Definition: BPHWriteSpecificDecay.h:127
BPHWriteSpecificDecay::Psi1
Definition: BPHWriteSpecificDecay.h:97
BPHWriteSpecificDecay::writeB0
bool writeB0
Definition: BPHWriteSpecificDecay.h:164
BPHWriteSpecificDecay::lBd
std::vector< BPHRecoConstCandPtr > lBd
Definition: BPHWriteSpecificDecay.h:177
reco::Vertex
Definition: Vertex.h:35
BPHWriteSpecificDecay::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: BPHWriteSpecificDecay.cc:217
BPHWriteSpecificDecay::writeMomentum
bool writeMomentum
Definition: BPHWriteSpecificDecay.h:170
BPHWriteSpecificDecay::lBs
std::vector< BPHRecoConstCandPtr > lBs
Definition: BPHWriteSpecificDecay.h:178
BPHWriteSpecificDecay::writeBs
bool writeBs
Definition: BPHWriteSpecificDecay.h:161