1 |
ahart |
1.1 |
#ifndef STOP_CTAU_WEIGHT
|
2 |
|
|
|
3 |
|
|
#define STOP_CTAU_WEIGHT
|
4 |
|
|
|
5 |
|
|
#include <iostream>
|
6 |
|
|
#include <cmath>
|
7 |
|
|
#include <string>
|
8 |
|
|
|
9 |
|
|
#include "FWCore/Framework/interface/Event.h"
|
10 |
|
|
#include "DataFormats/Common/interface/Handle.h"
|
11 |
|
|
|
12 |
|
|
#include "OSUT3Analysis/AnaTools/interface/BNstop.h"
|
13 |
|
|
|
14 |
|
|
using namespace std;
|
15 |
|
|
|
16 |
|
|
class StopCTauWeight
|
17 |
|
|
{
|
18 |
|
|
public:
|
19 |
|
|
StopCTauWeight () {};
|
20 |
|
|
StopCTauWeight (double, double);
|
21 |
|
|
StopCTauWeight (double, double, edm::InputTag);
|
22 |
|
|
~StopCTauWeight ();
|
23 |
|
|
double operator[] (const BNstopCollection &stops);
|
24 |
|
|
double at (const BNstopCollection &stops) { return (*this)[stops]; };
|
25 |
|
|
double operator[] (const edm::Event &event);
|
26 |
|
|
double at (const edm::Event &event) { return (*this)[event]; };
|
27 |
|
|
void setCurrentCTau (double currentCTau) { currentCTau_ = currentCTau; };
|
28 |
|
|
void setTargetCTau (double targetCTau) { targetCTau_ = targetCTau; };
|
29 |
|
|
|
30 |
|
|
private:
|
31 |
|
|
double currentCTau_;
|
32 |
|
|
double targetCTau_;
|
33 |
|
|
edm::InputTag stops_;
|
34 |
|
|
};
|
35 |
|
|
|
36 |
|
|
#endif
|