1 |
loizides |
1.1 |
// $Id: $
|
2 |
|
|
|
3 |
|
|
#include "MitEdm/DataFormats/interface/BasePartAction.h"
|
4 |
|
|
#include "MitEdm/DataFormats/interface/BasePart.h"
|
5 |
|
|
#include "MitEdm/DataFormats/interface/DecayPart.h"
|
6 |
|
|
#include "MitEdm/DataFormats/interface/StablePart.h"
|
7 |
|
|
#include <iostream>
|
8 |
|
|
|
9 |
|
|
using namespace mitedm;
|
10 |
|
|
|
11 |
|
|
//------------------------------------------------------------------------------
|
12 |
|
|
// Constructor
|
13 |
|
|
//------------------------------------------------------------------------------
|
14 |
|
|
BasePartAction::BasePartAction(ActionType AType) :
|
15 |
|
|
actionType_(AType),
|
16 |
|
|
level_ (0)
|
17 |
|
|
{
|
18 |
|
|
}
|
19 |
|
|
|
20 |
|
|
//------------------------------------------------------------------------------
|
21 |
|
|
// Destructor
|
22 |
|
|
//------------------------------------------------------------------------------
|
23 |
|
|
BasePartAction::~BasePartAction()
|
24 |
|
|
{
|
25 |
|
|
}
|
26 |
|
|
|
27 |
|
|
//------------------------------------------------------------------------------
|
28 |
|
|
// Handle Generic Particles
|
29 |
|
|
//------------------------------------------------------------------------------
|
30 |
|
|
void BasePartAction::doAction(const BasePart *part)
|
31 |
|
|
{
|
32 |
|
|
// Just override me
|
33 |
|
|
}
|