Skip to content

Instantly share code, notes, and snippets.

View andrey-popov's full-sized avatar

Andrey Popov andrey-popov

View GitHub Profile
/**
* Program performs the baseline event selection and saves information to evaluate performance of
* the jet-assignment procedures.
*/
#include <ValidateRecoTHPlugin.hpp>
#include <ValidateRecoTTbarPlugin.hpp>
#include <JetPtFilterPlugin.hpp>
#include <MetFilterPlugin.hpp>
from copy import deepcopy
from CRABAPI.RawCommand import crabCommand
class Sample:
""" A simple auxiliary class to aggregate information about a dataset
"""
def __init__(self, requestName, datasetName, outputName):
self.requestName = requestName
self.datasetName = datasetName
self.outputName = outputName
/**
* An example of looping over combinations. Can be compiled with
* g++ -std=c++11 permutations.cpp -o permutations
*/
#include <iostream>
#include <deque>
#include <algorithm>